Repository navigation
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.