Skip to content

Releases: GetDKAN/dkan

7.x-1.18

24 Jan 22:55
Compare
Choose a tag to compare

What's new

Harvest Improvements

This release includes a light refactoring to separate harvest classes into separate files. It also adds performance enhancements in key areas:

  • Revisions: Each dataset will now get a single revision per harvest rather than a revision for each resource (distribution) specified in the dataset.
  • Parsing: Temporal value validation has been revised to check against all options specified in the Project Open Data metadata schema and will only be recorded if valid. Invalid values will no longer throw errors, instead they will be reported in the harvest error log.
  • Unavailable Source: Better handling of source urls when they are not actually json endpoints or blocked by 403 or 404 statuses.

Verifiable Downloads

This gives site admins the option of adding hashes to downloadable files. It adds the Filehash module (https://www.drupal.org/project/filehash) to the dkan build. It also applies two patches to the Filehash module. One adds SHA-512 to the available hash algorithms. The other adds the option of only hashing uploaded files.

If an administrator enables the module and selects one or more hash algorithms, a resource file's hash(es) will be displayed below the file name on dataset pages and in the 'Additional Information' block on resource pages. The display consists of the name of the algorithm (e.g 'md5', 'sha512'), followed by the hash in an input box. The box contains any overflow and makes it easy to copy the entire hash.

Easier Search Customization

The search index has been decoupled from the presentational code making it easier to swap in a custom index. This means that if you want to completely replace the "datasets" index and search page panels, you can disable the dkan_dataset_search module and replace with a custom module for your project, without needing to use features overrides.

Removal of deprecated modules

As the code evolves, some cruft has accumulated so this upgrade will be removing items no longer in use. This includes dkan_sitewide_roles_perms, feeds, feeds_field_fetcher, and feeds_flatstore_processor. Make sure you have run all updates up to 1.17.4 before installing this release, to ensure that all modules have been properly uninstalled.

Misc.

This update also includes bugfixes and contrib module updates.

Changelog

  • #3012 Prevent infinite loop in Harvest Source preview page
  • #2733 Decouple search from dkan_panels & other features
  • #2984 Remove feeds modules
  • #2985 Remove dreprecated dkan_sitewide_roles_perms module
  • #3004 Update contrib modules (facet_api, facet_api_bonus, file_entity, honeypot, link, media, media_youtube, panopoly_images)
  • #2995 Remove 404 redirect
  • #2968 Stop queuing dataset "log" and only do if > 1min
  • #2975 Add file hash option
  • #2983 Separate harvest classes into separate files and do some light cleanup
  • #3010 Update radix to 3.8
  • #3008 Add admin_views contrib module
  • #3007 Fix typo in dkan_datastore_proxy function
  • #3003 Improve validation for temporal values when harvesting
  • #2998 Move check for file size into the proxy function

7.x-1.17.4

18 Dec 23:34
Compare
Choose a tag to compare

Changlog

  • #2997 Add views patch 3054091

7.x-1.17.3

18 Dec 22:06
Compare
Choose a tag to compare

Changelog

  • #2996 Security release for Drupal 7.69

7.x-1.17.2

20 Nov 17:47
Compare
Choose a tag to compare

Changelog

  • #2989 Bump symfony/dependency-injection from 2.8.38 to 2.8.52 in /test

7.x-1.17.1

18 Nov 15:15
Compare
Choose a tag to compare

Changelog

  • #2982 #2986 Remove admin_views
  • #2977 Move documentation images to S3
  • #2959 Remove deprecated ahoy files
  • #2973 Update list of professional help in docs
  • #2972 Fix branch/tag in drupal-org.make file
  • #2967 Upgrade ODSM and enable fast token browser
  • 5282845 Adjustments to behat tests
  • 8953e45 Restore phpunit.xml file
  • #2964 Fix polling places file
  • #2963 Fix Call to a member function getTimestamp() on null error
  • fd331bc Update dkan sites list

Manual Deployment steps

  • drush rr
  • drush updb -y
  • drush cc all

7.x-1.17

12 Sep 19:46
Compare
Choose a tag to compare

What's new

PHP 7.2 Support

DKAN code and all contrib modules have been updated to be compatible with PHP 7.2.

DKAN Periodic Updates

The DKAN Periodic Updates module provides automated datastore updates on existing resources on a daily, weekly or monthly basis. If you have resources that change often and need the data to be re-imported to the datastore on a regular basis this feature is for you. It is included with DKAN core but will not be enabled by default. Consult the documentation on how to set up and configure.

Miscellaneous improvements

This release includes updates and bug fixes to DKAN Workflow, Open Data Schema Mapper, and accessibility compliance.

The decommissioning of Feeds

The 7.x-1.16 release introduced a refactored DKAN Datastore that no longer relied the feeds module. In this release we are disabling feeds and its companion modules so that in the next release they can be completely removed from the code base.

If you have custom code:

  • If you are NOT using feeds, feeds_field_fetcher, or feeds_flatstore_processor in your custom code, you can proceed with the upgrade without additional preparations.

  • If you DO use feeds, feeds_field_fetcher, or feeds_flatstore_processor in your custom code:

    ⚠️ This release disables and uninstalls the feeds module. If you are using feeds on your site outside of the DKAN open data operations, be sure to backup your database. Comment out the update hook dkan_update_7035. You will also need to create custom permissions to assign permissions for these modules to your user roles.

Manual Deployment steps

  • drush rr
  • drush updb -y
  • drush cc all
  • ℹ️ As part of the update hook dkan_update_7035 all feeds related modules are disabled so it is possible that the next time you log in to your site you get a message stating that "The content access permissions need to be rebuilt", if that's the case you can proceed safely to execute the rebuild process.

Changelog

  • #2956 Update new WCAG-compliant default theme colors to be consistent across the site.
  • #2957 Update frequency values on default content files.
  • #2954 Update contrib modules, adjust DKAN code to support PHP 7.2
  • #2951 Update default greetings on workbench email templates.
  • #2908 Add DKAN Periodic Updates module
  • #2804 Disable and uninstall feeds, feeds_flatstore_processor, and feeds_field_fetcher modules
  • #2945 Upgrade imagecache_actions to 1.11
  • #2944 Specify behavior on dkan_workflow moderation set state action to avoid extra node_save.
  • #2943 Add documentation for DKAN Feedback
  • #2940 Update Open Data Schema Map to 7.x-2.4
  • #2935 Add documentation for DKAN custom solr
  • #2931 Add patch for NULL controller class
  • #2921 Fix gaps in WCAG compliance

7.x-1.16.13

22 Jul 14:23
Compare
Choose a tag to compare

Changelog

  • #2928 Update ODSM to 2.3 to fix broken RDF/JSON links
  • #2918 Avoid importing/orphaning when harvest cache is not present for unavailable sources.
  • #2919 Security update for imagecache_actions

7.x-1.16.12

14 Jun 13:27
Compare
Choose a tag to compare

Changelog

  • #2892 Harvest support range dates separated by dashes
  • #2894 Remove user field on unpublished nodes tab on workbench moderation UI.
  • #2889 Make Page Title reflect dataset/resource content
  • #2893 Update Open Data Schema Map to 7.x-2.2
  • #2885 Security update for uuid and tablefield modules

7.x-1.16.11

22 May 19:19
Compare
Choose a tag to compare

Changelog

  • #2876 Update the datastore lock code to use drupal functions
  • #2879 Update dkan_workflow to add option to delete unpublished nodes
  • #2880 Fix drush command that deletes orphaned datastore tables
  • #2870 Remove workflow emails from dkan_workflow
  • #2878 Remove hard-coded access to revisions for anonymous users

7.x-1.16.10

25 Jun 14:08
Compare
Choose a tag to compare

This release contains a security fix for DKAN, which resolves an issue where under certain circumstances passing malicious parameters on the search page could cause PHP to load the contents of an external URL into memory. We are working with the maintainers of two modules to see if this requires an upstream fix, but the patch included here remediates the issue as it appears in DKAN.

Breaking Changes

This release contains a breaking change (#2842) to the prepareMetadataSourceHelper() in the HarvestMigration class. If you have a custom Harvest Source type that implements this method you will need to update the return value -- see this commit message.

Changelog

  • #2873 Patch globalredirect to fix network issue
  • #2874 Security update for Drupal to 7.67 (SA-CORE-2019-007)
  • #2730 Behat test improvements
  • #2862 Add primary key to datastore tables. Create hook_datastore_post_import to allow users to execute actions right after data has been imported into the datastore.
  • #2842 Fix harvest migration message logging for batched migrations