Skip to content

API Stability and Compatibility

From version 0.18.7 onward, you can pin your ohi SDK or CLI release. We maintain compatibility with those releases for a long time, so changes to ohi.dev do not require an SDK upgrade.

If we need to make a breaking API change, we will introduce a new API version alongside the one your installed release uses.

A file on ohi.dev does not change after it is published. So a project with a committed ohi.lock.json gets the same files every time.

Non-breaking API changes preserve compatibility with existing clients. They include adding new file formats or optional metadata fields while keeping existing formats and fields available.

When reading responses from ohi.dev, older clients ignore additional metadata fields and skip files in formats they do not recognize. For example, if ohi.dev adds a new format, ohi 0.18.7 does not list those files, and ohi get w3c/dcat@3 --format owl-turtle still downloads the OWL Turtle file.

A newer version of ohi can change its commands, options and SDK functions. If your scripts or code depend on them, stay on one version of ohi and read the release notes before you upgrade.