@astrojs/preact
6.1.6 · 13 Nov 2026MIT267k / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/preact From 4.1.3 to 5.0.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 0
- new
- 5
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
Release by release
- Breaking
Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)
- Breaking
Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
- Fixed
Update to Astro 6 beta
- Fixed
Fixed an issue where the Preact integration would incorrectly intercept React 19 components, triggering "Invalid hook call" error logs.
- Fixed
Fixes Preact components failing to render when using the Cloudflare adapter in dev mode.
- Fixed
Lower the Node version requirement to allow running on Stackblitz until it supports v22
- Fixed
Improves how Preact components are identified when setting the
includeand/orexcludeoptions in projects where multiple JSX frameworks are used together
- Breaking
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.