All notable changes to this project are documented in this file. The format follows Keep a Changelog.
[Unreleased]
[1.0.0] - 2026-12-01
Changed
- Built on OneRender 1.5.0 and OneFont 1.5.0: variable fonts are drawn at the weight, width, style and optical size the CSS asks for, and a relative
url()in a linked style sheet resolves against that sheet.
Added
- Signing set up once for
oneapp packageandoneapp install. Settings come from a flag, an environment variable, a project property or the per-usersigning.json, first found wins (docs/packaging.md). macOS: the bundle and disk image are signed with a Developer ID Application certificate, submitted withnotarytooland stapled. Windows: the MSIX is signed byoneappitself (Authenticode, RSA or ECDSA, optional RFC 3161 timestamp, so it also works when packaging on Linux or macOS) from a.pfxfile or a certificate store thumbprint, or through Microsoft's cloud signing service withsigntool. A missing or wrong setting is a typed error that names it. oneapp installandoneapp uninstallon Windows. With a certificate it installs the signed MSIX; without one (or with--unpackaged) it installs the files for the current user with a Start-menu shortcut and an Apps & features entry that removes them.
Fixed
- On NVIDIA's proprietary driver with no X display answering (an app started from the menu on Wayland), the EGL vendor library list is limited to NVIDIA's while the GPU device is made, so Mesa's EGL and its compiler runtime are not loaded (about 50 MB less resident memory). A value the user set is kept.
- Global shortcuts, notifications and the other desktop portals work for an app started directly. OneApp declares
AppOptions.AppIdandTitleto the portal (not the default idoneapp, which is not a reverse-DNS id), and for an AppImage run without installation the platform layer writes a hidden desktop entry for the id if none exists, never overwriting one. Before, the portal answered "An app id is required".
Added
- The app's own icon.
AppOptions.Icon(bytes) andAppOptions.IconFile(path) name a PNG, JPEG, WebP or SVG; without them the picture named by the project'sOneAppIconproperty, which the build now embeds, is used. OneApp gives it to every window on Wayland (xdg-toplevel-icon) and X11 (_NET_WM_ICON) and publishes it as the pixels of the tray item, so the title bar, taskbar and tray show it from an AppImage with nothing installed in an icon theme.ShowTrayAsyncpasses the themed icon name only when the icon theme has it.ShellDemoand thedotnet newtemplate need no code for it.
Changed (release preparation)
- One switch for the sibling libraries:
OneAppSiblingSources(default inDirectory.Build.props) istruefor project references to the sibling checkouts andfalsefor package references toRecursiveAI.OnePlatformandRecursiveAI.OneUI, whose versions (OnePlatformVersion,OneUIVersion) sit with the engine pins inDirectory.Packages.props. Both modes build with no warnings and pass the tests. In package mode OneUI's markup build also reaches projects that reference only OneApp, sosamples/Hello(a plain HTML page) setsOneUIMarkupGlob=false. ci.ymlbuilds, tests and packs in package mode with actions pinned by commit;release.ymlpacks the solution's five packages (OneApp, Kit, Browser, Cli, Templates) in package mode.- The
NU5104suppression is gone: packing a stable version against prerelease engine pins warns (as an error in the release workflow) until OneHtml and OneRender are stable. - The template package's default
--oneappVersionis stamped from the version being packed.
Changed (API, before 1.0)
- Every
AppShellasync method takes a trailingCancellationToken cancellationToken = default:NotifyAsync(notification, ct),CloseNotificationAsync(id, ct),OpenFilesAsync/OpenFolderAsync/SaveFileAsync(options, ct),ShowTrayAsync(title, icon, menu, ct),BindHotkeysAsync(hotkeys, ct),TakeScreenshotAsync(interactive, ct). Cancelling completes the task as canceled and closes the portal request where the platform has one (Linux file dialogs, screenshot, shortcuts); OS dialogs on macOS and Windows stay until the user closes them and their answer is dropped. A tray item created after cancellation is removed again. AppShell.ShowTrayAsyncreturns the newTrayHandle(wasTask<IDisposable>), withSetMenu,SetIcon,Dispose,IsDisposedand, on Linux,Icon(theTrayIcon).AppShell.Trayis now theTrayHandle?;AppShell.TrayHandleis removed.new AppOptions(html)andnew AppWindowOptions(html)throwArgumentException(parameterhtml) for empty or white-space HTML. With the component constructor, a page and a root can never both be set, and one of them always is.
Added
- Linux: before it makes the GPU device the app tells the Vulkan loader to use only the driver of the machine's best GPU (NVIDIA, then AMD, then Intel), so software and other vendors' drivers and the compiler runtime they bring are not mapped (about 80 MB less resident memory on a machine with NVIDIA, AMD and software drivers). Setting
VK_DRIVER_FILES,VK_ICD_FILENAMES,VK_LOADER_DRIVERS_SELECT,VK_LOADER_DRIVERS_DISABLE,ONEGPU_ADAPTERorONEGPU_VULKAN_LIBRARYturns this off. NeedsOnePlatform.NativeEnvironment. Seedocs/shell.md. AppWindow.Presenter,AppHost.Presenter(PresenterStatus,PresenterKind,PresenterReason): how a window is presented and why it is not on the GPU; the harnessstatusverb reportspresenter,presenterReasonandpresenterDetail.ONEAPP_PRESENTER=cpuforces the CPU path (asAppOptions.UseGpu = falsedoes from code).- A window whose GPU swapchain, drawing or presenting fails moves to the CPU path once, with a log line. On Wayland a first GPU frame the compositor refuses (a fatal protocol error) stops the app with
PresenterUnavailableException. Where the window cannot show CPU pixels,PresenterUnavailableExceptionsays what was expected instead of an unhandledPlatformExceptionor a window that never draws.
Fixed
- Hovering a kit tooltip's trigger (or any element whose
mouseenterhandler changes the page's structure) with a real pointer threw "The target belongs to another document" and ended the app. Boundary events (mouseenter,mouseleave,mouseover,mouseoutand the pointer ones) now reach component handlers once the page has finished its hover bookkeeping. - Text: the command, shift and other key symbols, arrows and stars that no text family has draw from the symbol face of the fonts package (and from any opt-in fonts package the app references) instead of as empty boxes.
- A translucent sheet over part of the window that no page content reaches (a dialog's dimming sheet over a page shorter than the window) is the same grey as over content. The page now starts on an opaque canvas, and a backdrop filter covers its whole box.
<img src>andurl()acceptdata:URLs (SVG and raster images) without the app registering them.- A pointer move during a press carries the held button, so dragging a scrollbar thumb works (it ended on the first move before).
Changed
- Windows: the notifications section of
docs/shell.mdsays why a packaged app's toast can be invisible althoughNotifyAsynccompleted (notifications switched off for the app in Windows settings, which an uninstall does not reset). - The documentation comments of the drawing code describe an app, not a game.
- OneHtml and OneHtml.Accessibility 1.7.0-preview.3 and OneRender 1.5.0-preview.5 (fix an AccessViolation and memory corruption on Apple silicon and arm64 Linux).
- OneRender 1.5.0-preview.4:
ComponentHostno longer holds a handler's changes until the page finishes dispatching an event; the page now keeps its event paths and default actions right across a commit made in a listener. - Scrollbars. Scroll containers that overflow, and the document, get classic scrollbars with their space (15 px), as Chrome lays out a page with classic scrollbars;
AppOptions.ScrollbarsandAppWindowOptions.Scrollbars(ScrollbarMode) chooseHiddeninstead. Pages that scroll lay out 15 px narrower than before. See docs/components.md. text-overflowandcursorwork in component stylesheets.- Kit:
ScrollAreauses the thin scrollbar with the thumb in--border; the icon strokes of the dialog, select, dropdown and toast components are set from the stylesheet (currentColor) instead of presentation attributes. Pixels are unchanged. RecursiveAI.OneApp,.Kitand.Browserdepend onRecursiveAI.OneUIwith its build assets included, so the markup build and generator reach an app that references only them.
Added
- Windows: windows draw with the GPU where there is a driver and otherwise with OneRender's rasterizer on the CPU, shown through the platform layer's
Window.PresentPixels(statusreports thepresenter).AppShellruns on the Windows services: menu bar (HasMenuBaris true), tray icon, notifications, file dialogs, global hotkeys with release, own-window and region screenshots; a second launch is handed to the first. The page's accessibility tree is offered to UI Automation.AppShell.NotificationButtonssays whether a notification can carry buttons. The harness verbsmenu_barandpress_hotkeywork on Windows.oneapp package --format msixwrites an unsigned MSIX (--publisher,--rid win-x64|win-arm64).ShellDemoandNativeare windowed (no console) apps on Windows. Seedocs/shell.md,docs/packaging.mdanddocs/accessibility.md. AppOptions.ScrollbarsandAppWindowOptions.Scrollbars(ScrollbarMode, defaultClassic).RecursiveAI.OneApp.Templates:dotnet new oneappmakes an app with a kit-based markup component, the app host, an app id and icon, and theoneapptool as a local tool. The app references onlyRecursiveAI.OneAppandRecursiveAI.OneApp.Kit; the markup build reaches it through them.
Fixed
- An
awaitbegun on the UI thread now resumes on it: the host installs a synchronization context for the thread that created it. Before, shell calls (tray, hotkeys, dialogs, notifications) continued on a pool thread, where touching a page while the window was drawing it corrupted the display list (a crash or a spinning loop at start-up).
Changed (API)
HostFetchExceptionis sealed.- The generated shader bindings (
OneApp.Shaders.*, about forty types) are internal; they were public by default. - Documentation and comments are written for app authors; the harness is described as serving automation tools.
- Each package has its own PACKAGE.md (
src/<package>/PACKAGE.md), and the repository README describes the four packages. The examples in them are checked by tests.
Added
- AT-SPI: relations (labelled-by, described-by, controller-for, details, error message, flows-to, with their reverses), the
Selection,Table,TableCell,Hypertext,HyperlinkandImageinterfaces, text attribute runs,SelectionChanged, and live regions (object attributes plusAnnouncementevents, so a toast is spoken).Native accessis a sample page for checking it with a screen reader. Seedocs/accessibility.md. Input.AriaDescribedBy.oneapp installon macOS signs every file of the bundle, then the bundle, and verifies it withcodesign --verify --deep --strict, so--no-aotbundles seal and launch like NativeAOT ones.--identity NAME(orONEAPP_SIGN_IDENTITY) signs with a certificate, with the hardened runtime and a timestamp, and signs the disk image;--entitlements FILEreplaces the runtime entitlements a managed bundle gets under the hardened runtime. The result object has asignedfield. Seedocs/packaging.md.Hotkey.Released: a callback for the keys being let go (the GlobalShortcuts portal'sDeactivated), for hold-to-talk keys. macOS reports presses only, so it never runs there.AppWindow.KeepAboveandCanKeepAbove,AppOptions.KeepAbove,AppWindowOptions.KeepAbove,AppWindow.KeepAboveFailed/KeepAboveFailure: a keep-on-top toggle over the platform layer'sWindow.SetKeepAbove. Setting it before a Wayland window is shown is held until its first frame. The harness gets akeep_aboveverb (read, set, perwindow) andwindowslistskeepAbove; ShellDemo has a "Keep on top" toggle that dims itself with the reason where the window system cannot. Seedocs/shell.md.- The native host and
OneApp.Browseranswer OneUI's layout and focus queries (UiContext.GetBoundingClientRect,GetViewportSize,GetScrollMetrics,GetTabbableNodes,FocusFirstTabbable,GetActiveElement,Contains,IsInert; native from onerender's CSSOM View queries and tab order, browser from the DOM through new bridge functions) and setUiContext.Scheduler(native: timers whose expiry is posted to the loop, which sleeps until then; browser:setTimeout). - Kit overlays use them: the popover, dropdown menu and tooltip flip and shift near the window's edge with
Placement.Resolve(data-side, and the tooltip's arrow follows the side),SelectBoxstays inside the window, Dialog, AlertDialog and Popover focus their first control on open, a dialog traps Tab with the document's tab order, and the tooltip delay and toast duration run on the host's clock.KitTimersstays as a fallback for hosts without a scheduler.
Fixed
- AT-SPI:
Component.GetPositionandGetSizeand the text interface's character and range extents answer as separate results, as the interface definition has them (a client library rejected the structure). - The harness chooses its socket folder by measuring the Unix socket address limit (103 bytes on macOS):
oneapp-harness-<user>under the temp folder when<pid>.sockfits, under/tmpwhen it does not, the same code in the app and inoneapp. An explicitunix:PATHthat is too long is refused with a message instead of failing inside the socket call.oneapp appslooks in both places. - The disk image is built with
ditto, which keeps extended attributes, instead ofcp -R. - Kit icons drawn natively take the muted token colour instead of black: the engine now paints inline SVG
currentColorfromoklch()and other modern colour functions (OneRender 1.5.0-preview.3). Aflex: 1item in an auto-height column sizes to its content. - The native host moves focus to a component's element by node identity (
Focus(MutableNode),FocusedMutableNode) instead of looking the element up in a snapshot. - Inline SVG (the kit's dialog close glyph, select chevron, radio dot and the like) draws in the GPU window. The page renderer handed the decoder SVG markup without the
xmlnsHTML doesn't need, and the decoder refused it ("root element is not an SVG"); the namespace is added before registering. A test compares the GPU frame with the rasterizer's. Checkbox,SwitchandDropdownMenuCheckboxItemare controlled whenOnCheckedChangeis set: they ask for the opposite value and show onlyChecked, so a parent that refuses the change leaves them as they were. Without a handler they keep their own state as before.
Added (samples)
Native overlays [--show NAME]opens the kit's overlay page, optionally with one overlay already open.
Changed
The engine pins are OneHtml 1.7.0-preview.2 and OneRender, OneRender.Fonts and OneRender.Image 1.5.0-preview.2. They fix a layout query from inside a click handler (an overlay opened by a click and measured at once), keep a field's placeholder colour after focus, blur and hover, and centre flex buttons' labels like a block's.
The harness now ships in the
RecursiveAI.OneApppackage and the consuming app's build switches it: theOneAppHarnessMSBuild property (default true in Debug, false otherwise) sets the feature switchOneApp.Harness.Enabled. An app built from the package listens in Debug, and a Release (trimmed or NativeAOT) app contains no harness code and cannot be made to listen.RecursiveAI.OneModelContextis now a dependency of the package. Seedocs/harness.md.A dialog no longer has focus sentinels or a focus anchor; its first control takes focus when it opens.
The macOS desktop services moved to OnePlatform (
OnePlatform.Shell.MacDesktop);AppShelldrives them the way it drives the Linux ones, and OneApp itself has no native interop left.ShellUnavailableExceptionis now OnePlatform's type (OnePlatform.Shell, aPlatformException): code that namedOneApp.ShellUnavailableExceptionneedsusing OnePlatform.Shell;. An app that imports both namespaces must qualifyMenuBarMenu, which both define. Behaviour is unchanged.A window resize or scale change lays the page out in place (
InteractivePage.SetViewport): typed values, focus, listeners and scroll positions stay, andAppOptions.Setupruns once.AppShell.ShowTrayAsyncreturnsIDisposable(theTrayIconon Linux, also inTray);Shell.TrayHandleholds it on every desktop.OneApp.Browserspeaks OneUI change-set protocol 2: inline SVG elements (CreateElementNS) and focus from code (Focus, applied after the commit; the events it raises are delivered after the commit has applied). Protocol 1 commits still apply; versions above 2 are refused.The app loop blocks in the operating system and is woken by
PlatformApp.WakefromAppHost.Post, bus replies and harness requests; the 50 ms poll and the harness listener's 100 ms accept poll are gone.
Fixed
- Typing on a real keyboard entered every character twice (the key and the text it produced both typed); the harness
wheelverb scrolled the wrong way.
Added
- macOS accessibility: each window offers the page's accessibility tree to NSAccessibility through OnePlatform's
WindowAccessibility(roles, names, values, states, text and selection, bounds, press, focus, set value, increment and decrement, and change notifications), so VoiceOver and other assistive clients see OneApp apps. Built only once a client asks;AppOptions.AccessibilityandAppHost.AccessibilityStatusapply as on Linux.tools/AxProbeis an out-of-processAXUIElementclient for checking it. Seedocs/accessibility.md. RecursiveAI.OneApp.Kitdata components:TablewithTableHeader,TableBody,TableFooter,TableRow(hover andSelected),TableHead,TableCellandTableCaption; andScrollArea(vertical, horizontal or both, with a focusable viewport).ScrollAreauses the platform scrollbars until the component stylesheet language acceptsscrollbar-widthandscrollbar-color. Gallery section,KitGallery --show table|scroll-area…, tests.RecursiveAI.OneApp.Kitoverlays:Dialog,AlertDialog,Popover,DropdownMenu(items, checkbox and radio items, labels, separators, shortcuts),Tooltip,ToasterwithToast.Show, andSelectBox, following the WAI-ARIA patterns for focus and keys;Placement.Resolvefor flip and shift;KitTimers. The kit and its tests now referenceOneApp.Kitinstead of compiling its files (KitSources.propsis gone).- OneUI components in native windows:
AppOptions(Component),AppWindowOptions(Component),AppWindow.Root/Components. The change-set sink edits a OneHtml mutable document that OneRender follows; events, focus from code and SVG round-trip. Harness verbcomponent.samples/Native. Seedocs/components.md. oneapp package <project> --format deb|appimage: publishes the app and writes a Debian package or a type 2 AppImage, with the package files, the SquashFS image and the dependency list (DT_NEEDED, glibc symbol versions and the libraries opened at run time) produced by the tool itself. New project propertiesOneAppMaintainer,OneAppPackageName,OneAppDescription,OneAppHomepage,OneAppLicense,OneAppDebSection,OneAppDebDepends. Seedocs/packaging.md.RecursiveAI.OneApp.Kit: shadcn/ui-style kit (button, input, textarea, label, checkbox, switch, card, badge, separator, avatar, tabs), light and dark tokens,samples/KitGallery.- Linux accessibility: the app's windows are exported as AT-SPI2 objects on the accessibility bus (application, frames, the page's accessibility tree with roles, names, states,
Component,Action,Text,EditableText,Value,Cache) and the events screen readers need (focus, state, name, children, text, caret, windows) are announced.AppOptions.Accessibility(AccessibilityModeAuto,On,Off),AppHost.AccessibilityStatusandAccessibilityStatusChanged(AccessibilityStatus,AccessibilityState,AccessibilityReason); the harnessstatusverb reports it. Seedocs/accessibility.md. - macOS (Apple silicon):
AppHostrenders through Metal into Cocoa windows;AppShellmaps to AppKit:SetMenuBar(MenuBarMenu,AppShell.HasMenuBar),NSStatusItemtray,NSOpenPanel/NSSavePanel,UNUserNotificationCenternotifications, Carbon global hotkeys, single instance over a private Unix socket. A service macOS will not give the app throwsShellUnavailableException. Seedocs/shell.md. AppHost.LaunchedAgain: a second launch's arguments, on every desktop.oneapp installon macOS builds an app bundle (Info.plist,.icns, ad-hoc sealed) in--prefixand, with--dmg, a disk image withhdiutil.- Harness verbs
menu_bar,native_dialogandpress_hotkey(macOS). - A second launch of a single-instance app brings the running instance's main window to the front (
Window.Activatewith the forwarded activation token) beforeAppHost.Activated;AppHost.ActivationFailedandLastActivationFailurereport why it could not;AppOptions.ActivateOnSecondLaunchopts out. - Harness verbs that act on a page take an optional
window(an id,mainorfocused), so dialogs and menu popups can be queried, driven and captured; the CLI takes--window.windowsreports each window'sroleandparent. - Desktop shell:
AppHost.OpenWindow(dialogs, overlays, several windows),AppWindow,ShowMenuwithMenu/MenuItem,AppHost.Shell(notifications, file dialogs, tray, global hotkeys, screenshots),AppHost.CreateOrActivatefor one copy per session,ExitPolicy. Seedocs/shell.md. oneapp installandoneapp uninstall: desktop entry, icon and published app for the current user.samples/ShellDemo.AppHost: an HTML/CSS page in a window, drawn on the GPU, redrawn only on change.PageCapture: PNG pixels of a page from OneRender's rasterizer or from the GPU path offscreen.- Harness: Debug builds listen for MCP on a local socket (
ONEAPP_HARNESS) and answer verbs to query, click, type, press, wheel, focus, wait, resize, capture and read the accessibility tree through the window's real event queue. Release builds contain no listener. Seedocs/harness.md. oneappcommand line tool (RecursiveAI.OneApp.Cli): launches an app with the listener on and drives it;oneapp mcpbridges stdio to it.AppOptions.Harness.RecursiveAI.OneApp.Browser: OneUI components as custom elements onbrowser-wasm, with a JavaScript bridge that applies change sets to the DOM;samples/Todo.Browser.