preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 11.0.1 to 11.2.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Support scoped custom element registries when rendering into shadow roots (#5342, thanks @JoviDeCroock)
- New
Reduce bundle size across core, hooks, and compat (#5343, thanks @JoviDeCroock)
- Fixed
Ignore non-function values for
on*props instead of registering invalid event handlers (#5345, thanks @JoviDeCroock) - Fixed
Pass a thrown
nullorundefinedto error boundaries without replacing it with aTypeError(#5347, thanks @jonkwheeler) - Fixed
Preserve event handlers on unmounted nodes so events already bubbling can finish (#5349, thanks @JoviDeCroock)
- New
- New
Add declarative shadow DOM attributes to
<template>, including their camelCase forms (#5338, thanks @b84330808) - Fixed
Fix rendering, updating, and hydrating
<template>elements in SVG and MathML namespaces (#5339, thanks @JoviDeCroock)
- New
- New
Add
preact/compat/compiler-runtimefor apps compiled with React Compiler (#5323, thanks @JoviDeCroock) - New
Allow the
listattribute on all valid input types (#5331, thanks @playlikeboy) - Fixed
Harden VNode recognition with a shared symbol marker (#5335, thanks @JoviDeCroock)
- Fixed
Isolate layout-effect errors to the throwing component so unrelated effects and lifecycle callbacks still run (#5321, thanks @JoviDeCroock)
- Fixed
Stop appending
pxto unitless SVG paint and aspect-ratio values in compat (#5233, thanks @dylanpulver)
- New
- New
Reduce core diff bundle size (#5316, thanks @JoviDeCroock)
- New
Trim core scheduling and DOM bookkeeping (#5317, thanks @JoviDeCroock)
- New
Reduce core bundle size (#5319, thanks @JoviDeCroock)
- Fixed
Keep queued components updating and finish
act()cleanup after an uncaught render error (#5265, thanks @JoviDeCroock)
- New
2 other lines we could not sort, mostly version bumps
- 11.0.2
Improve accessibility discriminated unions for dynamic input and select props (#5311, thanks @rschristian)
- 11.0.2
Make accessible element attribute types the default (#5312, thanks @rschristian)
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.