Changelog
All notable changes to Strange Quark are recorded here. The format follows Keep a Changelog, and versions follow Semantic Versioning. Before 1.0, a minor version may change behaviour that apps rely on; such changes are listed under Changed.
All eight npm packages (strange-quark, @strange-quark/vite-plugin and the
six @strange-quark/cli-<os>-<cpu> binary packages) and the Rust crates share
one version number.
Unreleased¶
Added¶
- A documentation website, built with Hugo from the repository's markdown on
every push to
mainand published on GitHub Pages. It has a search, and fails its build on a broken link or anchor (site/). - Migrating an existing app, a guide to the migration skill for the person running it.
0.2.0 - 2026-11-28¶
0.2.0 brings the platform features that desktop apps built on React need beyond a single document: a Rust backend linked into the app, window menus, Web Workers, Shadow DOM, CSS tables, Range and Selection, and better font matching. It was checked on a full desktop IDE (React 19, Monaco, xterm.js, KaTeX and a Tauri 2 Rust backend) as well as on Excalidraw, and its GPU, window and native-module tests pass on Linux, macOS and Windows.
Added¶
- Native modules. An app can link its own Rust into its runtime. Mark
functions with
#[squark_native::export], group them insquark_native::Modules, and name the crate insquark.config.tsundernative.crate.squark buildandsquark devthen build an app runtime from a Strange Quark source checkout (native.squarkSourceorSQUARK_SOURCE_DIR, with that checkout's toolchain and lockfile). JavaScript calls commands by name and listens to events the module emits. A module runs only ifnative.moduleslists it. Sync commands run on a blocking thread and async ones on the runtime the network stack already owns. Modules can keep managed state, run setup and exit hooks, handle close requests, open file dialogs and URLs, and set the window's title, zoom and menu.squark pack --native-module <name>enables a module for a prebuilt runtime. - Tauri 2 compatibility, as an optional module. The
squark-tauricrate gives a Tauri backend's commands the API they were written against (commands, state, events, menu builders, and the dialog and opener plugins), and@strange-quark/tauriprovideswindow.__TAURI_INTERNALS__over native modules, so a Tauri frontend runs without source changes. Apps that don't use it never install or link it.@strange-quark/tauriis not on npm yet; use it from a source checkout, which native modules need anyway. - Preludes.
preludesinsquark.config.tsruns classic scripts, from the project or from an installed package, before the app's own, with optional globals. - Window menus. A module (
app.window().set_menu(...)) or the page (window.setMenu(template)on the native API, in Electron's template shape) sets the window's menu: commands,&mnemonics, accelerators in Electron's and Tauri's syntax (CmdOrCtrl+Shift+F), check items, submenus, separators and standard roles. Accelerators accept Electron's and Tauri's key names, includingPlusandCmdOrCtrl++. An accelerator runs only if the page did not cancel the keydown, as Chromium handles non-reserved shortcuts. - Web Workers. Dedicated workers run on their own V8 isolates and
threads, with
postMessage, structured clone,importScriptsand module workers. - Shadow DOM. Open and closed shadow roots, slots and slot assignment,
event retargeting,
:hostand::slotted, styled and laid out in the flat tree. Constructable stylesheets can be adopted by documents and shadow roots. - Custom elements. Autonomous custom elements with their lifecycle
callbacks and
observedAttributes. - Range and Selection. Live
RangeandStaticRange, the Selection API andselectionchange, range rects (getClientRects,getBoundingClientRect) and caret hit testing (caretPositionFromPoint) answered from layout. - HTML drag and drop within the page, driven by pointer input, with
DragEvent,DataTransferand theondrag*handlers. - CSS tables. Tables lay out with the CSS table model (anonymous boxes,
column widths,
vertical-alignin cells, inline-table baselines) instead of a grid approximation. - Fonts.
@font-facerules match by their weight, style and stretch descriptors and byunicode-range;font-variation-settingsandfont-optical-sizingapply variation axes; font-relative units (ex,ch,cap,ic) resolve against the primary font's metrics; bold and italic are synthesized as Chromium does when a family lacks the face. - CSS.
contain(size and paint containment),backdrop-filterandoverscroll-behaviorare parsed, and stylesheets linked after startup load and fireloadanderror. - DOM and Web APIs. Per-tag HTML element interfaces,
Attrnodes in a liveNamedNodeMap,document.implementation,NodeIterator, parsing into inert documents,UIEventand theMouseEventposition members,contextmenuandauxclickfor non-primary buttons, Chromium'sKeyboardEvent.keyCode,document.hasFocus()and the Page Visibility API (the page is hidden while its window is occluded on macOS or minimized on Windows),requestIdleCallback, User Timing marks and measures, and a streamingTextDecoderthat honoursfataland rejects unknown labels. - Console output in development.
console.logand friends print to stderr, with browser-style formatting, insquark dev, test-control runs and whenSQUARK_CONSOLE=1is set. Shipped apps keep a silent console. - CSS warnings in debug builds now also list declarations Stylo drops
because the property is behind a preference (such as
scrollbar-widthorwriting-mode) and rules that use::-webkit-scrollbar. - Tests. WPT cases for custom elements, Range, Selection, Shadow DOM,
tables, attributes, traversal and UI event constructors; reftests against
Chromium for tables, Shadow DOM,
@font-facematching,unicode-range, variation axes, containment,backdrop-filterand synthetic styles; and an end-to-end native module test (tests/native).
Changed¶
SecurityErrorandNetworkErrorcarry their legacyDOMExceptioncodes.- Assignments to
element.styleset itscssText, as in browsers. - The
strange-quarkpackage'sbinpath is written the way npm publishes it (dist/cli.js), so publishing no longer warns. - macOS: Cmd+Q, Cmd+H and Cmd+M now reach the page first, then the app's menu, and Quit goes through close-request handling, so a native module can keep the window open (for example, to ask about unsaved files). To get there, apps no longer show winit's default app menu, so the menu bar has no app menu until OS menu bars arrive.
Fixed¶
- macOS and Windows: characters typed with Option (macOS) or AltGr
(Windows), such as
@,€,{or\on many European layouts, are inserted into inputs and text areas and firekeypress, as in Chromium. Ctrl and Command shortcuts still insert nothing. - macOS: Control-click fires
contextmenu, as in Chromium. - macOS and Windows: the right Meta key (Command, or the Windows key)
reports
keyCode93 on macOS and 92 on Windows, as in Chromium. - macOS and Windows:
@font-facelocal()finds faces inside font collections (.ttc), which most macOS and Windows system fonts are. window.resizable: falseinsquark.config.tsis applied. It was accepted before but ignored, so windows were always resizable.squark buildshows the app build's output (such asvite build's progress) as it runs, instead of only on failure.
Known limitations¶
- Menus have no visible menu bar yet. They work through their accelerators on every platform; a drawn bar on Linux and the OS menu bars on macOS and Windows come later.
- Drag and drop works within the page only: no drops from other apps and no drag images.
- No shared workers, and
MessagePorts can't be sent to workers. - Native modules need a Strange Quark source checkout to build the app runtime.
- iframes are designed but not built.
0.1.0 - 2026-11-27¶
The first public release, for Linux (x64, arm64), macOS (arm64, x64) and Windows (x64, arm64).
Added¶
- The
squarkCLI:buildpacks a React app's build output into one native binary (an app bundle on macOS),devruns a Vite dev server with live reload in a native window, andpack,inspectandscreenshotwork on packs directly. strange-quarkon npm, with the CLI and a prebuilt runtime for each platform, and@strange-quark/vite-pluginforsquark dev.- Compat mode: unmodified
react-domon squark-dom, a DOM written in JavaScript, running in V8. DOM changes stream as journal records into a Rust document that Stylo styles, Taffy and Parley lay out, and wgpu and Vello draw on their own thread. - Upstream Excalidraw v0.18.1 built into a native app without source changes, passing the same 20-step end-to-end flow as Chromium on Linux (Vulkan), macOS (Metal) and Windows (Direct3D 12).
- Canvas 2D, fonts and
FontFace, storage, clipboard, file dialogs, text input and IME, CSS animations and transitions, scrolling, and the network allowlist (network.allow). --third-party-noticeson every runtime and app, andTHIRD_PARTY_NOTICES.txtin every binary package.