Skip to content

v2.40.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 01:04
394eaaf

2.40.0 (2026-10-04)

Features

  • backend: filter on the native context, the colour functions of a CSS filter list applied to everything drawn after it, so <Html> filters an element's group in the paint that draws it on macOS, where it read the group back and drew it a round trip late (#866) (6bee15e)
  • cocoa: ⌘ is the primary modifier — the text controls, the edit menu and accelerators answer and print ⌘, and a menu the macOS menu bar has taken runs each item once (#863) (85370a1)
  • cocoa: a pane that keeps up with its resizes has its last frame anchored at the top left while the next comes, where Core Animation stretched it to the new size, so a page dragged wider in a <Frame> is not drawn scaled and then drawn back (#867) (d384145)
  • cocoa: imageSmoothingEnabled and imageSmoothingQuality on the native context, over @windowkit/appkit's ctxSetImageSmoothing, so a surface drawn a tile at a time through a perspective at 'low' costs each tile its own pixels where it cost the whole surface (#861) (6f7b479)

Bug Fixes

  • backend: clip(rule) and clip(path, rule) hand the fill rule to the macOS and Windows bridges as fill does, where clip took one argument and cut every clip nonzero (#864) (351ae17)
  • deps: @windowkit/appkit ^0.24.0 and @windowkit/win32 ^0.0.7, so a clip the context hands evenodd is cut evenodd on macOS and Windows, and the smoothing a perspective's tiles ask for reaches a Mac, where the ranges admitted neither bridge's verb (#865) (ca66391)