preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 8.0.0 to 8.5.3
21 releases in betweennotes for 20
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 26+
- new
- 25+
- fixes
Counted from 20 of 21 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking8.1.0
Release by release
8.5.3nothing new or fixed in the note
- Fixed
Fix devtools bridge not working with react devtools v4
- Fixed
8.5.0 – 8.5.12 releases, nothing new or fixed in the notes
- Fixed
Fix a bug in
8.4where nestedpreact.render()calls would cause an infinite loop when flushing the mount queue. (#1269, thanks @pl12133!)
- Fixed
8.4.1no release note
- New
Improve adding and removing large trees 🎉 (#1211, thanks @lowaa)
- New
Add
onInvalidform event (#1221, thanks @namankheterpal) - New
Use proper type for
key(#1248, thanks @wojtczal) - New
Add
booleanas a component child (#1219, thanks @KasparEtter)
- New
- New
TypeScript: Added ShadowRoot and DocumentFragment as parent option to render (thanks @cromefire!)
- Fixed
Fixes an issue in
8.3.0whereprevState(as passed to componentDidUpdate) pointed to the wrong interim state value when batching (#1186, thanks @carlhopf!)
- New
- New
We're shipping
.mjsnow! (#1165, thanks @mathiasbynens for the nudge) - New
spellcheck={false}is now set as an attribute (#1110, thanks @marvinhagemeister!) - New
Some code golfing to offset the new lifecycle methods (#1122, thanks @andrewiggins, @marvinhagemeister)
- New
A little perf/size tweak for render callbacks (#1113, thanks @valotas)
- New
22 other lines we could not sort, mostly version bumps
- 8.5.3
Change Preact v8 "browser" field to "umd:main" (#1963, thanks @andrewiggins)
- 8.4.0
Drain render queue in a single micro task 🎉 (#1135, thanks @rpetrich)
- 8.4.0
Improve
componentDidUpdatetests (#1198, thanks @andrewiggins) - 8.2.9
Remove devtools module declaraction #1083, thanks @andrewiggins
- 8.2.8
Rewrite TypeScript defninitions and add support for strict mode
- 8.2.6
debug: Warn when passing incorrect arguments to
render()(#885, thanks @markselby9) - 8.2.6
ts: Stateful component should be assignable to
AnyComponent(#905, thanks @mike-north) - 8.2.5
A more durable fix for the Babel preset recursion issue (thanks @rmacklin)
- 8.2.4
Enhanced errors for
preact/debug - 8.2.2
Use explicit import paths in
srcfor ES Modules compatibility (#792, thanks @slaskis)
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.