Releases: GetDKAN/dkan
2.20.0
Important
Deprecation of DatastoreResource
This release deprecates the DatastoreResource class, and changes some public method signatures to expect the DataResource class, with which it was very redundant. As always make sure to run drush updatedb
(even though it will say no updates required). Any custom modules that integrate with DKAN's resources may need to be updated.
What's Changed
- Factor out DatastoreResource class by @dafeder in #4372
- Refactor Post Import Service by @kaise-lafrai in #4370
- Fix @Covers annotation by @paul-m in #4388
- Add DPG badge to README by @dafeder in #4389
- Fix issue with import statuses: hash ID for Import Jobstore by @dafeder in #4391
- Make Dataset route and View perms match. by @swirtSJW in #4396
Full Changelog: 2.19.13...2.20.0
2.19.13
Changes
- Provide text_format render element in JSON Form Widget by @stefan-korn in #4371
- Make response stream caching max-age a configuration by @zedmonds96 in #4348
- Add logging information when a dataset has already been imported by @zedmonds96 in #4377
Fixes
- Update CI matrix to target PHP 8.3, Drupal 10.3 by @dafeder in #4362
- Add test coverage for Drupal 10.4 in CI by @dafeder in #4365
- Tests for dropping datastore with missing resources by @paul-m in #4355
- Fix typos in DKAN docs by @dcgoodwin2112 in #4357
- Code quality review using Rector by @dafeder in #4367
- Make properties of schema array/item respect property specs in form by @dafeder in #4382
- 4336: Return 400 error on invalid JSON sent to the datastore API by @janette in #4341
- Add tests for ResourceImporter and sample_content by @paul-m in #4276
New Contributors
- @zedmonds96 made their first contribution in #4348
Full Changelog: 2.19.12...2.19.13
2.19.12
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