github GetDKAN/dkan 2.5.0

latest releases: 2.18.3, 2.18.1, 2.18.0...
3 years ago

Release Notes

What's new:

  • File Revisions
    The Resource class now helps model other properties necessary for other systems like the Drupal::metastore::ResourceMapper and Drupal::datastore::Service::ResourceLocalizer to enhance DKAN's capabilities around resources.

    These properties are version and perspective.

    • Versions are, simply, a unique "string" used to represent changes in a resource. For example, when new data is added to a file/resource a new version of the resource should be created.
    This class does not have any functionality that keeps track of changes in resources, it simply models the behavior to allow other parts of the system to create new versions of resources when they deem it necessary.

    • Perspectives are useful to represent clusters of connected resources.
    For example, a CSV file might also have an API endpoint that makes the data available. In this circumstance we could create the API endpoint resource as a new perspective of the file resource to make the system aware of the new resource, the API endpoint, and maintain the relatioship between the 2 resources.

  • Harvest status results
    Wondering why your harvest only generated half of the datasets you expected? No need to dig into the database run logs, instead run drush dkan:harvest:status {harvest id} to see which datasets failed and why.

  • Frontend
    Improved tests and bug fixes. Updates in data-catalog-components and data-catalog-app allow easier overrides to the styling of the components.

How to upgrade:

  • Frontend: If you have not made customizations to /src/frontend you can simply delete the frontend directory and git clone data-catalog-app to take it's place.

Changelog

  • #3104 Replace FileHelper with ResourceMapper.
  • #3194 Allow logger name to be changed in the LoggerTrait .
  • #3196 Documentation updates.
  • #3161 Revise data files and metadata in the sample data module.
  • #3199 Add automation to move new issues to the triage board.
  • #3217 Update default front end app tag on composer.json.
  • #3216 Fix typo in function name.
  • #3205 Add git issue and pull request templates.
  • #3221 Log if duplicate headers are found.
  • #3227 Unpublish rather than delete orphan references.
  • #3198 Fix undefined class constant when attempting drush dkan:datastore:drop.
  • #3224 Update frontend app version, restore frontend tests.
  • #3174 Upgrade admin toolbar 2.3
  • #3204 Add dkan:harvest:status drush command
  • #3223 Use local DKAN in CircleCI
  • #3229 Remove duplicate drush entry in composer.json
  • #3209 Giving more info to the user in the datastore/imports endpoint
  • #3238 Remove leaked references from different displays, bring back %modified

Don't miss a new dkan release

NewReleases is sending notifications on new releases.