Skip to content

Releases: casework/CASE-Utilities-Python

0.5.0

11 May 21:44
33d9565
Compare
Choose a tag to compare
  • case_utils is now available on PyPI.
  • The project license is now clarified as Apache 2.
  • CI tests now run for Python 3.7 and 3.10.
  • Python code is now formatted with black.
  • Python formatting is now automatically reviewed with pre-commit.
  • CASE, UCO, and other namespace constants are now provided from case_utils.namespace.
  • The API for local_uuid has changed to address environment detection issues. The prior usage now raises DeprecationWarning.

0.4.0

24 Mar 20:49
1521663
Compare
Choose a tag to compare

This release's focus is on updates made for CASE 0.6.0. case_validate will now validate using CASE 0.6.0 and UCO 0.8.0, using an included monolithic case-0.6.0.ttl file. Users should be aware that due to a revision with UCO 0.8.0's IRI structure, validation result counts will drop significantly if instance data IRI prefixes are not also updated. See the CASE release notes and migration guide for further information.

Some developer quality-of-life implementations have been made:

  • Documentation has been updated for installation, prefixes in SPARQL queries, and maintenance of this repository at the time of a new CASE release.
  • Some IDE artifacts are now ignored.
  • Code in this repository is now formatted with black.

For users' awareness, there have been some feature removals with this release:

  • The CASE-Examples-QC repository is no longer being tracked as a submodule on this repository. Discussion on replacing its concept-confirming functionality within case_utils is anchored on Issue 40.
  • case_utils.guess_format has been removed, having been accepted upstream and having gone through a case_utils release cycle with a deprecation notice.

0.3.0

10 Nov 23:26
0390ee7
Compare
Choose a tag to compare

This release implements a function to perform offline instance data validation using CASE 0.5.0. A new command-line tool case_validate is provided, as a wrapper around pyshacl that adjusts pyshacl's command-line interface and bundles pre-built CASE ontology files.

SPARQL functionality is also now updated to supplement query operations with CASE and UCO subclass knowledge. case_file has been adjusted to output uco-observable:File objects instead of uco-observable:ObservableObject objects that needed to rely on duck-typing.

case_utils is now a typed package (see PEP-561).

Various miscellaneous fixes have been applied to support CI-based testing.

rdflib 6.0.2+ is now adopted, entailing removal of support for Python 3.6. A function, case_utils.guess_format, has been deprecated as its functionality has been transferred upstream.

0.2.1

07 Sep 16:36
7d8f676
Compare
Choose a tag to compare

This is a maintenance release, to have CI virtual environment construction use the built-in Python package venv, and to update the import of rdflib JSON-LD functionality to be based on the rdflib package instead of the now-archived rdflib-jsonld package. As the upstream rdflib package no longer supports Python 3.6, this repository will cease testing in Python 3.6.

0.2.0

16 Jun 13:39
22564ae
Compare
Choose a tag to compare

Added Python 3.6 unit testing
CASE 0.4.0 & UCO 0.6.0 version support
Added hexBinary support
Added SPARQL query utilities

0.1.0

30 Mar 23:57
Compare
Choose a tag to compare

Initial release