CKAN 2.4.0

Titlev2.4.0 2015-07-22
Version2.4.0
Release Date2015-07-22
Changes
Show details

Note: This version requires a database upgrade

Note: This version requires a Solr schema upgrade

Major: * CKAN config can now be set from environment variables and via the API (#2429)

Minor: * API calls now faster: group_show, organization_show, user_show, package_show, vocabulary_show & tag_show (#1886, #2206, #2207, #2376) * Require/validate current password before allowing a password change (#1940) * Added organization_autocomplete action (#2125) * Default authorization no longer allows anyone to create datasets etc (#2164) * organization_list_for_user now returns organizations in hierarchy if they exist for roles set in ckan.auth.roles_that_cascade_to_sub_groups (#2199) * Improved accessibility (text based browsers) focused on the page header (#2258) * Improved IGroupForm for better customizing groups and organization behaviour (#2354) * Admin page can now be extended to have new tabs (#2351)

Bug fixes: * Command line paster user failed for non-ascii characters (#1244) * Memory leak fixed in datastore API (#1847) * Modifying resource didn’t update it’s last updated timestamp (#1874) * Datastore didn’t update if you uploaded a new file of the same name as the existing file (#2147) * Files with really long file were skipped by datapusher (#2057) * Multi-lingual Solr schema is now updated so it works again (#2161) * Resource views didn’t display when embedded in another site (#2238) * resource_update failed if you supplied a revision_id (#2340) * Recline could not plot GeoJSON on a map (#2387) * Dataset create form 404 error if you added a resource but left it blank (#2392) * Editing a resource view for a file that was UTF-8 and had a BOM gave an error (#2401) * Email invites had the email address changed to lower-case (#2415) * Default resource views not created when using a custom dataset schema (#2421, #2482) * If the licenses pick-list was customized to remove some, datasets with old values had them overwritten when edited (#2472) * Recline views failed on some non-ascii characters (#2490) * Resource proxy failed if HEAD responds with 403 (#2530) * Resource views for non-default dataset types couldn’t be created (#2532)

Changes and deprecations

  • The default of allowing anyone to create datasets, groups and organizations has been changed to False. It is advised to ensure you set all of the :ref:authorization-settings options explicitly in your CKAN config. (#2164)

  • The package_show API call does not return the tracking_summary, keys in the dataset or resources by default any more.

    Any custom templates or users of this API call that use these values will need to pass: include_tracking=True.

  • The legacy tests directory has moved to tests/legacy, the new_tests directory has moved to tests and the new_authz.py module has been renamed authz.py. Code that imports names from the old locations will continue to work in this release but will issue a deprecation warning. (#1753)

  • group_show and organization_show API calls no longer return the datasets by default (#2206)

    Custom templates or users of this API call will need to pass include_datasets=True to include datasets in the response.

  • The vocabulary_show and tag_show API calls no longer returns the packages key - i.e. datasets that use the vocabulary or tag. However tag_show now has an include_datasets option. (#1886)

  • Config option site_url is now required - CKAN will not abort during start-up if it is not set. (#1976)

Url Ckangeloghttps://github.com/ckan/ckan/blob/master/CHANGELOG.rst#v240-2015-07-22