Releases: GetDKAN/dkan
2.19.1
What's Changed
- Apply round of code quality improvements from Rector by @paul-m in #4038
- Remove deprecated modules/datastore/src/Service.php by @dafeder in #4188
- Search API integration - Property label and description by @stefan-korn in #4191
- Support PHP 8.3 by @paul-m in #4189
What's New
- Data Dictionary Data Types by @kaise-lafrai in #4173
Full Changelog: 2.19.0...2.19.1
2.19.0
Warning
What's Changed
Schema changes
This release will update any data dictionary content to move the title property to conform to the new data dictionary schema.
If you have customized your schema files:
You will need to make the same changes to your custom collection.
Also update the dataset.json distribution describedByType pattern and distribution.json describedByType pattern to
"pattern": "^[a-z\\/\\.\\+]+?$",
If you use the DKAN schema files as-is:
No action needed.
View changes
The DKAN content view has also been updated, existing sites should run drush cim --partial --source=modules/contrib/dkan/modules/metastore/modules/metastore_admin/config/install -y
to get the latest updates.
Note
What's New
This release introduces a new improved data dictionary form. This new form does not include the index definitions so to add or adjust indexes you will need to use the API.
If you are using the distribution reference option for data dictionaries you can also adjust your dataset.ui schema to turn the Distribution describedBy field into a select field that will list available data dictionaries for the user to choose from.
Additions
- Support choosing data dictionaries in dataset node form by @dafeder in #4067
- Data Dictionary Field Widget by @kaise-lafrai in #4138
- Add menu link to list of data dictionaries by @janette in #4160
- Include security vulnerability report process by @grugnog in #4165
- Add video to README by @janette in #4169
Fixes
- Fix misaligned import status dashboard by @paul-m in #4158
- Update dataset documentation by @varunity in #4162
- Use Drupal entity API for harvest_runs table, with refactor by @paul-m in #4144
- Redirect to data dictionary list after form submission by @janette in #4166
- Update the form alter in data dictionary widget to only target node_data_form by @janette in #4178
- Show 100% when import is done in info/dashboard. by @dafeder in #4181
- Remove psr/log from reimport command by @janette in #4184
- Allow null on getHarvestRunResult by @janette in #4182
Any issues or questions when upgrading
Let us know in the discussion here
New Contributors
Full Changelog: 2.18.3...2.18.4
2.18.3
Important
Previously when downloading filtered data results as a CSV file, the downloaded file included machine name column headers. With this release, all CSV downloads will use the full original headings from the source data file.
What's Changed
- Use original headers on csv downloads by @janette in #4143
- Flexible DateTime widget: Small UX improvement when clearing date by @stefan-korn in #4157
Full Changelog: 2.18.1...2.18.3
2.18.1
Additions
- Add test for harvest hashes by @paul-m in #4124
- Add css and js config objects to dkan_js_frontend by @dgading in #4151
Changes
- Convert harvest_id_hashes tables to Drupal entity API by @paul-m in #4110
- Use Drupal Entity API for harvest_plans table by @paul-m in #4040
- Deprecate LoggerTrait by @paul-m in #4140
- Use logger channel service rather than factory by @paul-m in #4148
Fixes
- Add helper to UploadOrLink element for saving multiple remote files by @tiffneybare in #4130
- json_form_widget throws deprecation messages in PHP 8.2 by @paul-m in #4129
- Add invalidateCacheTags to post_import queueworker by @janette in #4125
- #4134: Datasets view should only list nodes of type Data by @stefan-korn in #4135
- Handle bad plan IDs in Harvest REST API by @paul-m in #4139
- Return 400 if invalid run payload in Harvest API by @dafeder in #4145
- Fix failing CircleCI by @paul-m in #4141
- Fix sample_content by @paul-m in #4146
- Fix hash entity update fails by @paul-m in #4152
Full Changelog: 2.18.0...2.18.1
2.18.0
Important
- Support for PHP 7 and Drupal 9 have been dropped for 2.18.0. Please check the requirements documentation for the latest minimum requirements for DKAN.
What's Changed
- All info files should have the same core version requirement by @jastraat in #4117
- Drupal's RequestStack is deprecated by @paul-m in #4120
- EntityStorageInterface::loadRevision is deprecated by @paul-m in #4112
- JobStoreTest throws deprecation messages. by @paul-m in #4111
- Drupal 10.2 compatibility additions, exclude PHP 7 & Drupal 9 from testing matrix by @jastraat in #4099
- Add link to requirements on the README by @janette in #4123
- Use Drupal’s mime type guesser service to determine local mime type by @jastraat in #4122
- Update info.yml files to minimum Drupal 10 core. by @paul-m in #4128
Full Changelog: 2.17.1...2.18.0
2.17.1
Additions
- Create a search page using Drupal views by @tiffneybare in #4060
Changes
- Change minimum requirement for Drupal core to 9.5+ by @paul-m in #4113
- Officially deprecate original frontend module by @janette in #4105
Fixes
- Fix drush dkan:datastore:list by @paul-m in #4095
- Fix JsonPath error on dkan:datastore:drop-all by @paul-m in #4098
- Convert 03_harvest.spec.js to BTB by @paul-m in #4097
- QueryDownloadControllerTest throws deprecation error by @paul-m in #4104
- Use ReferenceLookup to determine if a resource is in use by @jastraat in #4093
- Support PHP 8.2 by @paul-m in #4085
- Convert resource map to Drupal Entity API by @paul-m in #4027
- Adapt to changes in ilbee/csv-response 1.2.0 by @paul-m in #4107
Full Changelog: 2.17.0...2.17.1
2.17.0
Important
- The import and localize queues have been separated.
- Support for PHP 7 and Drupal 9 will be dropped in 2.18.x
- If running a decoupled frontend be aware of updates happening on data catalog components and data catalog app
Changes
- Documentation updates by @janette in #4086
- Add sample content troubleshooting information to docs by @janette in #4088
- Use literal identifier for ImportJobStoreFactory by @paul-m in #4083
- Use literal identifier for FileFetcherJobStoreFactory by @paul-m in #4090
- Make FileFetcher a separate queue item by @paul-m in #4004
- Add troubleshooting information for sample content by @janette in #4088
Fixes
- #4075: Catch Guzzle Exception to avoid breaking harvest/dataset entry by @paul-m in #4084
- Ensure common module's config on update by @paul-m in #4078
- Replace ltrim with str_replace in json_form_widget by @janette in #4087
- Fix passing null to parameter 3 on handleStringElement by @janette in #4092
Full Changelog: 2.16.15...2.17.0
2.16.15
Additions
- More examples of how to do code blocks in docs by @dafeder in #4080
- Update dataset template to display page layout when view_mode == full by @janette in #4079
Changes
- JobStoreFactory determines table name by @paul-m in #4063
- Finalize filefetcher custom processor DX by @paul-m in #4074
Fixes
- Adjust edit workflow to be compatible with a default moderation state of draft. by @jastraat in #4002
Full Changelog: 2.16.14...2.16.15
2.16.14
Changes
- Allow select2 without entity reference (#4043) by @stefan-korn in #4044
- Update links to ddev-dkan add-on by @janette in #4058
- Mark API-oriented Cypress tests with by @paul-m in #4062
- Widget Router code documentation by @stefan-korn in #4071
- Switch from ...Uuid\Php to ...\Uuid\UuidInterface by @janette in #4065
Fixes
- Clean up leftover harvest data tables by @paul-m in #4049
- ImportInfo and ImportJob stores out of sync by @paul-m in #4050
- Fix a few typos in 'glossary' and 'how to add a dataset' documentation by @rovcase in #4072
- Harvest status page should reflect all harvests by @paul-m in #4048
New Contributors
Full Changelog: 2.16.13...2.16.14
2.16.13
Important
If you are using a custom dataset schema, and would like to start using the distribution reference option for data dictionaries, be sure to update your dataset and distribution schemas. The distribution > describedByType > pattern should be ^[a-z\\/\\.\\+]+?$
Additions
- Data dictionary capability for datasets by @dafeder in #4015
- Add dkan:datastore-reimport command by @paul-m in #3899
Changes
Fixes
- Issue #3839 - Disentangle harvest register and revert by @stefan-korn in #3958
- Use consistent naming conventions by @janette in #4032
- Documentation updates by @janette in #4039
- If no time set after preview node set default time by @dgading in #4046
- Use the latest published dataset revision when returning results for the datastore query endpoint by @jastraat in #4047
- FileFetcher should always reflect use-local-file config by @paul-m in #4035
Full Changelog: 2.16.12...2.16.13