Follow along with
Ende’s development.
This release adds TypeScript 7 type checking behind --unstable-tsc7, gives desktop apps a stable app:// origin so their web storage persists on macOS and Windows, and brings structuredClone, the global object and many other web APIs closer to the specs. It also fixes a long list of CLI and desktop packaging bugs. Many fixes are ported from Deno v2.9 and upstream pull requests, with the original authors credited in the commit history.
targetSha256. Each patch entry in a desktop app’s update manifest now needs targetSha256, the SHA-256 of the new version’s library after the patch is applied: { "name": "…", "sha256": "…", "targetSha256": "…" }. desktop.app.identifier, or the name it falls back to, can’t form a valid host name: for example, a name made only of digits, or localhost. When desktop.app.identifier is unset, the build warns: renaming the app later would change its origin and lose its stored data.desktop.app.identifier, the bundle id is now derived the same way as the app’s origin, so my_app gives sh.ende.desktop.my-app. It used to keep _ and ., and Apple doesn’t allow _. This affects only apps whose name has characters other than letters, digits and single spaces. An installed copy of such an app loses its notification permissions and WebKit data once. The build warns when the id changes. Set desktop.app.identifier to keep it stable. A name that derives no id now fails the build with the same advice.localStorage and caches (the main module’s, not the webview’s) move from <data>/<app name> to <data>/<identifier>/storage. <data> is ~/Library/Application Support on macOS, %LOCALAPPDATA% on Windows and ~/.local/share on Linux. On first launch the old folder is renamed into place if the new one doesn’t exist yet. Nothing is merged or deleted: if both exist, the new one is used. If the rename fails, the app logs why and keeps using the old folder. ende compile binaries are unchanged.<app> is already installed." Apps installed by earlier MSIs are found and replaced too. Bump version in ende.json for every MSI release: only its first three numeric fields count, and a rebuild with the same version installs as a repair, not an upgrade.--compress works again on macOS, and opens through LaunchServices. Building and signing a --compress app failed for every app. The compressed app now extracts once and opens the real app with LaunchServices, so tray icons (Ende.Tray) show, the app has one Dock icon, and opening it again brings it to the front. Because of the handoff, running the compressed app’s executable from a terminal no longer shows the app’s output, environment or exit code, and open -W returns at once. Run the uncompressed build to debug.structuredClone and postMessage follow the specs more closely. DataCloneError instead of arriving as {}, both at the top level and nested in a value: AbortController, Navigator, WorkerNavigator, NavigatorUAData, Location, WorkerLocation, OffscreenCanvas, ImageBitmapRenderingContext, CacheStorage, Cache, LockManager, Lock, Storage, the stream readers, writers and controllers, WebSocketStream, the WebTransport interfaces and every WebGPU interface.{}.InvalidStateError, per the HTML spec).quota, closeCode, source, reason, …). They used to come back as a plain DOMException.DataCloneError instead of crashing the process. An error thrown while deserializing now reaches the caller (and a messageerror event) instead of "could not deserialize value".self, navigator, localStorage, sessionStorage, caches, crypto, location and closed throw a TypeError when called on anything other than the global object, as in browsers. So do event handler properties (onerror, onload, onmessage, …): on the global they throw for any other receiver, including a Proxy of the global, and on an EventTarget interface (such as AbortSignal, WebSocket or Worker) they throw unless the receiver is an instance of it. A nullish receiver means the global object, so a detached getter or setter of the global works (it used to throw).GPUBufferUsage, GPUMapMode, GPUTextureUsage, GPUShaderStage and GPUColorWrite are now objects with read-only constants, not classes, as in browsers. Their types are namespaces too. The values are unchanged. WGSLLanguageFeatures, the type of navigator.gpu.wgslLanguageFeatures, is now a global and declared in the types.Intl.Formattable and Intl.DateTimeFormatRangePart are removed. Use TypeScript’s Intl.FormattableTemporalObject and Intl.DateTimeRangeFormatPart. Passing a Temporal.ZonedDateTime to Intl.DateTimeFormat#format() or formatRange() is now a type error; it already threw a TypeError at run time.WebSocketCloseInfo.code is now closeCode, matching the WebSocketStream spec and the runtime. Reading info.code type-checked but was always undefined; rename it to closeCode.byteLength on an ArrayBuffer or SharedArrayBuffer, and byteLength, byteOffset and buffer on a DataView, now print in brackets after the contents, as in Node.js: ArrayBuffer { [Uint8Contents]: <01 02>, [byteLength]: 2 }. Tests that compare Ende.inspect or console.log output may need updating. Inspecting a DataView whose buffer was detached or shrunk no longer prints an internal formatting error.on<event> = null removes the listener. Setting an event handler property to null now unregisters its listener, so, for example, a process no longer waits for an AbortSignal.timeout() whose onabort was cleared. Setting a handler again adds it at the end of the listener list, not at its old position.close() while connecting) or drops without a close frame now fires close with code 1006 and wasClean: false, as in browsers. It used to be code 0. This applies to sockets from Ende.upgradeWebSocket too.*.localhost names connect to loopback. Names such as app.localhost resolve like localhost in fetch, WebSocket, Ende.connect, Ende.connectTls, Ende.listen and QUIC, as in browsers. They used to go to the system resolver, which fails in many containers. A hosts-file entry that points such a name elsewhere is now ignored, and --deny-import checks see the loopback address.{ hostname: ":domain(.*)" }`, is returned as { domain: "localhost" } instead of { "0": "localhost" }.ende run and ende serve follow a symlinked entrypoint. A local entrypoint is loaded from its real path, so a script symlinked into a bin directory resolves its relative imports next to the real file. import.meta.url now names the real path, also when a directory on the way is a symlink (such as /tmp on macOS).compilerOptions.noUnusedLocals no longer fails on generated imports. A snippet that references no export no longer loads the documented module, so that module’s top-level code doesn’t run for it. This applies to ende test --doc and ende check --doc.ende fmt may reformat Markdown once. ende fmt now uses dprint-plugin-markdown 0.29. It keeps definition lists and formats documents the old version rejected, such as escaped brackets in image alt text. Existing Markdown may reformat once (about 1 in 9 files in our tests), mostly [//]: # (comment) becoming [//]: # "comment", code spans split across lines being rejoined, and some rewrapping. The rendered output doesn’t change. HTML and code spans are left as written; set "html.skipFormat": false or "wrapCodeSpans": true under fmt.markdown to opt in.ende upgrade won’t overwrite a packaged binary. On Linux, if the running ende was installed by a Debian package (apt/dpkg), ende upgrade stops and names the package; upgrade with the package manager instead. --output still writes a new binary anywhere, including over the packaged one.ende upgrade --unsafely-ignore-certificate-errors needs = for hosts. Write --unsafely-ignore-certificate-errors=host,.... A bare flag means all hosts, so ende upgrade --unsafely-ignore-certificate-errors 2026.10.14 now upgrades to that version. It used to read the version as a host and upgrade to the latest release.--unstable-tsgo is gone. It was a leftover that did nothing. The flag is now rejected as unsupported, and ENDE_UNSTABLE_TSGO is ignored. Use --unstable-tsc7 (see "New").ende check --unstable-tsc7 type-checks with TypeScript 7. TypeScript 7.0.2’s native compiler ships inside ende and is unpacked to Ende’s cache the first time it runs, after a checksum check. Turn it on with --unstable-tsc7 or "unstable": ["tsc7"] in ende.json. It’s used by every command that type-checks: check (including --watch, --doc and --doc-only), run --check, test, bench, compile and publish. TS 6 stays the default, and the language server stays on TS 6. /// <reference lib>, Wasm, CSS and bytes/text imports, and @ts-types / @deno-types / X-TypeScript-Types resolve as they do under TS 6. Diagnostics point at your files and URLs in the usual format, with related information and exact underlines. Ende’s additions to the DOM types, such as "brotli" in CompressionFormat, are available. A check that passed is cached until something changes. Nothing is written into your project: the generated tsconfig and module copies live in Ende’s cache.esModuleInterop is always on, so TS1192 no longer appears for default imports of export = modules; and diagnostics may be listed in a different file order.baseUrl. TypeScript 7 removed baseUrl. Under --unstable-tsc7 it’s dropped with a warning, and Ende still resolves "paths" and "rootDirs" against it. Other compiler options that TS 7 removed give an error that names the option.ENDE_TSC_BIN points Ende at a different tsc binary instead of the bundled one.// @ende-types="..." works as an alias of // @ts-types="..." everywhere: check (TS 6 and TS 7), info, doc, run --check, test, bench, compile, the language server and the no-sloppy-imports lint rule. ende publish rewrites it to @ts-types in the published files, so packages keep working in Deno and on JSR. Your files on disk are unchanged.app://<identifier> instead of a random loopback port, so localStorage, IndexedDB and other per-origin storage survive restarts. Linux, CEF and the raw backend keep the loopback port for now. request.url in Ende.serve is still http://<identifier>/…. info.remoteAddr.transport is "memory" for requests from the window.ENDE_DESKTOP_WS_URL.Blob request bodies arrive empty, and cookies set in an XHR response are not stored. On macOS, CSP frame-ancestors and X-Frame-Options aren’t enforced on app:// pages, so a page that mustn’t be framed has to check window.top itself.BrowserWindow.printToPdf(options?) renders the page to a PDF and resolves with its bytes. Writing to path needs write permission, as with Ende.writeFile.new BrowserWindow({ visible: false }) creates a window that stays off screen.desktop.initialWindow in ende.json configures the first window: width, height, frameless, noActivate, transparentTitlebar, transparent, and showOnFirstLoad. Invalid values fail the build and name the key.Ende.serve): Connection: close.completed rejects when a raw HTTP/1 stream fails.Response is collected.URL.parse constructs a plain URL.URLSearchParams, …): iteration ends on any truthy done, not only true, and a primitive iterator or iterator result throws a TypeError.a.readable.pipeThrough(b) and an identity TransformStream, writes to a.writable no longer wait for someone to read b.readable.Object.create(X.prototype) no longer throws or leaves an unhandled rejection. This covered about 80 interfaces, including URL, the streams, Request, Response, the Event subclasses, AbortSignal, Blob, File and the WebGPU interfaces.Symbol.toStringTag is defined on every interface prototype. On the global scope interfaces (Window, WorkerGlobalScope, DedicatedWorkerGlobalScope) it’s a data property, as Web IDL specifies.GPUBindGroupLayout, GPUCompilationInfo, and GPUCompilationMessage instances show their contents, and GPUCompilationMessage shows lineNum and linePos (it printed line_num and line_pos).console.table right-aligns a column only when its values are integers as Number() reads them.addEventListener ignores an inherited signal in its options.GPUBuffer.mapAsync() and GPUQueue.onSubmittedWorkDone() no longer add a 10 ms delay to every call.Ende.utime and Ende.utimeSync work on read-only files on Windows. Numeric timestamps passed to them and to FsFile.utime keep their sub-millisecond part.Ende.Command throws a TypeError naming the variable when an env value isn’t a string.Ende.watchFs: a watcher opened right after closing one for the same path gets events.Array.prototype no longer crashes stack trace formatting.fmt.newLineKind. They were always written with LF. Embedded CSS and JS follow the file’s line endings.--fix writes through symlinks (it used to replace the link with a file) and keeps file permissions.! exclusions resolve through the import map, in the CLI, watch mode and the language server. A plugin mapped to null is reported.|| was removed from the Ende.lint.BinaryExpression operator type.ende lint --ext help no longer runs its sentences together.@ts-types, @deno-types, @ende-types, and @ts-self-types pragmas are rewritten like import specifiers, so a published package no longer carries pragmas that only resolve with the author’s import map.no-legacy-abort unstable feature works in compiled binaries: request.signal no longer aborts after a successful response, and the legacy-behavior warning is gone.--exclude and compile.exclude match ../ paths and paths under a symlinked working directory. The excluded files used to be embedded.--pr and --branch, so upgrading works where the system temp folder is mounted noexec.unref()’d, with --watch, --watch-hmr and serve --watch. Detached children still survive.--include and --exclude match decoded paths.--env-file and ende compile).ende run.ende check --all no longer fails with TS1046 on bytes, text, and CSS raw imports."lib": ["dom"] includes Error.captureStackTrace again.RegExp.escape and Uint8Array’s base64 and hex methods are declared once, so editor hovers no longer show "(+1 overload)".Argon2Params is declared for SubtleCrypto.deriveBits(), so Argon2 calls type-check without a cast.// @ts-ignore and // @ts-expect-error silence missing-import errors, as ende check does.await included) and the event loop has turned once. An update that throws at startup, rejects in top-level await or leaves an unhandled rejection is rolled back. A failed rollback is no longer reported as done.Ende.autoUpdate now logs that auto-update isn’t supported on Windows yet, instead of "no version in ende.json".close event is cancelable. A listener can call preventDefault() to keep the window open (for example, to ask about unsaved changes). If JS doesn’t answer within 5 seconds, the window closes anyway, so a hung app can still be closed. win.close() fires no event.close listener can’t leave it hidden for good.getCurrentTexture() used to throw every frame, which exited the app.getNativeWindow() on the webview and CEF backends throws an error saying it needs the raw backend, and how to select it.close() fires the close event.error event.Notification.permission is "denied" and the notification gets an error event). new Notification() used to hang the app there.Dock.setBadge(null) clears the badge.ende desktop instead of ende compile.desktop.output.<os> and desktop.app.icons.<os> are picked by --target, not by the build host, and --all-targets applies them per target. A Windows MSI built on macOS used the macOS icon.desktop.app, app.icons, output, release, errorReporting and macos must be objects. An array used to be read field by field. Errors inside them name the key.errorReporting, macos, the raw backend, icon sets), so editors no longer flag valid configs..app bundle, and its first download no longer warns about re-signing.%LOCALAPPDATA%<identifier>WebView2), so apps installed under Program Files no longer open a white window. Processes the app starts don’t inherit the folder setting.ende desktop --hmr and ende desktop --inspect show console output.desktop.app.deepLinks) work for installed .deb and .rpm packages. They were registered only in a copy the desktop never reads..desktop entry’s Name= uses desktop.app.name.app_id is set)./.ende, endert, and libendert zip now contains LICENSE.md and NOTICE. NOTICE holds Ende’s third-party notices, followed by TypeScript’s NOTICE.txt (Apache-2.0), and credits the LGPL-2.1 sine and cosine routines V8 takes from glibc. Those are linked into ende but unused unless --v8-flags=--use-libm-trig-functions is passed. The installers, ende upgrade and ende compile ignore both files.Sec-WebSocket-Accept doesn’t match.--allow-read=a,,b for the path a,b) works again. ende install and ende x used to split such a path in two, which granted paths the user never named and undid a deny. Both now escape it.data: and blob: modules a JSR module imports, and to their imports.ENDE_SERVE_ADDRESS: it no longer applies to Ende.serve in Workers. memory:<host> addresses are reserved for the desktop runtime: set in the environment (or with Ende.env.set), one is refused with an error and the server listens where it asked.Internal: CI now lints on Windows and runs the Windows-only Rust and unit tests on pushes to primary, plus fixes to the test harness and the release tooling.
Full Changelog: v2026.11.06...v2026.11.10
This release brings in the security fixes upstream Deno shipped after Ende forked, plus dependency updates for every shipped crate with a published advisory that has a fix.
Full Changelog: v2026.11.05...v2026.11.06
ENDE_ALLOW_*denyAddresses option to Ende.createHttpClientno-deprecated-deno-api to no-deprecated-ende-apino-deprecated-deno-api code in lint config--allow-run programs at startupFull Changelog: v2026.10.20...v2026.10.22
Symbol.for("Ende.customInspect")--outdir from the inputs’ common parent--check and type-check before writing output.ts imports to the emitted .js namesEnde.Inflater and Ende.deflateSync--minimum-dependency-age, --config and the other graph flags--config, --import-map and the other compile flags--declaration on imports that don’t resolve--declaration outputEnde.Inflater and Ende.deflateSyncFull Changelog: v2026.10.20...v2026.10.22
ende-fmt-ignore directivesende-lint-ignore directivesFull Changelog: v2026.10.17...v2026.10.20
README and license updates.
Full Changelog: v2026.10.14...v2026.10.17
Ende was forked off Deno 2.9.7 and all of the distractions were removed; Deploy, KV, Jupyter, and especially Node.js compatibility. Please note that only about half of Deno’s standard library is available under @ende on JSR due to weekly publish limits. Also, the documentation and marketing sites are non-existent so hold your applause.
Full Changelog: https://github.com/theende/ende/commits/v2026.10.14