Skip to content

v2026.12.01

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 02:34
· 33 commits to primary since this release
83539ba

Highlights

Sandboxed extensions (extension: imports). An app can now run third-party code with a smaller set of permissions than its own. Declare the extension in ende.json with its source and grant, then import it with import { f } from "extension:@scope/name". Each extension runs in its own worker. It gets the app's grant intersected with the extension's own manifest, never more than either. ende.lock pins its source, manifest, grant and per-file hashes, and any change stops the run until ende install re-approves it.

Per-package permissions (isolate). isolate rules in ende.json run chosen dependencies in their own worker with narrowed permissions. A sandbox can't do more than the app, and the app's deny rules and revokes still apply to it. Calls are async by default, and "sync": true makes them blocking. "lazy": true starts the worker on first call. Classes, callbacks and Ende.Root handles can cross the boundary. Approved grants are pinned in ende.lock. ende grants (formerly ende audit) shows what each sandbox and extension may do.

Ende.openRoot (unstable, --unstable-fs). It gives traversal-resistant file access under a directory, modeled on Go's os.Root. .. and symlinks work while they stay inside the root, and anything escaping it throws Ende.errors.PathEscape.

A friendlier, more predictable CLI.

  • Help: every command's help starts with examples and ends with a docs link.
  • Machine-readable output: --json on test, check, outdated, list, why and task, and tab-separated --plain on list, outdated, why and task.
  • Exit codes: 0 success, 1 failure, 2 usage error, 130 interrupted.
  • Color: only when stdout and stderr are terminals.
  • Auth tokens file: tokens can now live in a file instead of the environment. On macOS it's ~/Library/Application Support/ende/auth_tokens.
  • Concurrent edits: parallel ende add and ende remove runs no longer lose dependencies, and ende.lock writes merge instead of overwriting.
  • Network timeouts: 30 s to connect and 60 s idle, configurable with --http-timeout or ENDE_HTTP_TIMEOUT.
  • Second Ctrl-C: in ende task, it now stops the task's whole process tree.

Verified runtime downloads. ende compile and ende desktop check downloaded runtime archives against SHA-256 sums built into the release. They refuse an archive that doesn't match, and re-download a cached copy that doesn't match.

Unicode 17, via V8 152.2 and ICU 78.2.

Breaking and behavior changes

  • Imports from deno.land need --allow-import=deno.land. It's no longer a default import host.

  • Short flags mean one thing each:

    • -f is --force (it was task -f for --filter);
    • -n is --dry-run (it was install -n for --name);
    • -p is --print (it was x -p for --package);
    • -u is --update-snapshots (it was outdated -u for --update);
    • -e is --entrypoint (it was clean -e for --except);
    • -r is --recursive.

    The old meanings still work for this release, with a warning.

  • Bare words: a word with no extension, slash or scheme is now treated as an unknown command, with a suggestion. Use ./word or ende -- word to run a file with that name.

  • ende audit is now ende grants. audit still works, with a warning.

  • Auth tokens match the exact host only. Use *.example.com to send a token to subdomains; it doesn't match example.com itself. If an existing setup relied on the old suffix match, Ende warns once per host.

  • Environment proxies: HTTP_PROXY, HTTPS_PROXY and ALL_PROXY no longer apply to localhost, *.localhost or loopback addresses. Ende.createHttpClient({ proxy }) still proxies them.

  • Env files can only set variables for your program. Ende's own settings in an env file (most ENDE_/DENO_ names, proxies, TLS roots, registry and so on) are ignored with a warning, and a value set in your shell always wins.

  • Compiled binaries combine several env files the way ende run does: the later file wins.

  • localStorage and the Cache API moved from the cache folder to a data folder, with a one-time move, and ende clean keeps them.

    • On Windows, the tokens file and the data folder live under %LOCALAPPDATA% (ende-config, ende-data), outside the roaming profile.
    • ende clean refuses to run if the cache folder contains them.
  • Deno's folders: DENO_DIR, DENO_INSTALL_ROOT and similar variables are no longer read, so Ende no longer writes into a co-installed Deno's folders.

  • Sandbox rules in workspaces: isolate or extensions in a workspace member's ende.json is now an error instead of being skipped. The same goes for running inside a folder that would bypass the workspace root's rules, including a symlinked member entered with cd.

  • ende ci:

    • fails when ende.lock has no record of a declared isolate rule;
    • fails when ende.lock is missing and there is something to record;
    • reports duplicate spellings of one isolate rule as an error.
  • --lock takes a value only with = (--lock=path).

  • QuickJS: ende compile --engine quickjs is refused by release builds, because QuickJS runtime archives aren't published yet.

Security fixes

  • Deny rules now hold through symlinks.
  • Renaming a directory that contains a denied path is denied.
  • ende eval now applies --deny-read and --deny-write; before, they were silently ignored.
  • A cached remote module can no longer redirect to a file: URL or any other non-http(s) scheme.
  • Env files can no longer replace or outrank the user's auth tokens.
  • ende publish runs git with fsmonitor and repo-defined filters turned off, so a project can't run commands through it.

Other fixes

  • Clearer errors for extensions, sandboxes and lockfiles, including a missing lockfile versus an out-of-date one.
  • ende check no longer writes extension stubs into ende.lock.
  • TypeScript: compilerOptions.ignoreDeprecations now reaches the TypeScript 6 checker.
  • desktop.backend is validated.
  • Event loop: it stays alive while queued setImmediate callbacks are pending.
  • Ende no longer aborts when stderr closes during a progress bar.

Commits

  • feat(auth): send auth tokens only to the host they name
  • feat(cli): JSON and plain output, a tokens file, safer env files, and localStorage out of the cache
  • feat(cli): exit 2 for usage errors, no color in pipes, and no bare-word scripts
  • feat(cli): help with examples and docs links, and one meaning per short flag
  • feat(cli): rename audit to grants, fix the approval prompt, and stop reading Deno's folders
  • feat(compile): verify runtime archives against hashes embedded at release
  • feat(extensions): pin extensions in the lockfile and re-confirm changes
  • feat(extensions): type extension imports for ende check and the editor
  • feat(fs): add Ende.openRoot for traversal-resistant file access
  • feat(isolate): opt-in lazy start for sandboxes, and faster large values
  • feat(isolate): opt-in sync calls, most-specific rules, and no shared memory across sandboxes
  • feat(isolate): parse per-package permission rules and report them with ende audit
  • feat(isolate): pass classes, objects and callbacks across the sandbox boundary
  • feat(isolate): pass roots into sandboxes, nest rules, and keep sandboxes from writing code
  • feat(isolate): pin sandbox grants in ende.lock, apply package manifests, and type sandboxed imports
  • feat(isolate): run sandboxed packages in their own worker with narrowed permissions
  • feat(permissions): stop allowing imports from deno.land by default
  • feat(pm): safe concurrent add/remove, merged lockfile writes, and network timeouts
  • feat: add sandboxed extensions (extension: imports)
  • feat: upgrade to Unicode 17
  • fix(cache): refuse redirects from remote modules to other schemes
  • fix(check): match the type checker's Unicode data to the engine
  • fix(cli): don't declare the private-folder builder mutable on Windows
  • fix(cli): say which DENO_* names are ignored, and link grants to its docs
  • fix(core): keep the event loop alive while refed immediates are queued
  • fix(deps): hold libz-sys at 1.1.20 for Windows static-CRT builds
  • fix(desktop): extract zip archives through a root
  • fix(env): keep a project's env file from outranking the user's settings
  • fix(eval): accept allow flags again alongside the forced allow-all
  • fix(extensions): type remote and jsr extensions in check and the editor
  • fix(fetch): don't send this machine's traffic through an environment proxy
  • fix(fs): deny renaming a directory that holds a denied path
  • fix(isolate): name the same entry in a refusal on every file system
  • fix(isolate): refuse sandbox rules Ende would otherwise skip
  • fix(lockfile): name --frozen=false when lock.frozen freezes ende install
  • fix(lsp): send plain text for test failures, and update tests for Stage 3 color and exit codes
  • fix(permissions): make deny rules hold through symlinks, and in eval
  • fix(tests): keep zip and zlib out of the shared test library
  • fix(windows): keep the tokens file and localStorage out of the roaming profile
  • fix(workspace): refuse to drop an outer workspace's sandbox rules
  • fix(workspace): refuse to skip sandbox rules for a member entered through a link
  • fix: clearer errors and small fixes for extensions, sandboxes and lockfiles
  • fix: don't abort when stderr closes, and stop a task's whole tree on a second Ctrl-C
  • fix: resolve gpu-allocator to the windows crate wgpu-hal uses

Full Changelog: v2026.11.10...v2026.12.01