Skip to content

Commit a9f5192

Browse files
committed
Changes for v0.19.1
Fixed table format error when result message isn't included in result Fixed input graph not cloned if running in advanced mode and no inferencing bumped schema.ttl version
1 parent 34137d9 commit a9f5192

File tree

12 files changed

+325
-362
lines changed

12 files changed

+325
-362
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/htmlcov
55
/build
66
/_build
7+
/hooks
78
/.idea
89
/.git
910
/.mypy_cache

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ matrix:
1515
- env: TOX_ENV=py39
1616
python: 3.9
1717
name: "Python 3.9"
18+
- env: TOX_ENV=py310
19+
python: 3.10
20+
name: "Python 3.10"
1821
- env: TOX_ENV=type-checking
1922
python: 3.7
2023
name: "Python 3.7 Type checks"
@@ -24,6 +27,9 @@ matrix:
2427
- env: TOX_ENV=type-checking
2528
python: 3.9
2629
name: "Python 3.9 Type checks"
30+
- env: TOX_ENV=type-checking
31+
python: 3.10
32+
name: "Python 3.10 Type checks"
2733
- env: TOX_ENV=lint
2834
python: 3.7
2935
name: "Python 3.7 Linter checks"

CHANGELOG.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,36 @@ and this project adheres to [Python PEP 440 Versioning](https://www.python.org/d
77
## [Unreleased]
88
### Nothing yet
99

10-
## [0.19.0] - 2022-03-22
10+
## [0.19.1] - 2022-06-30
1111

1212
### Note, while this is a normal 0.x release, it also acts as the v1.0 release candidate.
1313
That means, if no glaring bugs or issues are found in this release after two weeks, this version will be re-released as
1414
PySHACL v1.0.
1515

1616
### In this release:
1717

18+
### Fixed
19+
- CLI Output Table formatting crashed when report graph did not contain a resultMessage
20+
- Fixes #145
21+
- Executing advanced-mode triples rules can sometimes skip the graph clone step, and incorrectly emits new triples directly into the input data-graph
22+
- Discovered when investigating #148
23+
24+
### Changed
25+
- Executing advanced triples rules no longer incorrectly emits new triples directly into the input data-graph
26+
- This _may_ been seen as a breaking change, if your workflow relied on this incorrect behaviour.
27+
- If you _really_ the rules engine to emit new triples into your input data graph, use the `inplace` validator option.
28+
- Updated built-in `schema.ttl` file to newer version that doesn't have UTF-8 encoding issues
29+
30+
### Added
31+
- Official Dockerfile is now included in the repository
32+
- Thanks @KonradHoeffner; Fixes #135
33+
- Published to dockerhub at [ashleysommer/pyshacl](https://hub.docker.com/repository/docker/ashleysommer/pyshacl)
34+
- `docker pull docker.io/ashleysommer/pyshacl:latest`
35+
36+
## [0.19.0] - 2022-03-22
37+
38+
### In this release:
39+
1840
### Fixed
1941
- Fixed a long-standing oversight where ShapeLoadErrors and ConstraintLoadErrors were not reported correctly when running PySHACL in CLI mode.
2042
- Sorry about that. Thanks lots of people for reporting this over the last year. I wish I fixed it sooner.
@@ -24,7 +46,7 @@ PySHACL v1.0.
2446
- Fixes #132, Thanks @Zezombye
2547
- Fixed an issue where `sh:pattern` could not be applied to a Literal that was not an `xsd:string` or URI.
2648
- Fixes #133, Thanks @nicholascar
27-
- Fixed the outdated/incorrect reported when a PropertyShape's `sh:path` value gets an unknown path type.
49+
- Fixed the outdated/incorrect error reported when a PropertyShape's `sh:path` value gets an unknown path type.
2850
- Fixes #129, Thanks @edmondchuc
2951

3052
### Added
@@ -927,7 +949,8 @@ just leaves the files open. Now it is up to the command-line client to close the
927949

928950
- Initial version, limited functionality
929951

930-
[Unreleased]: https://github.com/RDFLib/pySHACL/compare/v0.19.0...HEAD
952+
[Unreleased]: https://github.com/RDFLib/pySHACL/compare/v0.19.1...HEAD
953+
[0.19.1]: https://github.com/RDFLib/pySHACL/compare/v0.19.0...v0.19.1
931954
[0.19.0]: https://github.com/RDFLib/pySHACL/compare/v0.18.1...v0.19.0
932955
[0.18.1]: https://github.com/RDFLib/pySHACL/compare/v0.18.0...v0.18.1
933956
[0.18.0]: https://github.com/RDFLib/pySHACL/compare/v0.17.3...v0.18.0

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors:
88
given-names: "Nicholas"
99
orcid: "http://orcid.org/0000-0002-8742-7730"
1010
title: "pySHACL"
11-
version: 0.19.0
11+
version: 0.19.1
1212
doi: 10.5281/zenodo.4750840
1313
license: Apache-2.0
1414
date-released: 2022-01-13

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,12 @@ You can now run the pySHACL Command Line utility via ``pyshacl.exe``.
214214
See above for the pySHACL command line util usage instructions.
215215
216216
## Docker
217+
Pull out the official docker image from Dockerhub:
218+
`docker pull docker.io/ashleysommer/pyshacl:latest`
217219
218-
After checking out the repository, you can build a Docker image with `docker build . -t pyshacl`.
219-
You can now run pySHACL inside a container but you need to mount the data you want to validate.
220+
Or build the image yourself, from the PySHACL repository with `docker build . -t pyshacl`.
221+
222+
You can now run PySHACL inside a container; but you need to mount the data you want to validate.
220223
For example, to validate `graph.ttl` against `shacl.ttl`, run :
221224
```bash
222225
docker run --rm --mount type=bind,src=`pwd`,dst=/data pyshacl -s /data/shacl.ttl /data/graph.ttl

0 commit comments

Comments
 (0)