Skip to content

Commit

Permalink
release v0.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysommer committed Jan 24, 2025
1 parent 27efa37 commit ed3667a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Python PEP 440 Versioning](https://www.python.org/d
## [Unreleased]
- Nothing yet

## [0.30.0] - 2025-01-24

### Fixed
- Finalize the decoupling of `base_uri` from graph `identifier`.
- Blame the conflated naming of `publicID` in RDFLib for that confusion.
- `load_from_source` will now correctly detect and use the BaseURI of files passed in, for relative URIs.
- Fixes #281

### Changed
- Update to Poetry v2.0 and new pyproject.toml format.
- Removed "Black", switched to "Ruff" for formatting as well as linting.
- Switched to parsing `file:` IRIs in line with the RDF spec, and allow (base-less, or root-less) relative `file:` IRIs (as per the RDF spec).
- But "<file:>" IRIs in Turtle files are now _not_ made relative to BaseURI, because they are relative to the CWD.

## [0.29.1] - 2024-12-16

### Added
Expand Down Expand Up @@ -1213,7 +1227,8 @@ just leaves the files open. Now it is up to the command-line client to close the

- Initial version, limited functionality

[Unreleased]: https://github.com/RDFLib/pySHACL/compare/v0.29.1...HEAD
[Unreleased]: https://github.com/RDFLib/pySHACL/compare/v0.30.0...HEAD
[0.30.0]: https://github.com/RDFLib/pySHACL/compare/v0.29.1...v0.30.0
[0.29.1]: https://github.com/RDFLib/pySHACL/compare/v0.29.0...v0.29.1
[0.29.0]: https://github.com/RDFLib/pySHACL/compare/v0.28.1...v0.29.0
[0.28.1]: https://github.com/RDFLib/pySHACL/compare/v0.28.0...v0.28.1
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
given-names: "Nicholas"
orcid: "http://orcid.org/0000-0002-8742-7730"
title: "pySHACL"
version: 0.29.1
version: 0.30.0
doi: 10.5281/zenodo.4750840
license: Apache-2.0
date-released: 2024-11-01
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ WORKDIR /home/pyshacl
RUN addgroup -g 1000 -S pyshacl &&\
adduser --disabled-password --gecos "" --home "$(pwd)" --ingroup "pyshacl" --no-create-home --uid 1000 pyshacl
WORKDIR /app
LABEL org.opencontainers.image.version="0.29.1"
LABEL org.opencontainers.image.version="0.30.0"
COPY . .
RUN chown -R pyshacl:pyshacl /home/pyshacl /app && chmod -R 775 /home/pyshacl /app
USER pyshacl
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[project]
name = "pyshacl"
# Don't forget to change the version number in __init__.py, Dockerfile, and CITATION.cff along with this one
version = "0.29.1"
version = "0.30.0"
# Ruff and Poetry both now read target-version from [project.requires-python]
# The <4 is reauired for compatiblity with OWL-RL that requdires Python <4
requires-python = ">=3.9,<4"
Expand Down
2 changes: 1 addition & 1 deletion pyshacl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .validator import Validator

# version compliant with https://www.python.org/dev/peps/pep-0440/
__version__ = '0.29.1'
__version__ = '0.30.0'
# Don't forget to change the version number in pyproject.toml, Dockerfile, and CITATION.cff along with this one

__all__ = ['validate', 'shacl_rules', 'Validator', 'RuleExpandRunner', '__version__', 'Shape', 'ShapesGraph']

0 comments on commit ed3667a

Please sign in to comment.