- fa34123: Add
dist/browser.mjs, a self-contained ES module build (gl-shader bundled in) importable directly from CDNs like unpkg — enables zero-build-step usage in plain HTML (see example.html).
-
d08f57e: Modernization to 2026 standards. Breaking changes across all packages:
- TypeScript: all packages are now written in TypeScript and ship their own type definitions (Flow types removed).
- Dual ESM + CJS: packages now have an
exportsmap with both ESM (import) and CJS (require) entry points, built with tsdown. - Node >= 18 is required (
enginesfield added). - react-gl-transition: peer dependencies are now
gl-react@^6.0.0andreact@>=18(was gl-react 3 / React 15). The component no longer uses string refs; the imperativesetProgressAPI (viaonConnectSizeComponentRef) is unchanged. - regl-transition:
reglis now a peer dependency (>=1.3.0 <3) instead of a dependency — you pass the regl instance anyway. regl 2.x is supported. - gl-transition-utils: deep imports like
gl-transition-utils/lib/transformSourceno longer exist. Use named imports from the package root instead:import { transformSource, createWebGLCompiler, transformOldGLSLTransition, TransitionQueryString, acceptedLicenses, typeInfos } from "gl-transition-utils". Theperformance-nowdependency was replaced with the nativeperformance.now(). - gl-transition-scripts: CLIs are now ESM, built on commander 14 and headless
gl8 (Node >= 18).