Packages

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…

Other targets from 10.0.4Newest 10.x10.29.8Latest11.2.0
  1. 10.0.4yours
  2. 10.0.5target
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

  1. 10.0.5

    Migration needed10 Nov 20192 new · 3 fixes
    • Breaking

      Remove CSS custom property check from IS_NON_DIMENSIONAL (#2046, thanks @jridgewell)

    • New

      Add types for currentTarget on event handlers for IntrinsicElements (#2084, thanks @lukeshiru)

    • New

      Add as html attribute to TypeScript defs (#2068, thanks @jakearchibald)

    • Fixed

      Cleanup changing refs correctly (#2055, thanks @JoviDeCroock)

    • Fixed

      Ensure renderCallbacks are called when sCU bails out (#2081, thanks @JoviDeCroock)

    • Fixed

      Handle the stale ref for forwardRef (#2075) (#2076, thanks @cristianbote)

4 other lines we could not sort, mostly version bumps
  • Simplify hook scheduling 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 ref typings for IntrinsicElements (#2070, thanks @lukeshiru)

    10.0.5

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.