Releases: GetDKAN/dkan
2.19.11
Fixes
- Moved cache tag invalidation from ImportQueueWorker to ImportService by @kaise-lafrai in #4345
- Add cache tag invalidation on datastore drop by @kaise-lafrai in #4351
- Remove 'Other' option from File Format select list for Dataset Distributions. by @beeyayjay in #4318
- Upgrade select_or_other to 4.2 by @janette in #4352
Full Changelog: 2.19.10...2.19.11
2.19.10
Changes
- #4330: Datastore MySQL import - Change some class members from private to protected by @stefan-korn in #4331
Fixes
- Validate pattern matching in StringHelper. by @beeyayjay in #4328
- Stop passing empty values to retrieveDownloadUrlFromResourceMapper by @janette in #4342
- Handle missing resource when dropping a datastore by @paul-m in #4343
Full Changelog: 2.19.9...2.19.10
2.19.9
What's Changed
- #4273: Datastore MySQL Import handles empty file incorrect (with a test) by @dmundra in #4293
- #4296: Typehint interfaces instead of concrete classes for some services by @stefan-korn in #4297
- #4300: Remove deprecated form class DkanSqlEndpointSettingsForm by @starsinmypockets in #4304
- #4291 Add mysql empty row removal option by @swirtSJW in #4292
- Update distribution description by @beeyayjay in #4299
- Move code of conduct to root directory by @janette in #4308
- README update by @janette in #4305
- Run fulltext index alters one at at time by @janette in #4288
- Add events for datastore pre-drop, drop, and import by @paul-m in #4312
- Include only CSV and TSV resources in import status dashboard by @beeyayjay in #4317
- Refactor datastore events to use DataResource with the event instead of id and version by @paul-m in #4322
- Data Dictionary Table Alter with Wide Columns (datastore_mysql_import) by @paul-m in #4303
- Set form title based on data node type by @janette in #4323
- Add option to drop datastore if there is an error on post_import by @janette in #4311
Full Changelog: 2.19.8...2.19.9
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