preact
11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed
Upgrading preact From 10.0.4 to 10.0.5
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 2
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Breaking10.0.5
Release by release
- Breaking
Remove CSS custom property check from
IS_NON_DIMENSIONAL(#2046, thanks @jridgewell) - New
Add types for
currentTargeton event handlers forIntrinsicElements(#2084, thanks @lukeshiru) - New
Add
ashtml attribute to TypeScript defs (#2068, thanks @jakearchibald) - Fixed
Cleanup changing
refscorrectly (#2055, thanks @JoviDeCroock) - Fixed
Ensure
renderCallbacksare called whensCUbails out (#2081, thanks @JoviDeCroock) - Fixed
Handle the stale
refforforwardRef(#2075) (#2076, thanks @cristianbote)
- Breaking
4 other lines we could not sort, mostly version bumps
- 10.0.5
Simplify
hookscheduling logic (-17 B) (#2085, thanks @andrewiggins) - 10.0.5
Improve tree-shakeability (-13 B) (#2079, thanks @andrewiggins)
- 10.0.5
Simplify ternary expressions (-7 B) (#2049, thanks @andrewiggins)
- 10.0.5
Improve
reftypings forIntrinsicElements(#2070, thanks @lukeshiru)
11 internal lines (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.