Releases: openwebf/webf
Releases · openwebf/webf
0.24.16
Immutable
release. Only release title and notes can be modified.
Major Features
- CSS/Selectors: add Dart-engine support for interactive and form pseudo-classes, including
:hover,:active,:focus,:focus-visible,:focus-within,:enabled,:disabled,:checked,:required,:optional,:placeholder-shown,:valid, and:invalid, with new unit and integration coverage. - Form Controls: add Dart-side
<select>support withvalue/selectedIndex, focus and blur handling,required/multiple/disabledstate, option andoptgrouphandling, and native menu rendering; improve<label>activation and default button/select UA styling.
Bug Fixes
- Rendering/Widget: preserve auto-height shrink-wrap for widget-hosted WebF content inside bounded flex and tooltip layouts; add regression coverage.
- Rendering/Inline: honor
border-radiuswhen painting inline backgrounds for inline spans. - Form Controls: improve checkbox and radio checked-state synchronization across Dart/Blink paths, fix checkbox baseline alignment in inline formatting contexts, restore placeholder color behavior, and tighten default form-control typography and disabled-state styling.
- DOM/Focus: make generic elements focusable via
tabindex, and fix focus/blur state propagation for selector matching and related events. - Selectors/DOM: improve attribute selector and
querySelectorfallback matching for case-insensitive HTML attributes and live form-control values. - Bridge/NativeValue: accept integer tags by coercing them to doubles during native value conversion.
0.24.15
Immutable
release. Only release title and notes can be modified.
Bug Fixes
- CSS/Logical Properties: defer
inset-inline-start/inset-inline-endmapping untildirectionresolves; support dynamic direction changes and percentage resolution; add regression coverage. - Rendering/Inline/RTL: fix RTL absolutely positioned shrink-to-fit inline text visibility in inline formatting context; add integration snapshot and tests.
0.24.14
Immutable
release. Only release title and notes can be modified.
Bug Fixes
- RTL/Overflow: correct initial paint offset for overflow scrollers in RTL; add regression tests.
- Rendering/Inline: preserve inline span text through
WebFListViewwrapper stacks; add integration coverage. - Rendering/Flexbox: fix RTL cross-axis padding for column flex containers; add regression tests and snapshots.
0.24.13+1
0.24.13
Immutable
release. Only release title and notes can be modified.
Major Features
- Networking: add
EventSource(Server-Sent Events) API support, including named events and
integration coverage and a use-cases demo page.
Performance Improvements
- Bridge/DOM: avoid style invalidation work when attributes are re-applied without value
changes (common in React).
Bug Fixes
- Blink/Rendering: defer first paint for newly inserted elements until Blink style-sync starts
to prevent 1-frame unstyled flashes (FOUC). - Scrolling: use a custom overflow
ScrollControllerto avoid layout-time ballistic
simulations that can trigger asserts with some physics. - Routing: use
HybridHistoryDelegate.state()forRouteAwarecallbacks inWebFand
WebFRouterView(#855). - Routing/React: bump
@openwebf/react-routerto1.0.1and alignRouterLinkwith
@openwebf/react-core-uicomponent wiring. - Flexbox: include gap and border-box extents when computing flex scrollable area; add
regression snapshots. - CSS/Parsing: accept
calc(...)inflexshorthand basis parsing; add integration coverage. - DOM/Blink: bypass stale CSS batch dirties when Blink is enabled to avoid redundant style
work.
0.24.12
Immutable
release. Only release title and notes can be modified.
0.24.12
Major Features
- Routing: add browser-history routing support for
@openwebf/react-routerand
@openwebf/vue-router, improving web-style navigation andRouterLinkbehavior (#850). - Native UIs/Icons: expand
webf_lucide_iconssupport and add React/Vue showcases (#850). - Tooling/Codegen: enhance Vue generator output (runtime enum exports, updated templates) and
add generator tests for Dart method interface bindings (#850).
Performance Improvements
- Widget Elements: cache stable default attributes on the native side to make
getAttribute()
non-blocking for common widget defaults (#850).
Bug Fixes
- CSS/Selectors: fix
:has()selector state flags for:checkedand:disabledmatching in
the Blink backend (#849). - CSS/Values: prevent
calc(% - px)from collapsing during shrink-to-fit sizing (flex items);
add regression snapshots (#851). - Scrolling/Focus: prevent focused inputs from scrolling the page to the top; add a
showOnScreenregression test (#851). - Overflow: fix height collapse for
overflow:hiddenchildren insideWebFListView(#850). - Rendering/Grid: re-resolve
frrow tracks after intrinsic sizing to match expected track
sizing behavior (#850). - Bridge/UICommand: prevent re-entrant
flushUICommandcalls from causing missing DOM
elements (#850). - Gestures: guard against null
attachedRendererin click handling (#850). - Lifecycle: remove asserts that could fire on disposed nodes during teardown (#850).
- Rendering/Flexbox: correct
min-size:autobehavior for replaced elements (e.g. images) in
flex layouts (#853).
0.24.11
Immutable
release. Only release title and notes can be modified.
Major Features
- CSS/Selectors: add Selectors Level 4
:has()support to the Blink backend (Tailwind CSS
compatibility), including invalidation coverage and snapshots (#840).
Bug Fixes
- Rendering/Widget: avoid clamping portal/modal popup widget width to DOM parent constraints
(#841). - Rendering/Text: establish a local inline formatting context for inline spans hosted under
RenderWidget, fixing flexbox/inline layout edge cases (#842). - Flexbox: don’t stretch auto-height flex items when cross-axis constraints are bounded,
improvingWebFListViewsizing inside flex containers (#843). - RTL: isolate per-subtree
directionoverrides and support dynamicdocumentElement.dir
updates (including logical margin remapping) (#844). - Bridge: serialize Dart enums across the native bridge for stable
NativeValueround-trips
(#840). - Form Controls: add
HTMLOptGroupElementsupport and resolve related bridge build issues
(#840). - Scrolling: detach overflow scroll listeners on dispose to prevent stale callbacks/leaks.
0.24.10
Immutable
release. Only release title and notes can be modified.
Major Features
- CSSOM: expose Dart CSSOM via
document.styleSheets, includingCSSStyleSheet/CSSRule
bindings (insert/delete/replace) that keep rule sets in sync and trigger style updates when
Blink CSS is disabled (#838). - CSS/Cascade Layers: implement cascade layer parsing and ordering for Dart CSS (inline +
@media+@layer+ CSSOM), improving specificity tracking, rule collection, and selector
matching (#838). - CSS/Selectors: support selector-list parsing/matching and route
Element.matches()/
Element.closest()through selector-list utilities when the Blink backend is enabled (#836,
#838). - Native UIs: add
webf_shadcn_uicomponents andwebf_lucide_iconsicon library with
generated bindings and showcases (#834). - Tooling/Codegen: fix Dart binding method generation and add Jest coverage for generator
output (Dart interface/method bindings).
Performance Improvements
- Bridge/CSS: avoid Dart/FFI round-trips during attribute selector matching (read attributes
from native DOM storage), add nth-index caching, and improveSelectorFilterprefiltering for
large DOM trees/long lists (#836).
Bug Fixes
- CSS/Selectors: fix
:nth-*pseudo matching for detached elements in the Dart selector
engine. - DOM/Query: use Blink traversal for
getElementsByClassName()/getElementsByTagName()
when Blink backend is enabled (including'*'wildcard and ASCII case-insensitive tag
matching) (#836). - CSS/Fonts: relayout after
@font-faceregistration to trigger font loading and repaint
updates (#838). - CSS/Gap: ignore invalid
gapassignments (#838). - Flexbox: normalize
WebkitAlignItemstoalign-itemsfor correct flex relayout (#838). - Transitions: preserve CSS transitions during Blink style synchronization (#838).
- Transforms: fix percentage translate reset when rebuilding DOM trees (#838).
- Rendering: detach render object mapping in
didDetachRendererto avoid stale renderer
references (#838).
0.24.9
Immutable
release. Only release title and notes can be modified.
Major Features
- Blink/CSS: add a first-paint style synchronization barrier so the first visible frame ships
with both DOM and computed styles (including hybrid-routerRouterLinksubpage mounts) (#827). - CSS/Logical Properties: resolve logical
border-*-*-radius(start/end) acrossdirection
andwriting-modefor correct RTL/vertical writing-mode rendering (#832). - CSS/Selectors: support
:enabled/:disabledmatching for form controls when Blink is
enabled; add Selectors Level 4:is()/:where()integration coverage (#824).
Bug Fixes
- Bridge/UICommand: improve UICommand synchronization on dedicated threads (flush pending
commands for element/layout-dependent reads; defer packages while the Blink first-paint barrier
is active) (#827). - Rendering/Grid: fix RTL positioning for CSS grid columns and
justify-selfalignment/margins
in RTL (#832). - Rendering/Flex: make main-axis
margin: autofree-space distribution flow-aware (e.g.row
indirection: rtl) and distribute space per auto margin (#832). - Form Controls: fix boolean attribute setters for
disabled/checked; correct radio and
checkbox checked synchronization before widget state mounts; dispatchinputevents for checkbox
toggles; fixtextarea.defaultValuepriority (#832). - Viewport: notify the controller when the viewport render-object size changes during layout
so resize listeners and native media-query caches stay in sync under widget constraint resizing.
0.24.8+1
Immutable
release. Only release title and notes can be modified.
Bug Fixes
- DOM/Style: flush styles after DOM/inline-style UICommand batches so layout queries (e.g.
offsetLeft/offsetWidth) observe up-to-date selector matching and computed styles. - Viewport: remove redundant viewport size change notifications triggered during layout.