Skip to content

Releases

Erden 0.2.2

Choose a tag to compare

@github-actions github-actions released this 25 Nov 14:15
110b261

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 | sh

Windows x64, in PowerShell:

irm https://erden.sh/install.ps1 | iex

Homebrew (macOS on Apple silicon, Linux x64 and arm64):

brew install erden-sh/tap/erden

Scoop (Windows x64):

scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erden

New: 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 check

Already 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/cli holds only a small launcher for erden and den. 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-optional or --omit=optional leaves Erden out. No package runs an install script. The release workflow publishes them with npm provenance, which npm audit signatures checks.
  • erden check is 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 by init, install, check, pack and publish, 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 install and erden update name 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, install updates erden.lock by itself. With --frozen-lockfile or --offline it still refuses, but names the old and new root and the command that fixes it.
  • .erden can be deleted with a plain rm -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 .erden once. An older 0.2.x CLI asks to repair an install written by 0.2.2.
  • erden pack --output works in busy folders. Packing into a folder with many files, such as /tmp, no longer fails with PACK_PROJECT_SOURCE_INVALID. The help now says the output file must end in .erdenpkg and be outside the project.
  • Pack follows your .gitignore. erden pack and erden publish now honor every .gitignore from 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 .gitignore files 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 SHA256SUMS

Every 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/erden

The 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

Choose a tag to compare

@github-actions github-actions released this 23 Nov 20:12
7971c3a

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 | sh

Windows x64, in PowerShell:

irm https://erden.sh/install.ps1 | iex

Homebrew (macOS on Apple silicon, Linux x64 and arm64):

brew install erden-sh/tap/erden

Scoop (Windows x64):

scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erden

Already 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.sh works. erden.sh is the website; the registry is https://registry.erden.sh. Login used to fail at once with DEVICE_LOGIN_FAILED and no reason. Now --registry https://erden.sh (or www.erden.sh) means the hosted registry for login, logout, publication and query, and the tool says so. Your sign-in is only ever sent to and stored for https://registry.erden.sh. A project manifest that names erden.sh as its registry is not rewritten: networked commands stop with REGISTRY_IS_WEBSITE and 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 typed sh:PropertyShape inside sh:property [ ... ], or a shape inside sh:not), and a targeted shape with no constraint (for example an OWL class that is also a node shape with only sh: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 check showed "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 publish and erden publication --report explain the possible causes and point you to erden check.
  • An interrupted download no longer blocks the package store. If a download stopped halfway, every later erden install failed as "busy" and erden store prune refused 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, install and prune say 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_TRANSPORT error.
  • erden pack refuses what the registry would refuse. Pack now runs the same checks on the manifest, erden.lock and 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 with PACK_PROJECT_CANDIDATE_INVALID and 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 SHA256SUMS

Every 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/erden

The 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

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:30
a77b5b8

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 | sh

Windows x64, in PowerShell:

irm https://erden.sh/install.ps1 | iex

Homebrew (macOS on Apple silicon, Linux x64 and arm64):

brew install erden-sh/tap/erden

Scoop (Windows x64):

scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erden

Alpine 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 upgrade updates the CLI to the latest release. It downloads the new release from GitHub, checks it against the release's SHA256SUMS, and installs it with that release's own install script. erden upgrade --check only 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 run brew upgrade erden or scoop update erden instead.
  • Update notice. Once a day at most, when you run erden in a terminal, it checks in the background for a newer release and prints one line if there is one. It never runs in CI. Set ERDEN_NO_UPDATE_NOTIFIER=1 to turn it off.
  • Better install scripts. They add Erden to your PATH (use --no-modify-path, or -NoModifyPath on 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/tap Homebrew tap and the erden-sh/scoop-bucket Scoop 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.xz when 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 SHA256SUMS

Every 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/erden

The 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

Choose a tag to compare

@github-actions github-actions released this 18 Nov 22:12
facce17

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.sh

Windows 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.