Skip to content

Releases: INCATools/ontology-development-kit

ODK 1.5.3 (October 2024)

29 Oct 17:38
v1.5.3
6e53548
Compare
Choose a tag to compare

This is a point release of the Ontology Development Kit.

Changes since version 1.5.2

Software updates

  • Base image updated to Ubuntu 24.04
  • Python updated to version 3.12
  • Several Python packages updated, including
    • Ontology Access Kit (oaklib 0.6.18)
    • LinkML (linkml 1.8.5 and linkml-runtime 1.8.3)
    • SSSOM (sssom-schema 1.0.0 and sssom 0.4.12)
  • KGCL plugin for ROBOT updated to version 0.5.0
  • SSSOM command-line tool and ROBOT plugin updated to version 0.9.0

Bugfixes

  • Fix permission issue on macOS when seeding (#1105)
  • Fix permission on the SSH socket (#1096)
  • Fix lack of robustness of the odk.py script (#1097)

BREAKING CHANGE

J2cli, which is no longer maintained, has been removed and replaced with Jinjanator. Standard ODK-generated workflows never used that tool, but if you have custom workflows that are using the j2 command, you will need to update them to make them use jinjanate instead.

How to upgrade

Run

docker pull obolibrary/odkfull:latest

to get the latest version of the image.

As for other point releases, there is no need to update your ODK-managed repositories with make update_repo.

ODK 1.5.2 (July 2024)

21 Jul 06:56
7d8310a
Compare
Choose a tag to compare

Installation

Specifically 1.5.2:

docker pull obolibrary/odkfull:v1.5.2

But better just keep installing the latest version:

docker pull obolibrary/odkfull:latest

What's Changed

  • Several Python packages updated, including:
    • oaklib (OAK) 0.6.11 (including some bugfixes to KGCL diffing and OBO format parsing)
    • sssom 0.4.11 and sssom-schema 0.15.2
    • linkml 1.8.1

Full Changelog: v1.5...v1.5.2

ODK 1.5.1 (May 2024)

29 May 13:29
4418a1b
Compare
Choose a tag to compare

What's Changed

  • ROBOT updated to version 1.9.6. ROBOT has had some significant improvements, including a newer version of the Elk reasoner and finally (!) prefix map support for OBO format!
  • KGCL plugin for ROBOT updated to version 0.4.0
  • SSSOM command-line tool and plugin for ROBOT updated to version 0.7.7
  • Several Python packages updated, including:
    • oaklib (OAK) 0.6.6
    • sssom 0.4.9 and sssom-schema 0.15.2
  • Hotfixes:
    • Added back class-count-by-prefix.sparql (#1030)
    • Disabled table-reader mkdocs plugin (#1028)

Full Changelog: v1.5...v1.5.1

ODK 1.5 (March 2024)

02 Mar 19:59
98b9cce
Compare
Choose a tag to compare

We thank the community for all your support and feedback! Without your issues and contributions we would not be able to do our work!

Update instructions

https://oboacademy.github.io/obook/howto/odk-update/

Highlights and possibly breaking changes (Read this!)

  • All processes within the ODK container now runs under the identity of an (unprivileged) user by default. This fixes the issue of generated files being owned by the superuser, when the Docker daemon itself runs as the superuser (as is the case by default on most GNU/Linux systems). See PR1, PR2, PR3.
    • Consequences: Some workflows that require superuser rights may not work anymore as expected.
    • Mitigation: If you have a workflow that requires being run as a superuser (for example, if you need to install extra Debian/Ubuntu packages via apt-get), set the environment variable ODK_USER_ID to 0 when running that workflow or, to always run all workflows as a superuser (as was the case in previous ODK versions), set the configuration parameter run_as_root to True before updating your repository.
  • Change the definition of "base release". See PR.
    • Consequence: The base file now does not only contain the editors axioms in their raw form, but the axioms "as intended by the ontology developer", for example, including inferences. For the base-specification see here.
    • Mitigation: If you want a release that corresponds exactly to the old base file, use baselite instead.
  • Allow refreshing the mirrors (externally downloaded ontologies) under IMP=false. See PR.
    • Consequence: you now cannot rely on IMP=false anymore if you want to avoid refreshing mirrors as well - you need to use IMP=false MIR=false instead!
  • Make qc.yml ODK managed by default, so it is actually being updated along with the rest of the files. See PR.
    • Consequence: If you have overwritten that workflow with custom content, you have to follow the mitigation strategies.
    • Mitigation: (1) migrate the custom content to a differently named workflow or (2) deactivate syncning of that workflow manually by adding a workflows section to your ODK config.
  • Generate custom_reports during release process PR.
    • Consequence: This means that all reports configured in ODK are automatically updated at release time, so you have more files need to review during a release.
    • Mitigation: Add your reports to .gitignore or remove them from your ODK config.
  • We added the "International Edition" as a release product, including an entire workflow system for managing translations using the Babelon format. This feature is still under development, but works - feel free to reach out if you like to test it.

New and updated tooling

  • New ROBOT Version 1.9.5 was added in a previous minor release.
  • A lot of updated python tools, including OAK (0.5.25), SSSOM tools (0.4.4), LinkML (1.7.5), kgx (2.2.5) and curies (0.7.7). A full list of all available python tools and their versions is available here.
  • The Babelon Toolkit (0.2.7) for managing multilingual ontologies has been added as well.
  • Added table-reader plugin for mkdocs to directly integrate CSV files into your ontology documentation, see PR.
  • Added Perl module Business::ISBN, see PR.
  • Updated Apache Jena (4.9.0), Soufflé, Fastobo-validator, Ammonite REPL & Script-Runner (2.5.9), DOSDP-Tools (0.19.3), Relation-Graph (2.3.2).
  • Added SSSOM-Java (0.7.5) (PR) and KGCL-Java (0.3.2) (PR) to odkfull.

New configuration options

  • Add option to include defined-by annotation in imports, see PR.
  • Add option release_annotate_inferred_axioms, see PR, to enable the annotation of inferred axioms during release.

Makefile workflows

  • Make it possible to collect per-command resource usage data, see PR. This allows us to see which goals consume how much memory, and how long they take, to identify performance bottlenecks.
  • Enable support for custom ROBOT plugins in ODK, see PR
  • Add a test_fast goal to allow running tests without refreshing dependencies PR.
  • Re-integrate LightRDF RDF/XML validation, see PR1, PR2
  • Add SPARQL Check to find uses of deprecated DC PR
  • Add release diff action, see PR. This allows posting diffs automatically as a comment to a Pull Request.
  • Add convenience check if customised ROBOT report config is out of date PR. This allows checking if you are missing out on some new ROBOT report checks!
  • Add a nicer, more comprehensive way to understand the versions of the tools used in ODK, see PR.

Runner and Infrastructure

  • Allow passing configuration options to the OWL API, see PR.
  • Automatically check whether the repository needs to be updated, see PR.
  • Forward the host SSH agent socket into the container, see PR.

Bugfixes

  • Fix import to use OBOBASE in base-iri, not URIBASE, see PR.
  • Do not create individual import modules when use_base_merging is enabled, see PR.
  • Make docs workflow configurable, see PR.
  • Update illegal-date-violation.sparql to accept xsd:dateTime, see PR.
  • Update URL to show CI status badge correctly on repo README.md, see PR.

For more detailed overview of the changes see:

ODK 1.4.3 (September 2023 2nd Edition)

29 Sep 09:07
a47bb59
Compare
Choose a tag to compare

This is a point release of the Ontology Development Kit. It uses updated versions of several components, including:

  • ROBOT v1.9.5
  • Ontology Access Kit (oaklib) 0.5.20
  • Python curies packages 0.6.4
  • Python SSSOM toolkit 0.3.41

This release does not change anything to the ODK-managed workflows, so running sh run.sh make update_repo to adapt your repositories to this new release is not needed. Just make sure to use the latest image by running docker pull obolibrary/odkfull.

ODK 1.4.2 (September 2023)

03 Sep 18:50
Compare
Choose a tag to compare

This is a point release of the Ontology Development Kit that brings up-to-date versions of several components:

  • Apache Jena updated to version 4.9.0
  • Soufflé updated to version 2.4
  • Fastobo-validator updated to version 0.4.6
  • Ammonite updated to version 2.5.9
  • Several Python packages updated, including:
    • oaklib 0.5.17
    • sssom 0.3.40
    • sssom-schema 0.15.0
    • linkml 1.5.7
  • /!\ The bioregistry dependency is removed in favour of the curies package

To use this release, run docker pull obolibrary/odkfull on your machine.

Updating your individual ODK-managed repositories with make update_repo is not needed as this release does not bring any change to the standard workflows.

ODK 1.4.1 (May 2023)

27 May 10:06
d456d6e
Compare
Choose a tag to compare

This is a point release of the Ontology Development Kit that brings up-to-date versions of several components:

  • ROBOT version 1.9.4;
  • Ontology Access Kit version 1.5.6;
  • Bioregistry version 0.9.15;
  • LinkML version 1.5.2.

To use this release, run docker pull obolibrary/odkfull on your machine.

Updating your individual ODK-managed repositories with make update_repo is not needed as this release does not bring any change to the standard workflows.

Full Changelog: v1.4...v1.4.1

ODK 1.4 (February 2023)

17 Feb 13:13
Compare
Choose a tag to compare

Update instructions

https://oboacademy.github.io/obook/howto/odk-update/

Changes from ODK 1.3.1 to 1.4

A full record of all changes can be seen here.

New and updated tooling

  • New ROBOT Version 1.9.3
  • A lot of updated python tools, including OAK (0.1.71), SSSOM tools (0.3.22), LinkML (1.4.4) and curies (0.4.2).
  • gh is now installed in ODK, which means that GitHub workflows can be run directly through ODK. For example, try out the new public_release workflow which automatically creates a GitHub release for you.
  • A full list of all available python tools and there vesions is available here

New configuration options

  • Making the uribase configurable. You can now set the URI base in your myont-odk.yaml file to something different from http://purl.obolibrary.org/obo/, which enables developers from outside OBO to use ODK. Note that there is no guarantee that you can export your ontology to the OBO file format of you customise your baseuri this way!
  • import_component_format: You can now configure the format in which your imports and components are serialised. For example, rather than owl (RDFXML), which used to be the default, you can set this option to ofn. For a complete reference see https://robot.obolibrary.org/convert.
  • mirror_type: You can define the type of the mirror for each import. Supported: base, custom, no_mirror.
  • release_use_reasoner: If false, no reasoning is performed for generating release files. This is only relevant for building application ontologies, where all components are already fully classified.
  • sparql_test_on: You can define the list of input files to run the custom SPARQL queries. Supported: edit, and any release artefact, e.g myont-base.owl (example).
  • use_edit_file_imports: If TRUE, use whatever imports you have in the edit file to create the release (default). If FALSE, components (and imports) are merged into the release independent of whether they are mentioned in the edit file or not. This can help for example in cases where import modules are so large, they cannot be checked into version control.
  • The ci option now takes gitlab-ci as a value, which sets your repo up with basic Continuous Integration Testing for GitLab.

Makefile workflows

  • Adding new make reason_test command (pull, issue)
  • Adding intermediate artefact $(TMPDIR)/$(ONT)-preprocess.owl to the release workflow which enable the centralisation of preprocessing in a single make step. Basically, rather than creating release artefacts directly from the editors file (e.g. bfo-edit.owl), we add intermediate step from which all releases are derived. This intermediate can then be customised by the user (pull, issue)
  • Introduces an experimental new release called "base-plus", which includes the inferred and non-redundant classification of the ontology. This is highly experimental and may be removed in a future release of ODK. The new goal is much more rigorous in removing axioms from other ontologies as well. The old base file can now be exported as an "editors release" instead (pull, issue).
  • Introduces the option of skipping the use of reasoner during the release process (important for application ontologies), (pull, issue)
  • Introduces a new mode that enable the use of ODK entirely without owl:imports in the edit file (this is great in case we want to use the ODK workflows but not check in any files, imports or components, into version control, like huge application ontologies), (pull, issue).
  • Adds a feature to directly support ROBOT templates in components (example). Templates need to be activates with the project-level use_templates: TRUE option, and can then be used to define components, like in the example.
  • Adds an option to do a public_release on Github which creates a GitHub release, tags it, and uploads release artefacts.
  • Adds a release_diff workflow which creates a simple markdown report between the latest release and the current one.
  • Adds a feature to directly support SSSOM mapping files, both in components and as standalone (example). This allows to curate, for example, SSSOM mapping files in tables and them release them as part of the general release process. It also allows extracting mappings from inside the Ontology automatically using the SSSOM toolkit.
  • Changes in the src/ontology/run.sh wrapper script:
    • It is now possible to execute the Docker image through Singularity.
    • The IMAGE variable, which can used to specify an alternative ODK image, has been renamed to ODK_IMAGE.
    • A new variable ODK_TAG has been introduced, allowing to specify an alternative tag (default is latest). A tag may also be specified directly as part of the ODK_IMAGE variable (as in ODK_IMAGE=odkfull:v1.3.1).
    • A new variable ODK_BINDS has been introduced, allowing to specify extra bindings between a directory on the host computer and a directory inside the Docker container.
    • Variables used by the run.sh script can now be set in a src/ontology/run.sh.conf file, which will be sourced by the wrapper script.
    • With the config file option use_env_file_docker, if true, you can pass your local environment to the docker container. It is strongly advised to add run.sh.env to .gitignore before using this feature. Committing your environment to git may reveal passcodes and other private information!

The GitHub issues dealt with as part of this release

  • Fix redundant filter in sparql queries by @anitacaron in #633
  • Add docker requirement to top-level README by @kltm in #635
  • Update to latest relation-graph by @balhoff in #634
  • Make run.sh Java Option handling a bit nicer by @matentzn in #616
  • Enable use of singularity as an option by @pcm32 in #640
  • Allow to only push dev-tagged images to Docker Hub. by @gouttegd in #653
  • Schema config documentation by @hkir-dev in #656
  • Rename dosdp-tools directory. by @gouttegd in #652
  • Rename IMAGE to ODK_IMAGE in the run.sh script. by @gouttegd in #655
  • Build odkfull:dev from odklite:dev. by @gouttegd in #661
  • Update constraints from within the odkbuild image by @gouttegd in #663
  • Add constraints.txt make goal by @matentzn in #662
  • Adding a preprocessing intermediate file to the ODK build process by @matentzn in #639
  • Make sure the Python package six is present in odklite. by @gouttegd in #666
  • Make Base IRI configurable by @matentzn in #617
  • Update constraints.txt by @github-actions in #664
  • Update catalog-v001.xml.jinja2 to reflect base IRI changes (bugfix) by @matentzn in #668
  • Fix wrong config for recreating components by @matentzn in #670
  • fixed parentheses in inject queries by @ehartley in #672
  • Update constraints.txt by @github-actions in #667
  • Update constraints.txt by @github-actions in #673
  • Allow extra volume bindings and custom wrapper config file by @gouttegd in #678
  • Update constraints.txt by @github-actions in #681
  • Add documentation about custom sparql checks by @anitacaron in https://github.com/INCATools/ont...
Read more

June 2022 Release

21 Jun 07:52
Compare
Choose a tag to compare

Official Changelog:

  • Update to ROBOT 1.9.0, see ROBOT release notes. One major change concerning ODK: the OBOGraphs JSON serialiser has been updated significantly, which means obographs json files may look a bit different. Most important change: empty elements (xrefs) are no longer serialised.
  • Added shortcut make commands for recreating components: recreate-components and recreate-% (pull).
  • Added new shortcut command for fast releases: make prepare_release_fast.
  • New tools:
    • Ontology Access Kit, a python library for interacting with ontologies, the the ODK (pull).
    • gh: GitHub CLI for running releases, createing pull requests and more
    • j2cli: Jinja template client
    • rdftab: RDF Tables with Rust
    • gizmos: Python utilities for ontology development
    • Other: obographviz, node.js, graphviz, npm
  • The ontology diff GitHub action, a tool that allows you to create diffs for you ontology pull requests, is now automatically synced with your ODK setup (pull).
  • Added workflows option to ODK config. This allows users to choose which workflows (at the moment GitHub actions-based) should be automatically synchronised.
  • Custom ROBOT SPARQL reports now consider the imports by default (pull)
  • Base IRIs can now be configured for ROBOT report, similar to what OBO Dashboard does
  • Technical
    • Run internal make and $(MAKE) to ensure that parameters are propagated correctly (issue).
    • Mirror goal is only run when mirrors have been downloaded (pull)
    • src/ontology/run.sh can now be configured with a ODK_JAVA_OPTS parameter at runtime, rather than just with a robot_java_args option in the projects ODK config file. This allows to more easily run releases across environments with different levels of memory. Example: ODK_JAVA_OPTS=-Xmx4G ODK_DEBUG=yes ./run.sh make odkversion
    • src/ontology/run.sh warns the user in certain cases to update their local ODK image.
    • Better linebreaks in Makefile to make lines more.
  • Documentation
  • Bugs
    • The automatic docs workflow now correctly uses: mhausenblas/mkdocs-deploy-gh-pages@master.
    • In ODK 1.3.0 prepare_release depended on all, which caused some cyclicity for some customised setups. This is now changed to a separate all_odk goal.
    • Simple ontology release artefacts now correctly depend on the simple seed.
    • Similar to subset declarations, ODK now injects synonymtype declarations when extracting a module.
    • diff.yaml no longer added by default, has to be configured.

For changes on previous versions see complete CHANGELOG

Automated GitHub Changelog:

New Contributors

Full Changelog: v1.3.0...v1.3.1

Feburary 2022 Release (1.3.0)

24 Feb 07:33
0f043fd
Compare
Choose a tag to compare

v1.3.0 (24 February 2022)

As always, update your local ODK with docker pull obolibrary/odkfull.

Breaking change for users of DOSDP in CI (GitHub Actions)

A new tool was introduced for users of DOSDP for better validation. See this comment about updating your CI pipeline.

New features:

  • New DOSDP workflow for matching patterns: This is a powerful workflow that "matches" your DOSDP YAML templates against your ontology to actually create TSVs - so the other way around of what we usually do.
    • To set this up, you introduce a new "pattern_pipelines_group" called matches, which can then be invoked with sh run.sh make dosdp-matches-% to match all configured DOSDP tempates with the ontology.
    • Example see here.
  • Experimental feature-diff feature: When creating a pull request, the ODK can now automatically make a comment to the pull request informing editors of changes to the ontology (issue)
  • Adding Relation Graph to ODK (pull request, pull request)
  • New QC checks:
    • IRIs in labels: Often when using autogenerated labels in DOSDP we do not realise we are accidentally missing labels to for generating class names. We introduced a QC check to protect against that (pull request, issue)
    • Ensuring that the range of never_in_taxon:, present_in_taxon: , oboInOwl:inSubset, rdfs:seeAlso, foaf:depicted_by and dcterms:contributor is always IRI (issue, pull request)
  • Switched the default Ontology documentation theme from readthedocs to material (pull request)
  • New DOSDP tools version 0.19.1

Bugfixes:

  • Many faulty dependencies in the Makefile that triggered unnecessary re-runs of make were removed (issue)
  • Some major refactoring of the main Makefile (pull request). This includes, in particular, a smarter way to deal with web-dependencies (mirrors, dosdp-templates, components).
  • Fixes to documentation (Managing dependencies with base files, Import seed system)
  • Some fixes to DOSDP pipeline setup (issue)
  • Git main branch was hardcoded to master during the seeding process, now uses the ODK config file (pull request, issue)
  • Making sure the repo seeding process preserves file privileges. This ensures, in particular, that run.sh is executable and can be run using ./run.sh instead of sh run.sh (issue, pull)
  • DOSDP Validation now uses python up to date library
  • Auto-deployment of ODK docs fixed (ODK internal, pull request), but much of ODK's docs has moved to OBOOK (OBO Academy)
  • Fixing some issues with default values when using robot_report in your ODK config (pull request)

New commands:

  • sh run.sh make help: show frequently used ODK commands and their usage (issue)
  • sh run.sh make TSV=my.tsv validate-tsv: Experimental TSV validation feature with TSValid (issue)
  • sh run.sh make validate-all-tsv: Validate all TSV tables configured in repo with TSValid (issue)
  • sh run.sh make dosdp-matches-%: Run the "matches" pipeline, see above. (issue)
  • sh run.sh make clean: Clean up some temporary files created by the build. (issue)

Recommendations for ontology maintainers:

  • We have overhauled the SPARQL query management to make it more customisable (pull request). We recommend, before updating to the latest ODK, to delete old and potentially stale SPARQL queries like this: rm ../sparql/owldef-violation.sparql ../sparql/nolabels-violation.sparql ../sparql/def-lacks-xref-violation.sparql ../sparql/obsolete-violation.sparql ../sparql/redundant-subClassOf-violation.sparql.
  • You should periodically review the contents of your src/ontology/custom.Makefile - if you overwrite a lot of goals, you should review wether the overwrite is still necessary. This ODK release has a lot of revisions to the Makefile, so this should be a good opportunity to check this!