Releases: GetDKAN/dkan
2.19.8
2.19.7
Fixes
- Fixes misalignment of import dashboard by @paul-m in #4270
- Fixes some HarvestCommand logging by @paul-m in #4269
- Make QueryDownLoadController constant available to extended classes. by @swirtSJW in #4277
- Use same sanitization when comparing properties by @janette in #4233
- DKAN-4278 Remove upload_or_link length validation by @swirtSJW in #4279
New Contributors
Full Changelog: 2.19.6...2.19.7
2.19.6
What's Changed
- Updated the data dictionary description field type to a textarea by @kaise-lafrai in #4231
- Change private methods to protected in WidgetRouter by @stefan-korn in #4229
- ProcessorMock is dead code by @paul-m in #4232
- Use Request in harvest WebServiceApi by @paul-m in #4235
- Some post_import messages should not be errors by @paul-m in #4234
- Add information about the differences in import options by @janette in #4240
- Update image source in dkan_metastore.rst by @dmundra in #4243
- Adds QueueRunnerTrait for consistency in testing + DRY by @paul-m in #4244
- Convert ResourcePurgerTest to BTB by @paul-m in #4246
- Convert DkanDocsTest to BTB by @paul-m in #4245
- Convert DatasetSpecificDocsTest to BTB by @paul-m in #4247
- Convert OnPreReferenceTest to BTB by @paul-m in #4249
- Convert OrphanCheckerTest to BTB by @paul-m in #4250
- Converts NodeDataTest to BTB by @paul-m in #4251
- Convert HideCurrentRevisionActionTest to BTB by @paul-m in #4252
- Update data dictionary docs by @janette in #4253
- Match view description to menu description by @janette in #4248
- Some tweaks to github templates by @dafeder in #4238
- Convert SearchTest to BTB by @paul-m in #4254
- Convert DkanStreamWrapperTest to KTB by @paul-m in #4255
- Update harvest plan id instructions by @janette in #4257
- Remove dependency on weitzman/drupal-test-traits by @paul-m in #4256
- Add Drupal 10.3 to testing matrix by @dafeder in #4263
- Add config for which column header to use on filtered csv downloads by @janette in #4261
Full Changelog: 2.19.5...2.19.6
2.19.5
Warning
Security Update
Security risk: Moderately critical
Some specific DKAN API requests parameters were not using the Drupal database API in some cases, allowing specially crafted requests to alter the query (SQL injection).
It is recommended that you upgrade your site as soon as possible.
What's Changed
- Referencer/Dereferencer logger error by @paul-m in #4217
- Expand checks and sanitization on db queries by @dafeder in #4227
Full Changelog: 2.19.4...2.19.5
2.19.4
Important
This release fixes a bug introduced to the dataset form in the last release that gives all textarea inputs a maxlength of 256 characters. This will likely cause problems for any "description" or similar fields. Recommend updating immediately if you have 2.19.3 in production.
What's Changed
- Pass empty array if no schema is found by @janette in #4211
- Unset maxlength in textarea by @dafeder in #4219
Full Changelog: 2.19.3...2.19.4
2.19.3
Warning
This release introduces a new permission that restricts access to DKAN Metastore settings. Users that previously had access to changing these settings may lose them until that permission is added to their user role after this update.
What's New
- New permission for administering metastore settings by @stefan-korn in #4209
- Allow for an empty option in select fields via schema by @stefan-korn in #4037
- Provide number widget in form by @stefan-korn and @dafeder in #4215
What's Changed
- Apply dictionary date formats on csv downloads when in reference mode by @janette in #4202
- Fix broken reference in OpenAPI spec, improve validation tests by @dafeder in #4201
- Skip the data dictionary when one does not exist by @janette in #4206
- Increase textfields maxlength by @stefan-korn and @dafeder in #4212
Full Changelog: 2.19.2...2.19.3
2.19.2
What's Changed
- Improved GitHub Issue Templates by @TheBoatyMcBoatFace in #4196
- Data dictionary form fields table is not mobile friendly by @dcgoodwin2112 in #4198
- Check if downloadURL isset before rendering by @dgading in #4197
What's new
Note that CSV downloads of datastore queries will now have a cache-control header with max-age one hour. This may affect how the site behaves when behind a CDN/reverse-proxy cache, hopefully for the better.
New Contributors
- @TheBoatyMcBoatFace made their first contribution in #4196
- @dcgoodwin2112 made their first contribution in #4198
Full Changelog: 2.19.1...2.19.2
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