github GetDKAN/dkan 2.21.0

22 hours ago

Important

This release introduces several breaking changes to composer dependencies and the datastore API. See below for upgrade instructions.

Upgrade guide

  1. composer.json: Ensure that your project root composer.json includes npm-asset/select2 and oomphinc/composer-installers-extender in the require section, and asset-packagist in the repositories section. See #4546 and the select2 readme for more information, or see this project template for an example. If you omit the npm-asset/select2 dependency, your project should still build, but your metadata forms may break.
  2. select2: You must require the development branch of select2 at a more recent commit than select2/select2#6332. There is unfortunately no stable release that is compatible with current versions of Drupal. This means that projects using DKAN must have minimum stability of dev in their composer files (or else omit the select2 library dependency and avoid using select2 on your forms).
  3. API change: Using "limit": 0 in a datastore query to get around the row limit in the datastore query endpoints will no longer work, and will produce a JSON validation error. Please update any frontend or third-party code. The only way to download a full result set from the datastore, without being affected by the row limit setting, is to use one of the download endpoints and consume the entire result as a CSV.
  4. Config: If you save your project configuration to code, be sure to capture the changes to core.entity_form_display.node.data.default.yml as there has been an update to the JSON form plugin.

What's Changed

Full Changelog: 2.20.9...2.21.0

Don't miss a new dkan release

NewReleases is sending notifications on new releases.