All notable changes to this project are documented here. The format follows Keep a Changelog.
[Unreleased]
[1.0.0] - 2026-12-01
Changed
- The CSS table tool pins the stable OneHtml 1.7.0 and OneRender 1.5.0.
- The tools project pins OneHtml 1.7.0-preview.3 (fixes an AccessViolation and memory corruption on Apple silicon and arm64 Linux).
- The CSS table is regenerated against OneRender 1.5.0-preview.4:
cursor,text-overflow,scrollbar-width,scrollbar-colorandscrollbar-gutterare accepted in component stylesheets. The tool pins match the versions OneApp uses. - The markup build (
RecursiveAI.OneUI.targets: the.htmland.csscomponent items) is packed underbuildTransitive/instead ofbuild/, so a project that references only a package built on OneUI gets it, and the generator, without referencing OneUI itself.
Changed (API)
Types that only generated code uses moved to the new
OneUI.GeneratorSupportnamespace and are hidden from IntelliSense (EditorBrowsable(Never), documented as not a stable authoring API):OneUI.Components.Fmt→OneUI.GeneratorSupport.Fmt,OneUI.Components.SlotContent→OneUI.GeneratorSupport.SlotContent,OneUI.Components.ComponentSlotsAttribute→OneUI.GeneratorSupport.ComponentSlotsAttribute.Component.SetState,SetSlot,TryGetState,StateNames,Scope.Param,Scope.ItemDepsandScope.AllDepsare hidden the same way. The compiler emits the new names; rebuild assemblies generated by an earlier version (an old library'sComponentSlotsattribute is no longer read).Scope,BlockBuilder,Row<T>andRowBuilder<T>stay inOneUI.Componentsbecause components written without markup use them. Seedocs/markup.md.UiKit.SetTreeClipboard(UiTree, IClipboard)is public. A host calls it once per tree to connect text fields to the system clipboard; a second call replaces the first (it used to throw) and a null argument throwsArgumentNullException.ChangeSetExceptionderives fromInvalidOperationException(it wasException), likeUiTreeExceptionandTweenException.SelectorSyntaxExceptionandUiStyleExceptionderive fromFormatException(they wereException), andUiStyleExceptionis sealed.Documentation comments, README and PACKAGE.md describe OneUI as an application UI library; examples in them are checked by tests.
Added
- CSS table regenerated from OneHtml 1.7.0-preview.2 and OneRender 1.5.0-preview.2. The engine's SVG renderer now takes presentation properties from the page cascade, so these pass instead of
OUI0101:fill,fill-opacity,fill-rule,clip-rule,stroke,stroke-width,stroke-opacity,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-dasharray,stroke-dashoffset,paint-order,vector-effect,shape-rendering,text-rendering,text-anchor,dominant-baseline,writing-mode,color-interpolation,flood-color,flood-opacity,lighting-color,stop-color,stop-opacity,marker-start,marker-mid,marker-end,font-variant. Keyword values of nine of them are checked (OUI0102).color-renderingstays rejected. - Layout and focus queries for components:
IDocumentQueries(implemented by a sink, defaulting throughUiContext.Queries) withGetBoundingClientRect,GetViewportSize,GetScrollMetrics,GetTabbableNodes,FocusFirstTabbable,GetActiveElement,ContainsandIsInertonUiContext, the same onElementRef, andUiContext.Commit(). Every query commits pending changes first. The reference document answers from test-set boxes (SetBox,BoxResolver,Viewport,SetScrollMetrics). The change-set protocol stays at version 2. - Timers:
IUiSchedulerset onUiContext.Scheduler,UiContext.SetTimeout/SetInterval, and protectedComponent.SetTimeout/SetIntervalthat cancel with the component;ManualSchedulerfor deterministic tests. - Components from referenced assemblies: a template tag resolves component classes declared in any referenced assembly that uses OneUI, with parameters, slots (written into the library as
ComponentSlotsattributes) and scoped styles checked and applied as for local components;OUI0064for a name two references both declare. ElementRef, theref="{Member}"markup attribute (OUI0070) andElementRef.Focus(); change-set protocol version 2 addsChangeKind.FocusandChangeKind.CreateElementNS(existing kinds unchanged). The reference document tracksActiveElementper the HTML focus rules, raises focus events, moves focus on Tab and implements label, Enter and Space activation forClickandPress.- Inline
<svg>in templates (shapes, gradients, clip paths and masks; presentation attributes; bound attributes) created in the SVG namespace. - Generated members carry
<inheritdoc />, so a library withGenerateDocumentationFileneeds noNoWarn. - The retained UI tree with its C# builder, CSS-model styling, flexbox layout, display-list painting, input routing, inspection and tweens, and the base kit of themed controls.
- Markup components: a template (
.html), an optional scoped stylesheet (.css) and a partial class, compiled by a source generator that ships in the package into create code and fine-grained update code, with every binding, event, element, attribute and CSS property checked at build time (OUIdiagnostics). - The change-set protocol that every document backend consumes, and a reference document with selector queries and event dispatch for tests and the harness. See
docs/markup.md,docs/change-sets.md,docs/diagnostics.md,docs/css-support.md.