Repository navigation
v0.9.0
Video and element audio as inputs to WebGPU and Web Audio; variable font axes from CSS; backdrop effects that copy only what they read, see a native layer's picture and keep HDR light; a shader standard library of nine modules; a window API that does on macOS what it does on Windows; and nine more image types each way.
Read the Skathi 0.9 release post
bun create skathi my-app
bun add @skathi-native/runtime@^0.9.0 && bun add -d @skathi-native/cli@^0.9.0
cargo add skathi@0.9.0Rebuild your app's effects with the 0.9 CLI. The host requires effect manifest schema 14. A wheel notch scrolls about twice as far on Windows. "input": { "wheelScrollScale": 0.5 } restores the old distance. box-shadow blur is half as soft for the same value. A button wider than its label centres it. For embedders, <sk-layer> radii arrive in device pixels.
Media
- An HTML
<video>and aVideoFrameas the source of a WebGPU texture,texture_externalon DirectX 12 and Metal. - The sound of an
<audio>or<video>element in a Web Audio graph; the route survives a change ofsrc.
Text
font-stretch/font-width,font-style: oblique <angle>andfont-variation-settings, with the@font-facedescriptors of the same names.- macOS and Linux: an
@font-facewith a weight range on one variable file draws the weight the text asks for.
Effects and shaders
[SkBackdropReach]: an effect says how far it reads, and the renderer copies and blurs only that (#130).- With
"effects": { "prewarm": ["glass"] }, the first frame that drawsglassuses its warmed pipeline. Each unlisted effect compiles on its own first draw. In the four-effect D3D12 case, the warmed draw compiled zero pipelines, down from three.trueprewarms all effects. The default isfalse. #133, #134 Layer::picture: backdrop effects andbackdrop-filterover an<sk-layer>see the layer's picture;pageBackdropAtgives the page alone.Layer::stackandLayer::frame_submittedreport paint order and every page frame (#129, #132).- HDR windows: backdrop effects and
backdrop-filter: blur()no longer cut what is behind them to SDR white.[SkBackdropLinear]gives an effect its backdrop in linear light (#131). - Shader standard library:
sk.color,sk.math,sk.blend,sk.sdf,sk.ease,sk.noise,sk.sample,sk.light,sk.tone, with a reference page per type and function.
Windows and input
- macOS:
appWindow.themesets the AppKit appearance of the app and its windows (#117); pop-outs withfocusable={false}andtaskbar={false}(#118);appShellworks. appWindow.startResizeDragging(direction?)on Windows and Linux (#122).- A wheel notch scrolls what it does in Chromium on each platform;
input.wheelScrollScaleandapp.wheelScrollScale(#121). matchMediaqueries live only while listened to.
Images
ImageDecoder: ICO and CUR, TIFF, PNM, SVG, QOI, TGA, Radiance HDR, farbfeld, DDS.ImageEncoder: GIF, ICO, BMP, QOI, TIFF, TGA, PNM, farbfeld, Radiance HDR.
Fixes
:focus-withinon the element itself is painted (#124).- Rules with states cascade as in a browser (#125).
box-shadowblur as wide as a browser draws it (#126).<button>and button inputs centre their text (#123).<sk-layer>: radii in device pixels, and the opacity includes the ancestors' (#128).- Windows, HDR: translucent content over a transparent window is no longer several times too bright.
- Windows: an aspect-ratio window no longer swings between fits while a corner is dragged (#116).
- On macOS, a failed Metal command buffer now returns its error to the screenshot caller.
- Effects that combine 3D and cellular noise could hang a virtual Metal GPU and prevent later frames from rendering.
sk.noisenow inlines the affected calculations. - Screenshot tests for clipping, shaders and surfaces use the window's pixel scale, including when AppKit adjusts the requested window width.
- The inspector's frame-rate check reads the FPS counter. The CSS
chcheck compares layout with zeroes drawn in the same font. - Windows tests cover the taskbar policy of both nonactivating overlays and full-monitor covers.
- On macOS, a window configured to draw while fully covered keeps its native surfaces and layer pictures live when AppKit shows it. Hiding or minimizing it suspends them.
- Cmd+Q quits an embedded macOS app immediately (#112).
- Layout on taffy 0.16.
Known
- The prebuilt AOT compilers use the tagged sources with the two RedJS path dependency versions corrected in the standalone Cargo.lock. To build
sk-aotfrom the tag with--locked, apply the lockfile fix. - The tagged AVFoundation integration test can report frame lag on a busy hosted Mac. The test correction samples the clock while the frame is requested and retains the 100 ms limit.
- The built-in
froststill copies the whole window, and so does an effect inside an effect layer. - A layer's picture is unavailable inside an isolated group and on the Direct3D 11 fallback. On an M4 Mac mini, a real window showed the picture inside the rounded reader and the page alone outside it. Linux window pixels remain unverified.
- HDR backdrops passed offscreen half-float tests on Direct3D 12, wgpu and Metal on an M4 Mac mini. Verification on a physical HDR display and a visual check of the
apps/helloglow are still pending. - With the Windows desktop locked, two DWM material checks in
backdrop.specand two frame timing checks insurface.speccan fail. startResizeDraggingdoes nothing on macOS; the window theme on Linux reaches onlyprefers-color-scheme.
Full Changelog: v0.8.5...v0.9.0