packages feed

nano-ui-sdl-web-0.2.0.0: CHANGELOG.md

# Changelog

## 0.2.0.0 -- 2026-12-02

Initial release.

- `NanoUI.Backend.SdlWeb` runs `nano-ui` views in a browser `<canvas>` using GHC's `wasm32` backend, WebGL2 rendering (including `nano-ui-shader` GLSL ES 300 surface shaders and subtree effects), and `nano-ui-ttf` text shaping with bundled Inter (`LICENSE-Inter`).
- Supports `WebFontInstalled`, `WebFontUrl`, `WebFontSearch` (with optional Fontsource loading), runtime font switching (`setSdlWebUiFont`), and extended fallback fonts (`webFallbackFonts`).
- Browser file dialogs (`openWebFiles`, `openWebFolder`, `saveWebFile`) returning `WebFile` names and bytes.
- `requestAnimationFrame`-paced animation frames, viewport-aware wake pausing, pointer capture/touch handling, and `askSdlWebDebug` / `SdlWebDebugSnapshot` telemetry (`formatFpsRows`, `formatDrawRows`, `formatExplainRows`).
- Installs the browser loader (`web/`), `LICENSE-Inter`, `scripts/build-wasi-deps.sh`, optional static bundler `scripts/build-web.sh` (works both in downstream projects and in the repository), and headless Chromium smoke test (`scripts/smoke-test.cjs`) as Cabal `data-files`.
- Builds with GHC 9.10 through 9.14 (`base >=4.20 && <4.23`).