Skip to content

v2.9.0

Latest

Choose a tag to compare

@LHBruneton-C2C LHBruneton-C2C released this 21 Apr 13:55
· 48 commits to main since this release

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

Webcomponent

  • Introduce a Datahub webcomponent by @jahow in #1511
  • Fix to the API path used in the gn-datahub web component by @jahow in #1539
  • [Webcomponents] Correctly initialize UI language used in gn-datahub by @jahow in #1542

Fixes and improvements

Datahub

Metadata-Editor

Webcomponents

Documentation

Security updates

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

Full Changelog: v2.8.0...v2.9.0