Releases: geonetwork/geonetwork-ui
v2.9.0
Welcome to the 2.9.0 release of GeoNetwork-UI!
This release takes DataHub deployments to the next level by offering the entire application as a webcomponent, allowing for seamless integration into any website.
We’ve strengthened DataHub’s ecosystem integration: you can now launch datasets in MapStore with transparency preserved or jump directly into the Metadata-Editor for quick updates.
We’ve also updated the UI to ensure all thumbnails now maintain a consistent square aspect ratio.
The search experience has also been enhanced, now defaulting to relevancy-based sorting whenever a user enters a query.
Our main contributors on this release are Géo2France, Métropole Européenne de Lille, INRAE, Département de l'Isère and DataGrandEst.
What's Changed
New features
Datahub
- [Datahub] Add WMS style selector in map preview by @ronitjadhav in #1497
- [Datahub]: open editor from template url by @LHBruneton-C2C in #1529
Webcomponent
- Introduce a Datahub webcomponent by @jahow in #1511
- Fix to the API path used in the
gn-datahubweb component by @jahow in #1539 - [Webcomponents] Correctly initialize UI language used in
gn-datahubby @jahow in #1542
Fixes and improvements
- [Package]: export records repository interface by @LHBruneton-C2C in #1455
- Sort by relevancy on user query input by @LHBruneton-C2C in #1495
- Better limits on OGC API Features URLs - get dataset by @LHBruneton-C2C in #1510
- Update Thumbnail Sizes and Positions by @ronitjadhav in #1521
- Don't reject on first error when getting feature types by @LHBruneton-C2C in #1527
- Better limits on OGC API Features URLs - download links by @LHBruneton-C2C in #1528
- Export common domain model - GPF API DL BREAKING CHANGE by @LHBruneton-C2C in #1550
Datahub
- [Datahub]: add presentation form to autocomplete payload by @LHBruneton-C2C in #1454
- [Datahub]: Search only once in fuzzy autocomplete by @LHBruneton-C2C in #1461
- [Datahub]: reuse and website icon alignment by @LHBruneton-C2C in #1470
- [DataHub]: Support search by reuse without cl_presentationForm by @LHBruneton-C2C in #1465
- [Datahub]: Show STAC tab only if items link by @LHBruneton-C2C in #1472
- [Datahub]: get first json format for ogc features download by @LHBruneton-C2C in #1474
- [Datahub]: Reformat html to keep only one space in header date by @LHBruneton-C2C in #1482
- translations - CORS error message made clearer by @fvanderbiest in #1453
- [Datahub]: use contactsForResource on reuse too by @LHBruneton-C2C in #1493
- [Datahub] Add ability to disable default search presets by @ronitjadhav in #1509
- [Datahub] Keep Y-axis dropdown visible but disabled when aggregation is "count" by @ronitjadhav in #1514
- [Datahub] WMS transparency support via ${mime_type} in external viewer URL template and format support in internal map viewer by @ronitjadhav in #1505
- [Datahub] Disable aggregation field when no numeric columns and fix Y axis alignment by @ronitjadhav in #1538
- [Datahub] Preserve direct download files with same name but different URLs by @ronitjadhav in #1535
Metadata-Editor
- [Editor]: set configuration from facade by @LHBruneton-C2C in #1483
- [Metadata-Editor]: title update on change by @LHBruneton-C2C in #1496
- Remove static favicon to let config default.toml set it by @jeanmi151 in #1513
Webcomponents
- Filter results in search and results wc by @maxcollombin in #1458
- Fix search and results wc records catalog redirection by @maxcollombin in #1433
- [Webcomponent]: correctly build link from npm dev version by @LHBruneton-C2C in #1494
Documentation
- Documentation: update custom-app.md by @LHBruneton-C2C in #1468
- Documentation: ElasticSearch by @LHBruneton-C2C in #1469
- docs: classification system by @LHBruneton-C2C in #1490
- Use the Doc website to showcase Web Components & Standalone Search by @jahow in #1499
- Docs: fix config file missing by @jahow in #1522
- [Documentation]: search preset updates by @LHBruneton-C2C in #1526
Security updates
- chore(deps): bump immutable from 5.1.4 to 5.1.5 by @dependabot[bot] in #1500
- chore(deps): bump svgo from 3.3.2 to 3.3.3 by @dependabot[bot] in #1501
- chore(deps): bump tar and @angular/cli by @dependabot[bot] in #1502
- chore(deps): bump storybook from 9.1.17 to 9.1.19 by @dependabot[bot] in #1492
- chore(deps-dev): bump basic-ftp from 5.0.5 to 5.2.0 by @dependabot[bot] in #1491
- chore(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 by @dependabot[bot] in #1473
- chore: remove axios dependency by @jahow in #1536
Breaking change
The previously exported TermBucket interface from libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts has been renamed to GpfApiDlTermBucket to be more specific and not overlap with the newly exported TermBucket interface from libs/common/domain/src/lib/model/search/aggregation.model.ts.
New configuration keys
# Optional; URL template allowing opening datasets in an editor; if set, applications such as the Datahub will offer a button in the header to open the currently-viewed dataset in an editor.
# The template must include the following placeholders, which allow applications to inject the correct values when generating the final URL:
# ${record_id}: identifier of the record
# Example for an integration with the Metadata-Editor:
# edit_url_template = "/metadata-editor/edit/${record_id}"
# Optional; if true, the default pre-configured searches ("The latest" and "The most popular")
# will not be shown under the main search bar. Defaults to false.
# do_not_use_default_search_preset = false
New ${mime_type} placeholder in external_viewer_url_template
# The template must include the following placeholders, which allow the datahub to inject the correct values when adding a layer to a viewer:
# ${service_url}: URL of the OWS or geojson file
# ${service_type}: Type of the OWS or geojson file; currently supported WMS, WFS, GEOJSON
# ${layer_name}: Name of the layer
# ${mime_type}: Preferred image format for WMS layers; resolves to image/png for WMS layers backed by vector data (WFS), image/jpeg otherwise; empty for non-WMS layers
# Be careful to use englobing single quotes, if your template syntax includes JSON (with double quotes)
# Examples:
# mapfishapp template:
# external_viewer_url_template = 'https://dev.geo2france.fr/mapfishapp/?owsurl=${service_url}&layername=${layer_name}&owstype=${service_type}Layer'
# mapstore template
# external_viewer_url_template = 'https://dev.geo2france.fr/mapstore/#/?actions=[{"type":"CATALOG:ADD_LAYERS_FROM_CATALOGS","layers":["${layer_name}"],"sources":[{"url":"${service_url}","type":"${service_type}"}],"options":[{"format":"${mime_type}"}]}]'
New Contributors
- @jeanmi151 made their first contribution in #1513
Full Changelog: v2.8.0...v2.9.0
v2.8.3
The 2.8.3 completes the removal of 10.000 limit when mapping download links for OGC API Features services.
It also backports an improvement on thumbnail sizes, making sure they are displayed everywhere with the same square ratio.
What's Changed
- [2.8.x] Merge pull request #1494 from geonetwork/custom-app-npm-dev-tag-wc-link by @LHBruneton-C2C in #1524
- [2.8.x] Merge pull request #1528 from geonetwork/dh-download-links-ogc-api-download-limit by @github-actions[bot] in #1531
- [2.8.x] Merge pull request #1521 from geonetwork/thumbnail-square-ratio by @github-actions[bot] in #1547
Full Changelog: v2.8.2...v2.8.3
v2.8.2
The 2.8.2 is fixing two small bugs:
- display the correct contact for reuse records
- remove the 10.000 limit when downloading items from OGC API Features
What's Changed
- [2.8.x] Merge pull request #1493 from geonetwork/dh-reuse-contacts-for-resource by @github-actions[bot] in #1506
- [2.8.x] Merge pull request #1510 from geonetwork/dh-table-view-ogc-api-items-limit by @github-actions[bot] in #1520
Full Changelog: v2.8.1...v2.8.2
v2.7.4
What's Changed
- [2.7.x] Merge pull request #1474 from geonetwork/dh-dataviz-download-ogc-features-first-json-format by @github-actions[bot] in #1478
Full Changelog: v2.7.3...v2.7.4
v2.8.1
The 2.8.1 release is fixing two bugs introduced with the new support of cl_presentationForm to classify some datasets and documents as reuse.
It also brings small improvements on the UI, reduces search requests sent, and implements the same format ordering when downloading from an OGC API Features service as from a WFS service.
What's Changed
- [2.8.x] Merge pull request #1454 from geonetwork/dh-reuse-presentation-form-fuzzy-search by @github-actions[bot] in #1462
- [2.8.x] Merge pull request #1465 from geonetwork/dh-reuse-search-presentation-form-optional by @github-actions[bot] in #1475
- [2.8.x] Merge pull request #1472 from geonetwork/dh-stac-tab-only-if-useful by @github-actions[bot] in #1476
- [2.8.x] Merge pull request #1461 from geonetwork/autocomplete-share-replay-one-clear-input by @github-actions[bot] in #1477
- [2.8.x] Merge pull request #1474 from geonetwork/dh-dataviz-download-ogc-features-first-json-format by @github-actions[bot] in #1479
Full Changelog: v2.8.0...v2.8.1
v2.8.0
Description
Welcome to the 2.8.0 release of GeoNetwork-UI!
This release brings forth many new features and improvements. The project as a whole has been migrated to Angular 20. There was some improvement work on SEO, eco-index and the mobile version of the Datahub. The documents will now be properly supported by the classification system as dataset or reuse. And last but not least, datasets with online resources detected as STAC Items will now offer a preview of said items.
Our main contributors on this release are Métropole Européenne de Lille, INRAE, Département de l'Isère, DataGrandEst, GeoRhena and Géo2France.
To be noted: the npm package for 2.8.0 is available, but not tagged as latest due to some limitations in recent updates on NPM tokens usage. You can still install geonetwork-ui@2.8.0, but geonetwork-ui@latest will point to an older version until this is fixed.
What's Changed
New Features
Datahub
- [Datahub] Add support for PostGIS database table links by @ronitjadhav in #1378
- [Datahub] Add DOI display to metadata records by @ronitjadhav in #1402
- Datahub: Handle resource type document by @tkohr in #1415
- Datahub: Add xml to recognized formats by @tkohr in #1420
- [Datahub] Improve page title display by @AlitaBernachot in #1129
STAC
- [Datahub]: Handle STAC protocol by @AlexianMasson in #1386
- feat: handle stac protocol via a stac items regex /stac\W*items/i by @AlexianMasson in #1395
- [Datahub]: Add STAC tab for dataset preview by @AlexianMasson in #1392
- [Datahub]: Add temporal filter UI to STAC view component by @AlexianMasson in #1397
- [Datahub]: Add STAC items results grid by @tkohr in #1400
- [Datahub]: Add interactive map filter to STAC viewer by @AlexianMasson in #1403
Webcomponents
- [Webcomponents]: add support for proxy path by @LHBruneton-C2C in #1379
Fixes and improvements
- Bump ogc-client to 1.3.1-dev.edb3244 by @LHBruneton-C2C in #1372
- [Doc]: command to add npm latest tag by @LHBruneton-C2C in #1370
- Use
prepareExternalUrlinAuthServiceto handle application base href by @f-necas in #1376 - NPM package: Export platform.service.interface by @tkohr in #1388
- chore(deps): bump typeorm from 0.3.20 to 0.3.27 by @dependabot[bot] in #1401
- chore(deps): bump @messageformat/runtime from 3.0.1 to 3.0.2 by @dependabot[bot] in #1399
- chore(deps): bump vite from 5.4.20 to 5.4.21 by @dependabot[bot] in #1385
- chore(deps): bump undici from 5.28.5 to 5.29.0 by @dependabot[bot] in #1246
- Remove unused elastic search field by @LHBruneton-C2C in #1408
- Update Angular 20 by @LHBruneton-C2C in #1414
- Update GML32 import path to include .js extension by @LHBruneton-C2C in #1434
- Enhance nginx configuration for caching and gzip by @f-necas in #1394
- Proposal for translations into German by @GeoRhena in #1436
- Add .js extensions to all ol imports by @LHBruneton-C2C in #1435
- Add some doc on support services by @tkohr in #1441
- Upgrade geospatial-sdk to ESM valid version by @LHBruneton-C2C in #1445
- chore(deps): bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in #1416
- chore(deps-dev): bump mdast-util-to-hast from 13.2.0 to 13.2.1 by @dependabot[bot] in #1422
- chore(deps): bump express from 4.21.2 to 4.22.0 in /package by @dependabot[bot] in #1424
- chore(deps): bump express from 4.21.2 to 4.22.0 by @dependabot[bot] in #1425
- chore(deps): bump @modelcontextprotocol/sdk and @angular/cli by @dependabot[bot] in #1430
- chore(deps): bump storybook from 9.1.9 to 9.1.17 by @dependabot[bot] in #1442
- [Datahub]: Make the header nav menu act the same for mobile as desktop by @LHBruneton-C2C in #1448
Datahub
- [Datahub]: clean feature catalog unnecessary code by @LHBruneton-C2C in #1363
- [Datahub] Make dataset no-link banner less aggressive by @ronitjadhav in #1361
- [Datahub]: Hide keywords when there are too many of them. by @cmoinier in #1330
- Datahub: Display and sort by resource date by @tkohr in #1373
- [Datahub]: show metadata details panel if content by @LHBruneton-C2C in #1384
- [Datahub]: add proxy path to data view share by @LHBruneton-C2C in #1396
- [Datahub] Add SRSNAME parameter to WFS 1.1.0 and 2.0.0 download links for correct projection by @ronitjadhav in #1393
- Humanize date displays with relative time formatting by @ronitjadhav in #1405
- Datahub: Fix storybook build by @tkohr in #1410
- [Datahub]: default dataviz if config error by @LHBruneton-C2C in #1413
- Datahub: Fix applying dataviz config by @tkohr in #1417
- [Dataviz]: Never get null labels for chart by @LHBruneton-C2C in #1432
- Datahub: Fix related records display on mobile screens by @tkohr in #1440
Editor
- [Editor]: map first email address as email for users by @LHBruneton-C2C in #1371
Webcomponents
- [Webcomponents]: set selectedView to map for map-view as wc by @LHBruneton-C2C in #1377
- [Webcomponents]: fix settings and user api services by @LHBruneton-C2C in #1382
- update setup instruction to apps/webcomponents/README.md by @maxcollombin in #1423
E2E
- [e2e][Webcomponents]: same tests as original components by @LHBruneton-C2C in #1404
- Attempt at making Metadata Editor E2E tests faster & more reliable by @jahow in #1409
Breaking change
The Datahub now supports online resources of type XML. It was previously supporting only GML. As the two formats are not always clearly distinct (GeoServer will serve GML with a mime-type as XML for example), some resources previously displayed as GML might now be displayed as XML.
New translation keys
There are many new translations keys in this release. You can find the exact list when browsing to the changelog and searching en.json.
New Contributors
- @AlexianMasson made their first contribution in #1386
- @maxcollombin made their first contribution in #1423
- @GeoRhena made their first contribution in #1436
Full Changelog: v2.7.0...v2.8.0
v2.7.3
The 2.7.3 release
- makes the
PlatformServiceInterfaceavailable in the npm package - adds a minor fix to prevent console errors for dataviz configs without a chart config
What's Changed
Full Changelog: v2.7.2...v2.7.3
v2.7.2
The 2.7.2 release is fixing two bugs on the webcomponents and one in the authentication service:
- maps are now correctly displayed in the map view webcomponent
- the GeoNetwork version is correctly fetched from the webcomponents
- the redirect URL is correctly computed, taking into account the application base href
What's Changed
- [2.7.x] Merge pull request #1377 from geonetwork/wc-map-view-without-dataviz-config by @github-actions[bot] in #1380
- [2.7.x] Merge pull request #1376 from geonetwork/remove-location by @github-actions[bot] in #1381
- [2.7.x] Merge pull request #1382 from geonetwork/wc-system-platform-version by @github-actions[bot] in #1383
Full Changelog: v2.7.1...v2.7.2
v2.7.1
The 2.7.1 release is backporting a bump in ogc-client dev version, as the previously used version was not handling correctly errors fallback.
What's Changed
- [2.7.x] Merge pull request #1372 from geonetwork/dh-geoserver-ogc-api-support-2 by @github-actions[bot] in #1374
Full Changelog: v2.7.0...v2.7.1
v2.7.0
What's Changed
This new releases brings forth many fixes and improvements, and a few new features:
- It's now possible to save a preview configuration from a dataset page in the Datahub (admin or record owner)
- Several improvements have been worked on to simplify the Datahub pages complexity (eco-index)
- The Editor now displays the quality score, to help the users fill in the most descriptive metadata fields
- The Editor now supports the edition of the topics, to allow a 100% score on a dataset record
Thanks to DataGrandEst for funding these new features!
New features
Datahub
- [Datahub] Declare a reuse on datahub by @Guillaume-d-o in #1285
- [Datahub] : Read preview configuration by @cmoinier in #1278
- Special characters in dataviz config retrieval by @Guillaume-d-o in #1305
- [Datahub]: Preview section - build components only when triggered by @cmoinier in #1338
- [FIX]: Map view taking over Dataviz conf view by @cmoinier in #1342
- [Datahub]: GeoServer OGC API support by @LHBruneton-C2C in #1354
Editor
- [Editor] Display quality score widget in top bar editor by @AlitaBernachot in #1290
- Editor: Add metadata quality panel by @tkohr in #1292
- Editor: keep hidden fields as part of the score system by @LHBruneton-C2C in #1298
- [Metadata-Editor] inconsistent score with Datahub by @Guillaume-d-o in #1327
- [Editor]: Edit the INSPIRE themes by @cmoinier in #1328
- [Editor]: Theme section - replace search input by multiselect dropdown by @cmoinier in #1349
- [Editor]: change inspire themes to topics by @LHBruneton-C2C in #1366
- [Editor]: fix fr plural typo by @LHBruneton-C2C in #1369
Fixes and improvements
- Synchronize dependencies in NPM package by @LHBruneton-C2C in #1316
- chore(deps): bump on-headers and compression by @dependabot[bot] in #1289
- chore(deps): bump form-data from 4.0.1 to 4.0.4 by @dependabot[bot] in #1291
- chore(deps): bump multer and @nestjs/platform-express by @dependabot[bot] in #1322
- chore(deps): bump sha.js from 2.4.11 to 2.4.12 by @dependabot[bot] in #1331
- chore(deps): bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in #1345
- chore(deps): bump axios from 1.8.4 to 1.12.0 by @dependabot[bot] in #1350
- chore(deps): bump axios from 1.8.4 to 1.12.0 in /package by @dependabot[bot] in #1357
- Convert remaining components to standalone by @cmoinier in #1347
Datahub
- stop display feature catalog code in list and change size to be better by @Guillaume-d-o in #1282
- [Datahub] correct mapping for planned and required by @Guillaume-d-o in #1293
- [Datahub] fix special characters et queryparam by @Guillaume-d-o in #1296
- Datahub: Fix TMS display without style by @tkohr in #1299
- [Datahub] : Do not build elements from other screen sizes by @cmoinier in #1300
- feat(datahub): ask same fields for related records as in search by @LHBruneton-C2C in #1304
- Datahub: Fix TMS display WITH style by @tkohr in #1303
- [Datahub] Manage number of dataset displayed by @Guillaume-d-o in #1297
- Better spatial query by @jahow in #1309
- DH: translate api card protocol by @LHBruneton-C2C in #1315
- Datahub : Remove capabilities check from quality score by @cmoinier in #1320
- [Datahub]: Fix organizations with slash by @cmoinier in #1319
- [Datahub] : Don't count empty legalConstraints in quality score calculation by @cmoinier in #1329
- [Datahub]: do not deselect a layer in service capabilities by @LHBruneton-C2C in #1335
- Adapt translations to new record kinds by @LHBruneton-C2C in #1337
- [Datahub] Wrong slash and comma behaviour for organizations by @Guillaume-d-o in #1334
- [Datahub]: Restore all links for reuse kind by @LHBruneton-C2C in #1343
- [Datahub]: Display userFeedbacks only when option is enabled in config by @cmoinier in #1340
- [Datahub]: download links fixes on errors by @LHBruneton-C2C in #1355
- [Datahub]: custom scroll handling for query param change only by @LHBruneton-C2C in #1344
- [Datahub] Add missing format support for PDF, ZIP, WEBP and TIFF resources display by @ronitjadhav in #1358
- [Datahub] Allow disabling auth-related functions in the Datahub by @ronitjadhav in #1353
- [Datahub]: make record kind selection as radio from the ui by @LHBruneton-C2C in #1362
- [Datahub]: add to remove from favorites label by @LHBruneton-C2C in #1364
- [Datahub]: do not display empty spatial extent for reuse by @LHBruneton-C2C in #1367
Editor
- feat: adapt height of metadata-editor when an element is added on top of md-editor-root by @f-necas in #1339
Tools - pipeline
- [Tools] Fix quality score pipeline by @cmoinier in #1288
- Tools pipeline: Fix quality score calculation for GN 4.2.2 by @tkohr in #1294
- Update tools-pipeline Dockerfile to add credentials by @f-necas in #1317
Webcomponents
- [Webcomponents] [Datahub] Fix map viewer and wc by @AlitaBernachot in #1287
- Standalone Search / Support changing metadata language after initialization by @jahow in #1326
Documentation
- docs: update by @LHBruneton-C2C in #1284
- datahub - doc for debugTranslations by @fvanderbiest in #1281
- moving explanation to right place by @Guillaume-d-o in #1311
- docs: new location for version by @LHBruneton-C2C in #1314
Breaking changes
The translation keys for the metadata quality widget have been reworked:
9895bd3#diff-6fca8a289be2fa658792936fc459e6e36e6fa56d9187da43c01ec491f9f8a6b5
The translation key "favorite.starToggle.label" has been changed to "favorite.starToggle.add".
Although it is not strictly speaking a "breaking change", the Datahub will no longer display the question/answer section if the user feedback is not activated on GeoNetwork. The section was not usable anyways in those conditions, but now it's not even displayed.
New configuration parameters
- limit
Optional; Indicates the number of elements per page ( datahub news, search, organization pages)
New translation keys
- record.metadata.userFeedbacks.authDisabled
- favorite.starToggle.remove
Full Changelog: v2.6.0...v2.7.0