Packages

preact

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

Upgrading preact From 6.1.0 to 6.4.0

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.1.0Latest11.2.0
  1. 6.1.0yours
  2. 6.2.0breaking
  3. 6.2.1
  4. 6.3.0
  5. 6.4.0target
1
change to make
0
advisories fixed
6
new
6
fixes

Before you upgrade

Tick each one off as you go
  • Breaking6.2.0

Release by release

  1. 6.4.0

    28 Oct 20161 new · 3 fixes
    • New

      Preliminary React DevTools support thanks to the amazing @robertknight! 🙇

    • Fixed

      Prevent against reassignment of the same value to TextNodes in Firefox (#368, thanks @zbinlin)

    • Fixed

      When swapping the base of a composed child component, update its parent's base reference

    • Fixed

      Prevent accidental duplicate recycling of elements when swapping a component's root element (#373, thanks @jakearchibald)

  2. 6.2.1 – 6.3.02 releases, nothing new or fixed in the notes

  3. 6.2.0

    Migration needed3 Oct 20165 new · 3 fixes
    • Breaking

      Removed undocumented support for getInitialState() on classful components.

    • New

      Support for infinitely nested children!

    • New

      Massive performance boost for h() (the hyperscript/jsx processor/reviver).

    • New

      Tons of little performance optimizations

1 other line we could not sort, mostly version bumps
  • Rename Component._disableRendering to Component._disable to save a few bytes

    6.2.0

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.