Packages

preact

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

Upgrading preact From 7.0.1 to 11.2.0

169 releases in betweennotes for 167

Reading releases, release notes and advisories…

Other targets from 7.0.1Newest 7.x7.2.1
  1. 7.0.1yours
  2. 5 releases
  3. 8.0.0major
  4. 1 release
  5. 8.1.0breaking
  6. 19 releases
  7. 10.0.0major
  8. 4 releases
  9. 10.0.5breaking
  10. 72 releases
  11. 10.18.0breaking
  12. 57 releases
  13. 11.0.0major
  14. 4 releases
  15. 11.2.0target
  16. 2 pre
15+
changes to make
0
advisories fixed
241+
new
420+
fixes

Counted from 167 of 169 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking10.18.0
  • Breaking10.0.5
  • Breaking10.0.0
  • Breaking8.1.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Release by release

  1. 11.2.0

    6 Nov 20262 new · 3 fixes
    • 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 null or undefined to error boundaries without replacing it with a TypeError (#5347, thanks @jonkwheeler)

    • Fixed

      Preserve event handlers on unmounted nodes so events already bubbling can finish (#5349, thanks @JoviDeCroock)

  2. 11.1.1

    31 Oct 20261 new · 1 fix
    • 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)

  3. 11.1.0

    27 Oct 20262 new · 3 fixes
    • New

      Add preact/compat/compiler-runtime for apps compiled with React Compiler (#5323, thanks @JoviDeCroock)

    • New

      Allow the list attribute 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 px to unitless SVG paint and aspect-ratio values in compat (#5233, thanks @dylanpulver)

  4. 11.0.2

    23 Oct 20263 new · 6 fixes
    • 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)

  5. 11.0.1

    8 Oct 20261 new · 3 fixes
    • New

      Key event listeners by prop name and stamp attach times per listener (#5272, thanks @JoviDeCroock)

    • Fixed

      Keep suspended hydration within a component's own $s range (#5300, thanks @JoviDeCroock)

    • Fixed

      Keep ref cleanups on the element instead of the ref function (#5290, thanks @JoviDeCroock)

    • Fixed

      Unmount parked Suspense children when the boundary unmounts (#5295, thanks @gengjiawen)

  6. 11.0.0

    30 Sep 20261 new · 9 fixes
    • New

      Remove cloneNode for top-level Fragments (#5271, thanks @JoviDeCroock)

    • Fixed

      Re-attach refs when a suspended subtree reveals (#5258, thanks @JoviDeCroock)

    • Fixed

      Map imageRendering to image-rendering (#5270, thanks @kwy404)

    • Fixed

      Append when the insertion reference node lives in another container (#5252, thanks @JoviDeCroock)

  7. 10.29.8

    1 Aug 20262 new
    • New

      Batch updates in flushSync (#5173, thanks @JoviDeCroock)

    • New

      Avoid traversing retained subtrees (#5182, thanks @JoviDeCroock)

  8. 10.29.6 – 10.29.72 releases, nothing new or fixed in the notes

138 other lines we could not sort, mostly version bumps
  • 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)

    11.0.2
  • Log the component stack of errors no boundary handles (#5297, thanks @JoviDeCroock)

    11.0.1
  • Revert "Fix useId stability across async Suspense (#5108)" (#5135, thanks @JoviDeCroock)

    10.29.4
  • Accept Signalish for input DOM-type (#5096, thanks @JoviDeCroock)

    10.29.3
  • Updates dangerouslySetInnerHTML type so future TS will accept Trusted… (#4931, thanks @lukewarlow)

    10.28.0
  • Remove missed jsx duplicates (#4950, thanks @rschristian)

    10.28.0
  • Mirror non-JSX types to the 'preact' namespace (#4904, thanks @rschristian)

    10.27.2
  • Make React.SVGAttributes generic (#4863, thanks @shyguy1412)

    10.27.1
  • Change HTMLMediaElement.controlsList type to string (DOMTokenList) (#4744, thanks @piotr-cz)

    10.26.6

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