Skip to content

v0.20.0 - 2022-09-08

Compare
Choose a tag to compare
@ashleysommer ashleysommer released this 08 Sep 06:59
· 261 commits to master since this release

Note, while this is a normal 0.x release, it also acts as the v1.0 release candidate.

That means, if no glaring bugs or issues are found in this release, this version will be re-released eventually as
PySHACL v1.0.

In this release:

Fixed

  • Ill-typed/Ill-formed literals now fail the DataType test, as expected
    • Requires RDFLib v6.2.0+
    • Fixes #140 (and possibly fixes #151)
    • Unskipped one of the remaining skipped shacl-test-suite SHT tests (datatype-ill-formed_ttl.ttl)
  • Fixed detection of recursion to be more lenient of deliberately recursive (but not infinitely recursive) shapes.
  • MetaShacl works again now with RDFLib >= v6.2.0
  • Fixed typing issues affecting interoperability of new version of RDFLib and PySHACL.

Changed

  • RDFLib v6.2.0 or greater is now required to run PySHACL
    • This new version of RDFLib implements the ill-typed Literals feature, that helps with sh:datatype constraint validation.
    • Removing support for older versions of RDFLib allows PySHACL to implement new features, and have less unnecessary code
  • Bumped to using new Poetry v1.2.0 (or newest poetry-core v1.1.0)
    • Changed pytest-cov and coverage tests to be optional dependencies for dev
  • Bumped version of Black to 22.8.0, and re-blacked all files
  • Removed old monkey patches, no longer needed for the latest version of RDFLib
  • Removed bundled "Memory2" store, now using the default "Memory" from RDFLib
    • Regenerated bundled pickled triplestores, to use Memory instead of Memory2
  • Updated official dockerfile with newest version of PySHACL and RDFLib