Skip to content

NSGo 0.4.0

Latest

Choose a tag to compare

@oneo-me oneo-me released this 28 Nov 10:09
· 71 commits to main since this release

Breaking changes

  • nsgo.yaml refuses keys it does not know instead of ignoring them (#2475): run nsgo check, which names each one, and fix its spelling or remove it.

  • nsgo game is no longer built in, and NSGO_GAME_VERSION is gone: declare the game layer as a tool of the app's module, which pins its version,

    go get -tool github.com/nsgo-dev/game/packages/game/cmd/game@v0.1.0

    or install it on PATH as nsgo-game for use outside a module.

  • nsgo test takes Go package patterns (#2504): a directory other than an app's now tests only its own package, so write nsgo test ./dir/... where a script relied on nsgo test ./dir testing the whole tree.

  • base/toast's Manager.Visible takes no limit (#2517): set Manager.Limit once and call Visible(), replacing

    entries := m.Visible(3)

    with

    m.Limit = 3
    entries := m.Visible()

    Toasts beyond the limit now wait, oldest first, rather than the oldest being hidden.

Highlights

  • Copy components into your app and keep them up to date with nsgo add, nsgo diff and nsgo remove, from the built-in index or your team's own registries.
  • watchOS apps turn the Digital Crown, pin sticky headers, speak text and package for the App Store.
  • macOS apps ship QuickLook previews and Finder thumbnails for their documents.
  • HarmonyOS shows a native tab bar and keeps web view cookies and settings.
  • Draw with variable fonts and OpenType features, canvas shaders, resolution-scaled canvases and 3D GPU textures.

Features

  • Copy declared components into the app with nsgo add [-diff] [-dir D] [-tests=false] module[@version]#component, verifying module zips, enforcing copy rules and license policy, rewriting imports and comments, generating catalogs, vetting targets, recording metadata in nsgo-copy.yaml, and placing copied notices under their own THIRD_PARTY_NOTICES.txt heading (#2467).
  • Add nsgo diff to inspect local edits and upstream version changes in copied components, with -stat, -exit-code, offline module-cache support, and git apply-compatible unified diffs (#2468).
  • nsgo remove name|@registry/name|module…, which resolves built-in index and custom registry names, refuses copied components and libraries still imported by any package under any build tag, and previews go mod tidy on temporary copies of go.mod and go.sum before confirming and applying, marking unrelated tidied lines and explaining libraries kept by another dependency or tool (#2465).
  • Embed a built-in library and component index (cmd/nsgo/registry.yaml) in nsgo so nsgo add <name> resolves listed short names and nsgo add -list [words...] searches the index inside or outside a module (#2461).
  • Package nsgo build -target watchos as a watch-only App Store .ipa wrapping Watch/<name>.app (<id>.watchkitapp) inside Xcode's iOS stub (ITSWatchOnlyContainer) with WatchKitSupport2/WK and inside-out sign.profile / sign.watch_profile signing (#1488).
  • Route watchOS Digital Crown rotation through SwiftUI .digitalCrownRotation to views that pan (OnWheel/OnPan) or turn a value (increment/decrement actions) while keeping native ScrollView crown scrolling, and post simulator IOHID touches to SwiftUI's hosting window in the watchOS test host so scrolls and text fields receive touches as from a finger (#1492).
  • Add macOS QuickLook preview extension support via quicklook in nsgo.yaml and nsgo.RunQuickLook, and thumbnail extension support for Finder's icons via quicklook_thumbnail and nsgo.RunQuickLookThumbnail, with ad-hoc, Developer ID, notarization, Mac App Store and universal bundling (#2665, #2727 by @oneo-me).
  • Render core.TabBar natively on HarmonyOS using ArkUI Tabs, TabContent, and Badge, and enable the native tab bar and DataTable demo in the HarmonyOS gallery (#1519).
  • Shade a canvas's rectangles and images with compiled programs through ShaderProgram.Paint, Drawing.DrawShader and Drawing.SetShader, such as a run of SDF glyphs from one DrawAtlas, on Apple platforms, Windows, Linux and the web (#2260 by @oneo-me).
  • Draw a canvas below the screen's density and stretch it to its box with Canvas.ResolutionScale or ResolutionScaleFunc, smoothly or to the nearest pixel with Canvas.Sampling, on Apple platforms, Android, Windows, Linux, the web, watchOS and mini programs, and read the pixels per point a canvas draws at in tests with App.CanvasScale (#2261 by @oneo-me).
  • Add Font.Axes and Font.Features (along with Style.FontAxes and Style.FontFeatures) for variable font axis coordinates and arbitrary OpenType feature tags across Apple, Android, Windows, Linux and the web (#2657 by @houko).
  • Support 3D volume textures (gpu.Dim3D, TextureDesc.Depth, TextureCopy.OriginZ, TextureWrite.OriginZ/Depth, Device.SupportsTexture3D, Limits.MaxTextureDimension3D, and WGSL texture_3d<f32>) across Metal, Direct3D 11, OpenGL, WebGPU, WebGL 2, Android GLES 3.0, and the software GPU device (#2655).
  • Support persistent picked directory grants (PickDirectoriesOptions.Persist, Directory.Token, Scope.OpenDirectory, Scope.ReleaseDirectory) across Android SAF, iOS/macOS bookmarks and desktop paths, plus in-place Directory.MediaURI playback URIs for core.Video (#2245).
  • Support Windows Hello user verification (core.BiometricWindowsHello) via WinRT UserConsentVerifier parented to the requesting window on Windows (#2528).
  • Remove the built-in nsgo game command and NSGO_GAME_VERSION; nsgo game now runs through NSGo's standard extension mechanism (go tool for a module's go.mod tool named game, or nsgo-game on PATH).

Bug fixes

  • Slide screens in, out and under a swipe back at a ProMotion iPhone's full rate on iOS (#2602).
  • Keep the texts, list rows and scroll offsets of a screen another covers, so a swipe back or a pop shows it as it was (#2601).
  • Refuse unknown nsgo.yaml keys instead of silently ignoring misspellings (#2475).
  • Rebuild in nsgo dev with hot reload when a new file matches a //go:embed pattern (#2486).
  • Stop Windows from painting system caption buttons and classic tooltips over hidden title bars on maximize and hover (#2495 by @oneo-me).
  • Preserve transparent Video compositing across backends by making Android's TextureView non-opaque, clearing GtkVideo's black default background on Linux when Controls is set, explicitly clearing AVPlayerLayer and iOS AVPlayerViewController view backgrounds on Apple, and setting <video> backgrounds transparent on the web (#1360).
More changes

Features

  • Add an opt-in Android dataSync foreground service keep-alive (android.data_sync: true and mobile.StartDataSync) for Go-managed downloads, uploads and sync transfers (#2365).
  • Add values (Value, Min, Max, Step, ValueText), states (Disabled, Expanded, tri-state Checked, Busy), Hint, Live regions, Actions (Canvas.OnAccessibilityAction) and node focus (Ref.SetAccessibilityFocusNode) to core.CanvasNode across macOS, iOS, Android, Windows, Linux, the web and nsgotest (#2656).
  • Keep serializable state with core.DevKeep and core.DevKeepFunc and restore base.NewNav stacks across nsgo dev restarts, compiled out of release builds (#658).
  • Support Block decorations (with optional Height, whole-line replacement, whole-line hiding, or between-line insertion), per-line LineStyle font sizes and heights with variable-height row layout, and Ref.EditOutsideHistory / Ref.ClearHistory in base/editor (#2409).
  • Export nsgo.yaml's typed configuration, strict loader (project.Load) and effective channel helper ((*project.Config).Channel) in package github.com/nsgo-dev/nsgo/project, shared by cmd/nsgo (#2275).
  • Implement persistent HarmonyOS web view cookie management (SetWebCookies, WebCookies, ClearWebsiteData) over ArkWeb's WebCookieManager, WebStorage and cache APIs (#894 by @houko).
  • Support WebConfig settings (UserAgent, UserAgentSuffix, HTML/BaseURL sources, Headers, Incognito, NoScroll, Muted, PinchZoom, DownloadDir, Restricted/Hosts/Schemes, Media), the window.nsgo message bridge, OnOpenWindow, OnNavigationStateChange, and WebPostMessage/WebLoad commands in HarmonyOS ArkWeb views (#1518 by @houko).
  • Route back navigation, keyframe animations, soft keyboard height and axis-aware scroll drag events on Alipay mini programs as on WeChat (#1500).
  • Support checking, requesting and opening settings for microphone, camera and Bluetooth permissions in WeChat, QQ, Douyin and Alipay mini programs (#1510 by @houko).
  • Support opt-in WeChat WechatSI speech synthesis (miniprogram.wechat_speech_plugin) in mini programs and record that core WeChat, QQ, consumer Alipay and Douyin provide no built-in client text-to-speech API (#1509).
  • Show each target's native libraries, download hosts, unbuildable packages and classified licenses in nsgo add, and refuse modules or native libraries that fail the app's licenses policy (#2463).
  • Update copied components file by file with nsgo add <component|dir>@<version|upgrade>, preserving app-only edits and CRLF line endings, regenerating catalogs, moving imported same-module components together, flagging edited dropped files under -y, and refusing conflicting edits or case-insensitive add collisions (#2469).
  • Validate components declared in a module root's nsgo-module.yaml during nsgo check against the copied-component file, path, size, UTF-8, Go and flag rules (#2466).
  • Vet existing copied components (nsgo-copy.yaml) against planned upgrades in nsgo add (naming broken copies and refusing -y), warn on moved copy source modules in nsgo check, and annotate failing copy packages in nsgo check, nsgo build and nsgo dev (#2470).
  • Custom registries: in nsgo.yaml (@name to an HTTPS URL or relative YAML index) so nsgo add @registry/name[@version] resolves team libraries with ETag caching and offline fallback, and nsgo add -list [@registry] [words…] lists configured registry items (#2464).
  • Support nsgo-module.yaml at library module roots for import packages, supported targets, author notes and copyable components in nsgo add plans and nsgo check target warnings (#2462).
  • Add App.ScrollIntoView (and Surface.ScrollIntoView) and View.WindowFrame to nsgotest (#2659).
  • Fall back to Google Application Default Credentials in nsgo publish for Google Play when NSGO_PLAY_SERVICE_ACCOUNT is unset, supporting service account impersonation (gcloud auth application-default login --impersonate-service-account=...), Workload Identity Federation (google-github-actions/auth), GOOGLE_APPLICATION_CREDENTIALS, and GCE metadata, while reporting the credential identity in output and 401/403 errors (#2600).
  • Configure release-only Go build tags with build.release_tags and have nsgo check vet both variants (#2695).
  • Scope.RenderDrawing and Env.CanRenderDrawings rasterize recorded core.Drawing values off the screen on macOS, iOS, tvOS, watchOS, Windows, Linux and the web, and nsgotest.PlatformTextEngine, RegisterFont and Render now also work without a window on Windows and Linux (#565).
  • Allow sandboxed TSX packages to load local images, videos, audio and menu item icons strictly under declared fs.read directory roots, validate every HTTP image redirect hop and menu item icon against package grants, and load the exact canonicalized URL that passed validation (#1524).
  • Isolate sandboxed tsx.View and tsx.Load packages on the web in an opaque-origin <iframe sandbox="allow-scripts"> with strict CSP over a private MessagePort bridge (#1522).
  • Declare ui's eight subpackage components (chat, code-editor, commit-graph, diff-view, file-picker, flow-diagram, rich-editor and terminal) in nsgo-module.yaml, list them in cmd/nsgo/registry.yaml for nsgo add -list, and drop internal/driver test imports so they copy cleanly into apps (#2471).
  • Animate leaving views on watchOS during LayoutAnimation.Delete commits by retaining deleted subtrees as non-interactive leaving ghosts on the SwiftUI host with separate host node IDs so immediate NodeID reuse never collides (#1493).
  • Speak text aloud on watchOS through AVSpeechSynthesizer with AVAudioSession held for playback (#1496 by @houko).
  • Pin sticky views and list headers at the start or end of scroll viewports on watchOS via opStickyCells, live SwiftUI scroll pinning, z-order elevation and pinned hit-testing (#1494 by @houko).
  • Let web apps opt into IndexedDB for larger saves with web.storage: indexeddb (#2687).
  • Store canvas image sources and atlas sprites in reused Drawing buffers and pool drawings across redraws so steady-state DrawImage* and DrawAtlas frames allocate nothing in the driver or core (#2269).
  • Update macOS dev .app bundles in place on Go-only edits and overlap old and new processes until the new window applies its first frame (#658).
  • Share interned static styles, layout styles and view snapshots across core nodes and allocate rare per-node state lazily, reducing node from 6.5 KB to 760 B (#1489).
  • Cache direct GSK text nodes, bind hot GTK/GSK/Pango calls through purego.SyscallN, and narrow per-frame invalidations and batch walks on Linux (#1328).
  • base/toast.Manager queues toasts behind its Limit, highest priority then oldest first, merges a toast of one id into its place, and starts a waiting toast's timeout when it shows (#2507 by @im-apratap).
  • ui.Toaster shows errors and toasts that stay until dismissed first, counts those waiting, and pauses its timeouts while the app is in the background (#2507 by @im-apratap).
  • ui.Toasts reads its toasts as a polite status region with Polite, and takes their entering and leaving from Motion, none under ReduceMotion (#2507 by @im-apratap).
  • Trim unused YAML, updater crypto, goldmark, SVG/XML, golang.org/x/text, CLDR and core element linkage so examples/hello and apps of common ui components fit the 2 MB mini-program package limit with inlining enabled (#1505).
  • Ship the gallery's and the docs' wasm as zstd -19 instead of gzip -9, 25% smaller (#2650 by @Laotree).
  • Reduce per-frame rendering, text layout, and IPC overhead on Windows and Android for ticking tables, scrolling, and view animations (#1329).
  • Let Android OpenFile and Share hand on existing content:// URIs without copying their files (#2479).
  • Wire gameservices on Android to Google Play Games Services v2 via a Java reflection hook (GameServices.java), reporting CanUseGameServices when the SDK is packaged (#2252).
  • Add a weekly and registry.yaml pull-request CI workflow (.github/workflows/registry.yml) and online/offline registry policy tests in cmd/nsgo verifying release tags, non-redirecting repository URLs, release-only NSGo resolution, manifest validity, and linux_x64 checks (#2472).
  • Add nsgodev causal-chain diagnostics in DevTools linking signal writes to triggered computations and scope disposals to executed cleanups (#1262).
  • base/editor: a Decoration's Hidden collapses its range's columns and its Replace draws a view in them, so a Markdown editor's live preview hides markers and shows checkboxes and link labels while the text keeps its offsets (#2409).
  • editor.Ref.SetValueOutsideHistory replaces the text without an undo step, moving the history and the selections through it, so a merge from a sync server stays when the user undoes (#2409 by @im-apratap).
  • Copy Presentation MathML (application/mathml+xml) and dialect source (text/x-tex or text/x-typst) alongside plain text when copying a formula selection or calling formula.Copy, with native format mapping on macOS, iOS, Windows, Linux and the web (#1449).
  • nsgotest: HarmonyOS target test hosts now drive copy, cut, paste, select-all and Backspace keys over the focused field's native selection after keymap matching (#1353).
  • nsgotest, gpu: add nsgotest.TranslateShader, nsgotest.ShaderSources, and gpu.TranslateShaderModule (gpu.PipelineSources) to translate fragment and 3D shaders headlessly across MSL, HLSL, GLSL, GLES, and WGSL while reporting per-backend errors and recovered panics (#2266).
  • Support reactive DurationFunc on mobile.PictureInPicture so custom Picture in Picture sessions can follow a loaded core.Video's duration without remounting (#970).
  • Expose Purchases.manageSubscriptions() and Purchases.requestRefund(transactionId) in TSX and add nsgotest.App.RefundError to simulate refund failures in tests (#1368 by @houko).
  • Support app font loading (loadFontFace), TintColor tinted images, off-baseline inline attachment alignment, text selection areas and native <video> playback in mini programs (#1506).
  • Ship a package's iOS and tvOS frameworks through nsgo-natives.yaml version 2, which nsgo build, nsgo dev and -run check against the app, sign with it and credit in its notices, and -embed refuses for now (#2473 by @houko).
  • Put the libraries that a terminal target's packages declare for its desktop beside the executable (#2473 by @houko).
  • List the Linux packages that a linked Go package's nsgo-natives.yaml version 2 names for each architecture in the app's .deb and Arch package, after the app's own linux.depends and linux.recommends (#2474 by @houko).
  • nsgo add module[@version]…, a go get that prints its plan first, planned on copies of go.mod and go.sum with the module's own toolchain and module proxies only for public modules, and writes both only once confirmed in a terminal or with -y, refusing to move the app's NSGo off its releases (#2460).
  • Support nsgotest Pinch on Windows, Linux and physical iOS devices, count consecutive clicks on physical iOS devices, and add Surface.DoublePress (#1043).
  • Add an in-process HTTP transport for nsgotest web and headless tests (#2408 by @houko).
  • Add live stereo-pan control to audio playbacks and TSX playback handles (#2257 by @houko).
  • Report pointer-lock loss through OnPointerUnlock and Ref.PointerLocked (#2249 by @houko).
  • Support gpu.View capture in Scope.Capture across macOS, iOS, Windows, Linux, Android and the web (preserving WebGPU swapchain frames for capture and shader effects), add Android overlay window capture, and add headless nsgotest.App.CaptureSurface (#1243).
  • Fade in the characters a streaming TextView gains with FadeIn, one after another and at most 160 ms behind their arrival, and fade a text span's characters with Style.Opacity, shown in the new examples/stream app (#2503).
  • Add the nsgo/updater TSX module exposing checkForUpdate, checkInBackground, checkDaily, capability, reactive status, setAutomaticChecks, and setAutomaticDownloads on the same platform updaters Go's updater package uses (#1525).
  • Scroll overflowing tvOS Scroll and List views that contain no focusable views with the Apple TV remote's touch surface by enabling UITouchTypeIndirect on UIScrollView.panGestureRecognizer and focusability while preserving focus-driven scrolling for focusable children (#1483 by @houko).
  • Build libghostty-vt for tvOS and the tvOS simulator in tools/libghostty and support nsgo build -embed for tvos and tvos_simulator with companion GhosttyVT.xcframework packaging (#1485).
  • watchOS SwiftUI host checks and requests microphone, calendar, reminder and Bluetooth permissions with Info.plist usage-description guards, and routes notification permission queries through UNUserNotificationCenter (#1497 by @houko).
  • Enforce webview navigation host and scheme grants for restricted web views on the web across initial sources, HTML (srcdoc) and data:text/html pages, CSP form-action/base-uri, static NoJavaScript sanitization and popup/download/top-navigation sandbox restrictions (#1523).
  • Redraw only the damaged area of animated canvases on Android and skip invisible source-over canvas paints (#1331).
  • Cache animated layer bounds, anchor point, backing layer, and setTransform: dispatch on macOS and iOS, and handle same-opacity animated background colors and unchanged clip holders on the fast path (#1327 by @houko).
  • Composite Canvas.DrawAtlas batches in pure Go on macOS and iOS—writing directly into compatible sRGB/DeviceRGB bitmap contexts and falling back to a single-blit scratch image for async display-list layers and clipped states—replacing per-sprite CGContextDrawImage calls (nsgo-dev/game#64).
  • Use a translucent foreground fill and softer shadow for TabsSegmented's selected indicator in dark mode so it stays clear over the track.
  • Reuse the staged iOS simulator .app bundle on Go-only nsgo dev rebuilds and track launch screens, Android PNG icons and translation catalogs for mobile dev reinstalls (#661).
  • editor.Editor.Value replaces the text outside the undo history, as another app's change to the file does (#2409 by @im-apratap).
  • Link a backend's MSL, HLSL or GLSL writer only when an app mounts a core.GPUView, through driver.GPUEnabler and driver.GPUSubmitter tables that hold the item, resize, frame and release entry points (#2508 by @Laotree).
  • Make SidebarShellInset's resize handle fill the gap between the sidebar and the content, draw the card's edge outside it as a dialog's rim and fade it with its shadow as the sidebar nearly hides, and let base.ResizeHandle take a Thickness.
  • nsgo test takes Go package patterns, so a directory names its own package and /... its tree, and each CI test shard runs its packages in one run instead of testing the whole module first (#2504 by @im-apratap).

Bug fixes

  • Import bionic's __errno instead of glibc's __errno_location in Android arm64's cgo-free purego loader, lock the OS thread around dlopen/dlsym/dlclose and dlerror, validate the Android libghostty-vt.so prebuild during APK/AAB/AAR packaging, and clarify the missing-library error when an Android arm64 app is built without the nsgo tool (#1452).
  • Honor an explicit loopback -host in nsgo dev -target web -automation and pass the automation extra into nsgo dev -target android -android-host -automation so its Activity creates TestAgent (#1286).
  • Vet windows and web automation builds in nsgo check -target and run end-to-end nsgo mcp checks for web and Linux in CI (#1286).
  • Flush Core Animation commits, wait briefly for WindowServer compositing without rejecting visible windows on non-active Spaces, and mark degraded AppKit fallback screenshots with (fallback) in nsgo test output on macOS (#2614).
  • Apply macOS mount batches for windowed surfaces in one Core Animation transaction, keeping row frame updates and anchoring scrolls from exposing partial frames (#2642 by @iFwu).
  • Report errors.ErrUnsupported for mini-program web views, native components, shaders and TSX, and check that mini-program builds refuse TSX (#1507 by @houko).
  • Assign each nsgotest.App.Touch finger a unique incrementing Finger.ID(), track all held fingers in EventTouch with Changed set only on the active finger, and report pointer modality on touch and drag start (#2651).
  • Load and lay out formula fonts in a dedicated Web Worker on the web so the page's main thread stays responsive during font parsing (#1451).
  • Report browser storage failures without replacing the previous save in memory (#2687).
  • Prevent touch drags on web views listening to OnTouch from scrolling the page or cancelling with pointercancel, and disable page overscroll in generated web stylesheets (#2660).
  • Read Direct3D 11 render storage buffers at WGSL byte offsets through matching raw buffer views (#2422).
  • Let app-defined MCP tools reply after deferred graph work without blocking the app (#2342 by @J4ck1e2000).
  • Show a diagram item's tooltip when the pointer rests on it after entering the diagram elsewhere (#1435).
  • Retain iOS Picture in Picture controllers across automatic willStart transitions and preserve configuration errors on repeated start requests (#54 by @oneo-me).
  • Keep Snap LaunchAtLogin status accurate across revision refreshes and prevent closing a secondary Wayland window or a failed Flatpak Background portal resubscription from stranding login requests (#1389).
  • gpu: report shader translator panics and pipelines that produce no backend source as compilation errors instead of silently submitting empty artifacts.
  • Pad HLSL pipeline structs to WGSL storage and uniform member offsets (#2422 by @houko).
  • Report missing dependency translations by key and let apps acknowledge fallback with i18n.coverage: off (#2454 by @J4ck1e2000).
  • Fix iOS custom Picture in Picture render-size delegate ABI (CMVideoDimensions), clamp sample-buffer timebases to finite durations, move decoded PiP video layers across clipping holders, wake background frame rendering on session start, and disarm automatic background polling after PiP stops (#970).
  • Give the first multi-scene iPad test its own cold-start budget in release checks (#2431).
  • Play Linux core.AudioPlayer streams through classic GStreamer playbin (decodebin2) instead of GtkMediaFile (playbin3/decodebin3), avoiding the GStreamer 1.28 decodebin3 process abort (#2489).
  • Resize and reposition Linux X11 fitted panels atomically with XMoveResizeWindow when their content grows or shrinks, and apply fitted sizes before pre-map placement so unmanaged panels keep their anchor (#1394).
  • Commit Windows DirectComposition visual trees for transparent and material surfaces even when neither WebView nor GPU views are enabled, and resize anchored fitted panels beside their anchor in one SetWindowPos call (#1394).
  • Allocate resized Linux GTK child views synchronously inside size_allocate instead of re-queueing gtk_widget_queue_allocate onto the next frame clock cycle (#1375 by @houko).
  • Retain the StoreKit presentation window or scene synchronously in nsgo_storekit_call before entering the async Task, and open macOS subscriptions URLs on the main actor (#1368 by @houko).
  • Record the absolute starting folder on nsgotest.FileSave.Start in App.Saves and App.SaveFile (#1086).
  • Download Linux GTK capture textures on the GTK main loop before background PNG encoding, fall back to WARP/PrintWindow on Windows when hardware WGC is unavailable, and answer ItemCapture with CodeUnavailable on the terminal backend (#1243).
  • gpu: decode all BC7 modes (0–7) and full ASTC 4x4 LDR blocks (partitions, dual-plane, weight infill, BISE trits/quints, and all LDR color endpoint modes) in the software GPU device (#2336).
  • Fail Linux SetWebCookies before writing any cookie when libsoup would reject a public-suffix domain, prepare batches before writing on Apple and Windows, and drop expired cookies in nsgotest (#1363).
  • Use natural WGSL uniform buffer sizes on Metal and in headless GPU tests (#2423).
  • Reject WGSL uniform buffer layouts that violate uniform struct and array alignment rules (#2423 by @houko).
  • Keep prior offscreen canvas pixels when compositing inside a clip on Windows (#2391 by @houko).
  • Refresh a Windows material backdrop when the app's appearance changes at runtime (#2487 by @houko).