Skip to content

v6.0.0

Latest

Choose a tag to compare

@gre gre released this 03 Jun 11:46
· 34 commits to master since this release

Breaking Changes

  • React 18+ requiredpeerDependencies now enforces react: ">=18". Older versions are no longer supported.
  • Legacy context API removed (#443) — childContextTypes/getChildContext replaced with React.createContext. Fixes the React 19 error "Surface uses the legacy childContextTypes API".
  • loseGL removed (#443)
  • Flow types removed — the codebase is now TypeScript-only (#446)

What's New

  • React 19 compatibility — fully compatible with React 19 strict mode
  • StrictMode fix (#443) — dependencies are no longer incorrectly updated in StrictMode double-invocation
  • TypeScript (#446) — migrated from Flow to TypeScript, improved type declarations
  • Node 24 + headless-gl 9 (#447)
  • npm Trusted Publisher — releases are now published via GitHub Actions using OIDC (no token stored)

Upgrading from v5

npm install gl-react@6 gl-react-dom@6

No API changes — only the React version requirement and removed internals listed above.