Repository navigation
Releases
Erden 0.2.2
Erden 0.2.2 brings the erden command line tool (also available as den) to npm, makes erden check up to twice as fast on large ontologies, accepts ontology IRIs with capital letters in the host, and fixes several problems with add, install and pack.
Install
Linux (x64 and arm64, glibc or musl) and macOS on Apple silicon:
curl -fsSL https://erden.sh/install | shWindows x64, in PowerShell:
irm https://erden.sh/install.ps1 | iexHomebrew (macOS on Apple silicon, Linux x64 and arm64):
brew install erden-sh/tap/erdenScoop (Windows x64):
scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erdenNew: npm. For one project (in CI, for example), as a development dependency that your lockfile pins:
pnpm add -D @erden-sh/cli # or: npm install --save-dev @erden-sh/cli
pnpm exec erden check # or: npx erden checkAlready on 0.2.0 or 0.2.1? Run erden upgrade, or brew upgrade erden or scoop update erden if you installed with Homebrew or Scoop. From 0.1.0, run the install command above once more.
Alpine Linux: install the C++ runtime first, with apk add libstdc++ libgcc.
What's new
- The CLI is on npm as
@erden-sh/cli.@erden-sh/cliholds only a small launcher forerdenandden. Erden itself is in one package per platform,@erden-sh/cli-<platform>(linux-x64,linux-arm64,linux-x64-musl,linux-arm64-musl,darwin-arm64,win32-x64), each holding that platform's release archive file for file, byte for byte. They are optional dependencies, so your package manager installs only the one for your machine; installing with--no-optionalor--omit=optionalleaves Erden out. No package runs an install script. The release workflow publishes them with npm provenance, whichnpm audit signatureschecks. erden checkis faster on large ontologies. The steps that run before and after the reasoner and the SHACL validator now do far less repeated work. On QUDT units, a check went from 105 s to 50 s, and on Brick from 154 s to 84 s; smaller projects such as OBO CL and DCAT-AP also finish sooner. The engines get exactly the same requests and the reports are byte for byte the same as before.
What's fixed
- Ontology IRIs with capital letters in the host work.
https://sBPMN.github.io/2.0/and similar IRIs are now accepted byinit,install,check,packandpublish, and are kept exactly as you wrote them. Anything else that is not canonical, such as an upper-case scheme, a default port or dot segments, is still refused. erden add,erden installanderden updatename what is missing. When the registry does not publish an alias or ontology IRI, the error now says which one, instead of only "could not be resolved". The error codes are unchanged.- Renaming your project no longer breaks
erden install. When you change your project's alias or canonical IRI,installupdateserden.lockby itself. With--frozen-lockfileor--offlineit still refuses, but names the old and new root and the command that fixes it. .erdencan be deleted with a plainrm -rf. Its directories are now writable by you; the installed files stay read-only, and edits to them are still detected. The first install with 0.2.2 rebuilds an existing.erdenonce. An older 0.2.x CLI asks to repair an install written by 0.2.2.erden pack --outputworks in busy folders. Packing into a folder with many files, such as/tmp, no longer fails withPACK_PROJECT_SOURCE_INVALID. The help now says the output file must end in.erdenpkgand be outside the project.- Pack follows your
.gitignore.erden packanderden publishnow honor every.gitignorefrom your git repository's root down to your project and its subfolders, so git-ignored files stay out of your package. They list any data files those rules leave out. The manifest,erden.lock, license and notice files and the files your manifest's sources read are always included. A project without.gitignorefiles packs to the same bytes as before.
The reasoner and erden-shacl engines are the same builds as in 0.2.0 and 0.2.1.
Verify your download
SHA256SUMS lists the SHA-256 digest of every asset. On Linux, after downloading:
sha256sum -c --ignore-missing SHA256SUMSEvery asset also has a build provenance attestation from the GitHub Actions run that built it. With the GitHub CLI:
gh attestation verify erden-0.2.2-linux-x64.tar.xz --repo erden-sh/erdenThe install scripts carry the digest of every archive in this release and refuse any other file. The npm packages carry npm provenance from the same release workflow; npm audit signatures checks it in a project that installed them.
License
Apache License 2.0; the copyright holder is Ingenio Ventures Inc. This is a pre-1.0 release: commands and file formats can still change.
Erden 0.2.1
Erden 0.2.1 is a bug-fix release of the erden command line tool (also available as den). It fixes erden login against erden.sh, lets erden check pass ontologies whose SHACL shapes it used to fail for no real reason, explains SHACL failures better, and fixes two ways the tool could get stuck or crash.
Install
Linux (x64 and arm64, glibc or musl) and macOS on Apple silicon:
curl -fsSL https://erden.sh/install | shWindows x64, in PowerShell:
irm https://erden.sh/install.ps1 | iexHomebrew (macOS on Apple silicon, Linux x64 and arm64):
brew install erden-sh/tap/erdenScoop (Windows x64):
scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erdenAlready on 0.2.0? Run erden upgrade, or brew upgrade erden or scoop update erden if you installed with Homebrew or Scoop. From 0.1.0, run the install command above once more.
Alpine Linux: install the C++ runtime first, with apk add libstdc++ libgcc.
What's fixed
erden login --registry https://erden.shworks. erden.sh is the website; the registry ishttps://registry.erden.sh. Login used to fail at once withDEVICE_LOGIN_FAILEDand no reason. Now--registry https://erden.sh(orwww.erden.sh) means the hosted registry forlogin,logout,publicationandquery, and the tool says so. Your sign-in is only ever sent to and stored forhttps://registry.erden.sh. A project manifest that names erden.sh as its registry is not rewritten: networked commands stop withREGISTRY_IS_WEBSITEand tell you the value to set. When a login fails because the address is not an Erden registry, the message now says so and names the hosted registry.- SHACL shapes that can never fire no longer fail
erden check. Every shape must pass a self-test: a small example graph has to make it report a result. Two kinds of shape could never pass, whatever example you wrote, so projects that had them always failed: a shape without its own target that another shape uses (for example a property shape typedsh:PropertyShapeinsidesh:property [ ... ], or a shape insidesh:not), and a targeted shape with no constraint (for example an OWL class that is also a node shape with onlysh:targetClass). These are no longer self-tested; the shape that uses them is. Every shape that has a constraint still has to fire. Real-world layers such as AAS 3.2 and UCO core 1.5 pass now. This is recorded as validation policy v3. - A SHACL failure says why. When SHACL failed only because some shapes did not fire on their self-tests,
erden checkshowed "failed" next to zero violations. It now says, for example,SHACL: failed (shacl-conformance: 0 violations; 29 of 40 shapes did not fire on their self-test fixtures), and lists those shapes.erden publishanderden publication --reportexplain the possible causes and point you toerden check. - An interrupted download no longer blocks the package store. If a download stopped halfway, every later
erden installfailed as "busy" anderden store prunerefused to run until you deleted hidden folders by hand. The store now cleans up a download left untouched for 10 minutes by itself. While a download may still be running,installandprunesay so and when to try again. - No more crash on HTTP/1.0 responses. A registry or proxy that answered with HTTP/1.0 could crash the tool. Registry requests now use Node.js's own HTTP client, and a response that is cut short is reported as a
CLIENT_TRANSPORTerror. erden packrefuses what the registry would refuse. Pack now runs the same checks on the manifest,erden.lockand archive that the registry runs on an upload, such as the title and description length limits and whether the lock matches the manifest. A package the registry would turn down fails locally withPACK_PROJECT_CANDIDATE_INVALIDand the reason, before anything is uploaded.
The reasoner and erden-shacl engines are the same builds as in 0.2.0.
Verify your download
SHA256SUMS lists the SHA-256 digest of every asset. On Linux, after downloading:
sha256sum -c --ignore-missing SHA256SUMSEvery asset also has a build provenance attestation from the GitHub Actions run that built it. With the GitHub CLI:
gh attestation verify erden-0.2.1-linux-x64.tar.xz --repo erden-sh/erdenThe install scripts carry the digest of every archive in this release and refuse any other file.
License
Apache License 2.0; the copyright holder is Ingenio Ventures Inc. This is a pre-1.0 release: commands and file formats can still change.
Erden 0.2.0
Erden 0.2.0 makes the erden command line tool (also available as den) easier to install, update and remove, adds Alpine Linux builds, and makes the downloads smaller and the tool faster to start.
Install
Linux (x64 and arm64, glibc or musl) and macOS on Apple silicon:
curl -fsSL https://erden.sh/install | shWindows x64, in PowerShell:
irm https://erden.sh/install.ps1 | iexHomebrew (macOS on Apple silicon, Linux x64 and arm64):
brew install erden-sh/tap/erdenScoop (Windows x64):
scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erdenAlpine Linux: install the C++ runtime first, with apk add libstdc++ libgcc. The installer checks for it and tells you if it is missing.
Coming from 0.1.0? 0.1.0 has no erden upgrade command yet, so run the install command above once more. From 0.2.0 on, erden upgrade does it for you.
What's new
erden upgradeupdates the CLI to the latest release. It downloads the new release from GitHub, checks it against the release'sSHA256SUMS, and installs it with that release's own install script.erden upgrade --checkonly tells you whether a newer version exists. It works for installs made by the install scripts; for Homebrew and Scoop installs it tells you to runbrew upgrade erdenorscoop update erdeninstead.- Update notice. Once a day at most, when you run
erdenin a terminal, it checks in the background for a newer release and prints one line if there is one. It never runs in CI. SetERDEN_NO_UPDATE_NOTIFIER=1to turn it off. - Better install scripts. They add Erden to your
PATH(use--no-modify-path, or-NoModifyPathon Windows, to leave it alone).--version 0.2.0(or-Version) installs a given release.--uninstall(or-Uninstall) removes Erden again and keeps your package store and sign-ins. - Homebrew and Scoop. Erden is now in the
erden-sh/tapHomebrew tap and theerden-sh/scoop-bucketScoop bucket, which are updated with every release. - Alpine Linux. New musl archives for x64 and arm64.
- Smaller and faster. The CLI now ships as a single executable with Node.js built in, and the archives leave out files the CLI does not need. Linux and macOS archives also come as
.tar.xz, about a third smaller than the.tar.gz; the install script uses the.tar.xzwhen your machine can unpack it. On Linux x64, commands start in about half the time or less. - Shell completions.
erden completions <bash|zsh|fish|powershell>prints a completion script for your shell. The Homebrew formula installs them for you. - macOS: the macOS executable is signed ad hoc, not with an Apple Developer ID.
Telemetry
Starting with this release, the CLI sends anonymous usage data. Each event holds only the command's name, whether it succeeded, how long it took, the CLI version and channel, your OS and CPU type, and a random install ID made on your machine. It never holds file paths, project or package names, arguments, error messages, or anything about you or your account. The first run prints a notice and sends nothing. Telemetry is always off in CI.
To turn it off, run erden telemetry disable, or set ERDEN_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1. erden telemetry status shows whether it is on. docs/telemetry.md lists exactly what is sent and stored, and for how long.
Verify your download
SHA256SUMS lists the SHA-256 digest of every asset. On Linux, after downloading:
sha256sum -c --ignore-missing SHA256SUMSEvery asset also has a build provenance attestation from the GitHub Actions run that built it. With the GitHub CLI:
gh attestation verify erden-0.2.0-linux-x64.tar.xz --repo erden-sh/erdenThe install scripts carry the digest of every archive in this release and refuse any other file.
License
Apache License 2.0; the copyright holder is Ingenio Ventures Inc. This is a pre-1.0 release: commands and file formats can still change.
Erden 0.1.0
Erden is a registry for ontologies. This release holds the local tools: the erden command line tool (also
available as den), which checks an ontology project, packs it and talks to the hosted registry. Each archive
carries everything the tool runs on: Node.js 24.17.0, the Erden reasoner and the erden-shacl validator.
This is a pre-1.0 release. Commands and file formats can still change. The reasoner covers a documented
part of OWL 2, not all of it: the glossary lists what it reasons over today.
The hosted registry. The tool talks to https://registry.erden.sh by default, and the docs are at
https://erden.sh. The registry is invite-only and has no public packages yet, so checking a project on your
own machine is what you can do with this release today.
Install
Linux x64 and arm64 (glibc) and macOS on Apple silicon:
curl -fsSLO https://github.com/erden-sh/erden/releases/download/v0.1.0/install.sh
sh install.shWindows x64: download install.ps1 from this release and run
powershell -ExecutionPolicy Bypass -File install.ps1.
Each script carries the digests of the four archives and refuses any other file. To install without network
access, download the archive for your platform and the script, carry both over, and run sh install.sh --archive <file>, or install.ps1 -Archive <file> on Windows. SHA256SUMS lists every asset.
License and contributions
Apache License 2.0; the copyright holder is Ingenio Ventures Inc. Outside pull requests are not accepted yet, and issues are welcome.
Built from 71e6752; every archive was built twice and matched its committed pin.