pySHACL v0.19.0 Release Notes

Release Date: 2022-03-22 // about 2 years ago
  • ๐Ÿš€ In this release:

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a long-standing oversight where ShapeLoadErrors and ConstraintLoadErrors were not reported correctly when running PySHACL in CLI mode.
      • Sorry about that. Thanks lots of people for reporting this over the last year. I wish I fixed it sooner.
    • ๐Ÿ›  Fixed a long-standing bug where using $PATH in a sh:sparql query on a PropertyShape would not work correctly.
      • Fixes #124, Thanks @Martijn-Y-ai
    • ๐Ÿ›  Fixed a long-standing bug, that allows PySHACL to more reliably determine if graph source is a file path, or a graph string.
      • Fixes #132, Thanks @Zezombye
    • ๐Ÿ›  Fixed an issue where sh:pattern could not be applied to a Literal that was not an xsd:string or URI.
      • Fixes #133, Thanks @nicholascar
    • ๐Ÿ›  Fixed the outdated/incorrect error reported when a PropertyShape's sh:path value gets an unknown path type.
      • Fixes #129, Thanks @edmondchuc

    โž• Added

    • ๐Ÿ†• New --allow-infos option in CLI mode and Python Module mode.
      • This is like --allow-warnings except it only allows violations with severity of sh:Info.
      • (--allow-warnings continues to allow both sh:Warning and sh:Info as it used to.)
      • Fixes #126, Thanks @ajnelson-nist
    • SPARQL-based Constraints can now substitute arbitrary bound SPARQL variables into their sh:message
      • Fixes #120

    ๐Ÿ”„ Changed

    • โš  --allow-infos and --allow-warnings can now also be enabled with --allow-info and --allow-warning respectively.
    • โœ‚ Removed Snyk check on CI/CD pipeline, because there is an RDFLib issue blocking Snyk on PySHACL from passing.