pySHACL v0.12.1 Release Notes

Release Date: 2020-07-22 // almost 4 years ago
  • โž• Added

    All SHACL Core constraints now have their own autogenerated sh:message.

    • This is used as a fallback when your Shape does not provide its own sh:message
    • See the new sh:resultMessage entries in the Validation Report output

    - These are hopefully more human-readable than the other fields of the Validation Report results

    โž• Added a copy of the implementation of the new 'Memory2' rdflib triplestore backend.

    • This when using Python 3.6 or above, this is faster than the default 'IOMemory' store by:
      • 10.3% when benchmarking validation with no inferencing
      • 17% when benchmarking validation with rdfs inferencing
      • 19.5% when benchmarking validation with rdfs+owlrl inferencing

    ๐Ÿ”„ Changed

    • PySHACL is now categorised as Production/Stable.
      • This marks a level of maturity in PySHACL we are happy to no longer consider a beta
      • A v1.0.0 might be coming soon, but its just a version number, doesn't mean anything special
    • ๐Ÿ”„ Changed default rdflib triplestore backend to 'Memory2' as above.
    • Tiny optimisations in the way sh:message items are added to a validation report graph.

    ๐Ÿ›  Fixed

    • Regression since v0.11.0, sh:value and sh:focusNode from the datagraph were not included in the validation report
      graph if the datagraph was of type rdflib.ConjunctiveGraph or rdflib.Dataset.