Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@amercader amercader released this 30 Aug 11:23
· 15 commits to master since this release

What's Changed

  • New profile for DCAT-AP v3, euro_dcat_ap_3, which is now the default. Existing sites willing to stick with DCAT-AP v2.x can specify the profile in the configuration if they are not doing so yet (ckan.dcat.rdf.profiles = euro_dcat_ap_2). The new euro_dcat_ap_3 profile relies on ckanext-scheming metadata schemas (see below).

  • Support for standard CKAN ckanext-scheming schemas. The DCAT profiles now seamlessly integrate with fields defined via the YAML or JSON scheming files. Sites willing to migrate to a scheming based metadata schema can do
    so by adding the euro_dcat_ap_scheming profile at the end of their profile chain (e.g. ckanext.dcat.rdf.profiles = euro_dcat_ap_2 euro_dcat_ap_scheming), which will modify the existing profile outputs to the expected format by the scheming validators. Sample schemas are provided in the ckanext/dcat/schemas folder. See the documentation for all details. Some highlights of the new scheming based profiles (#281):

    • Actual list support in the API output for list properties like dct:language
    • Multiple objects now allowed for properties like dcat:ContactPoint, dct:spatial or dct:temporal
    • Custom validators for date values that allow xsd:gYear, xsd:gYearMonth, xsd:date and xsd:dateTime
  • SHACL validation for DCAT-AP 2.1.1 profile (scheming and legacy).
    SHACL validation made surface the following issues in the existing profiles, which are now fixed (#288):

    • Cast dcat:byteSize and dcat:spatialResolutionInMeters as Decimal, not float
    • Allow only one value of dcat:spatialResolutionInMeters and dcat:temporalResolution
    • Only output the WKT version of geometries in locn:geometry, dcat:bbox and dcat:centroid. Sites that for some reason
      require GeoJSON (or both) can use the ckanext.dcat.output_spatial_format config option
      to choose which format to use
    • When using the euro_dcat_ap_2 profile, don't output temporal extent namespaced
      both with schema and dcat, just with the latter (dcat:startDate and dcat:endDate)
  • CKAN 2.11 support and requirements updates (#270)

  • New ckan dcat consume and ckan dcat produce CLI commands (#279)

  • Revamped documentation, now hosted at https://docs.ckan.org/projects/ckanext-dcat (#296)

  • Parse dcat:spatialResolutionInMeters as float (#285)

  • Split profile classes into their own separate files (#282)

  • Catch Not Authorized in View (#280)

New Contributors

Full Changelog: v1.7.0...v2.0.0