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 anxsd: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
- 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 ofsh:Info
. - (
--allow-warnings
continues to allow bothsh:Warning
andsh:Info
as it used to.) - Fixes #126, Thanks @ajnelson-nist
- This is like
- 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.
- ๐ Fixed a long-standing oversight where ShapeLoadErrors and ConstraintLoadErrors were not reported correctly when running PySHACL in CLI mode.