Packages

preact

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

Upgrading preact From 6.0.0 to 6.4.0

7 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.0.0Latest11.2.0

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

  4. 6.1.0

    29 Sep 20162 new · 3 fixes
    • New

      Add typings path to package.json. Fixes #318.

    • New

      Add support for single level of array children in h()

    • Fixed

      Don't skip empty values in extend() (and thus in setState()). Fixes #308.

    • Fixed

      Fix issue where re-rendering an intermediary high order component could remove (or fail to add) the associated element.

    • Fixed

      Fix prop cache reset triggering in the wrong case (affected performance)

  5. 6.0.2

    7 Sep 20162 fixes
    • Fixed

      Fix <input list="id"> when datalist element is placed after the input in the DOM (Issue #294, thanks @vutran!)

    • Fixed

      Fix HMR issue caused by recycling of a re-used Component base. (Issue #295, thanks @katopz!)

  6. 6.0.1nothing new or fixed in the note

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

    6.2.0
  • Tons of little optimizations!

    6.1.0
  • Address ownership issue when rendering using reclaimed DOM. Fixes #297.

    6.1.0
  • When removing old props from the DOM, skip those with empty values.

    6.1.0
  • Exclusively rely on DOM state when diffing value and checked props. Fixes #326.

    6.1.0
  • Use strict equality when comparing attribute values against prop values. Fixes #327.

    6.1.0
  • Upon initial entry into diff, check if the diff should start out in SVG mode. Fixes #331.

    6.1.0
  • Move both className to class normalization and hashed class stringification out of h() and into the DOM renderer.

    6.1.0
  • Make 6.x the official latest release!

    6.0.1

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.