All Versions
73
Latest Version
1.0
Avg Release Cycle
35 days
Latest Release
-

Changelog History
Page 1

  • v1.0 Changes

    ๐Ÿš€ That means, if no glaring bugs or issues are found in this release after two weeks, this version will be re-released as PySHACL v1.0.

  • v0.20.0

    September 08, 2022
  • v0.19.1 Changes

    June 30, 2022

    ๐Ÿš€ In this release:

    ๐Ÿ›  Fixed

    • CLI Output Table formatting crashed when report graph did not contain a resultMessage
      • Fixes #145
    • ๐Ÿ‘ฏ Executing advanced-mode triples rules can sometimes skip the graph clone step, and incorrectly emits new triples directly into the input data-graph
      • Discovered when investigating #148

    ๐Ÿ”„ Changed

    • Executing advanced triples rules no longer incorrectly emits new triples directly into the input data-graph
      • This may been seen as a breaking change, if your workflow relied on this incorrect behaviour.
      • If you really the rules engine to emit new triples into your input data graph, use the inplace validator option.
    • โšก๏ธ Updated built-in schema.ttl file to newer version that doesn't have UTF-8 encoding issues

    โž• Added

    • ๐Ÿณ Official Dockerfile is now included in the repository
      • Thanks @KonradHoeffner; Fixes #135
      • Published to dockerhub at ashleysommer/pyshacl
      • docker pull docker.io/ashleysommer/pyshacl:latest
  • v0.19.0 Changes

    March 22, 2022

    ๐Ÿš€ 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.
  • v0.18.1 Changes

    January 22, 2022

    โž• Added

    • โž• Added the ability to pipe in SHACL file or ONT file via stdin on Linux or MacOS

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an issue where the filetype detection routine in the RDF loader would fail to reset the file back to the start.
  • v0.18.0 Changes

    January 13, 2022

    โž• Added

    • โž• Added Python 3.10 support (when using RDFLib v6.1.1 or greater)
    • โž• Added more type hinting, to conform to the new type hinting added by RDFLib 6.1.1

    ๐Ÿ”„ Changed

    • Subtle correction in the way sh:prefixs works with sh:declare on the given named ontology.
    • โฌ†๏ธ Bumped some min versions of libraries, to gain compatibility with Python 3.10

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed test for issue #76
    • ๐Ÿ›  Fixed #76 again (after fixed test)
  • v0.17.3 Changes

    December 13, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Don't crash when a SHACL function is registered more than once (eg, if a function is both SPARQLFunction and JSFunction), fixes #108, thanks Gabe Fierro
    • ๐Ÿ›  Fixed typo in CLI help output, thanks Alex Nelson
    • ๐Ÿ–จ Don't print env vars when importing JS module, thanks MPolitze
    • ๐Ÿ›  Fix typo preventing OWL-RL >=6.0 to be used with pySHACL, Fixes #111

    โž• Added

    • โž• Add Snyk checks to CI/CD pipeline
  • v0.17.2 Changes

    October 25, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ป SPARQL queries with words "values", "minus", or "service" in its comments no longer incorrectly throw an exception.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ท Switched from Travis to Drone for CI testing

    โž• Added

    • ๐Ÿ†• New Table output type for commandline tool. Thanks @nicholascar
  • v0.17.1 Changes

    October 11, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ– Handle transitive subclasses when evaluating sh:targetClass - @gtfierro
      • Fixes #96
    • ๐Ÿ‘Œ Improve detection of RDF/XML files when loading unknown content
      • Fixes #98
    • Imported type stubs and resolved ALL MyPy issues! (this was a big effort)
    • ๐Ÿ›  Logic fixes in the dataset loader (thanks to inconsistencies exposed by MyPy)

    ๐Ÿ”„ Changed

    • โž• Add special cases to sh:dataclass constraint, when the given shape uses rdfs:Literal or rdfs:Dataclass as the dataclass to match on
      • Fixes #71

    โž• Added

    • โž• Add datashapes.org/schema as a built-in graph
      • Fixes #98
    • โž• Added ability to pass a TextIO or TextIOWrapper object into the dataset loader
  • v0.17.0

    September 13, 2021