Packages

preact

11.2.0 · 6 Nov 2026MIT63.2M / weekRepositoryHomepagenpmAtom feed

Upgrading preact From 10.17.1 to 10.18.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.17.1Newest 10.x10.29.8Latest11.2.0
  1. 10.17.1yours
  2. 10.18.0target
1
change to make
0
advisories fixed
5
new
2
fixes

Before you upgrade

Tick each one off as you go
  • Breaking10.18.0

Release by release

  1. 10.18.0

    Migration needed28 Sep 20235 new · 2 fixes
    • Breaking

      Remove role attribute when it's null or undefined (#4137, thanks @DAreRodz)

    • New

      Warn for illegal children types in /debug (#4108, thanks @JoviDeCroock)

    • New

      Add missing native attribute JSX types (#4140, thanks @marvinhagemeister)

    • New

      Add SetStateAction & PropsWithoutRef types to compat (#4132, thanks @rschristian)

4 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.