Packages

preact

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

Upgrading preact From 7.0.2 to 7.2.1

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.0.2Latest11.2.0
0
changes to make
0
advisories fixed
4
new
10
fixes

Release by release

  1. 7.2.1nothing new or fixed in the note

  2. 7.2.0

    23 Jan 20173 new · 7 fixes
    • New

      Use a shared empty Array for props.children when there are no children. Fixes simple shallow equality-based shouldComponentUpdate for leaf nodes 🎉

    • New

      Remove instanceof SVGElement check in favor of duck typing. Fixes JSDOM compatibility and improves diff performance (#423, thanks @nhunzaker)

    • New

      Better TypeScript Definitions: Component lifecycle methods, setState callback, etc

    • Fixed

      Fix IE issues from 7.1 and update test cases (huge thanks to @mkxml for the hard work on this 🙇)

  3. 7.1.0

    2 Dec 20161 new · 3 fixes
    • New

      Add a whole bunch of explanatory comments to the diff engine 🎉

    • Fixed

      Fix edge case when swapping component root

    • Fixed

      Fix diff reflow when removing leading element

    • Fixed

      Fixed TypeScript definition signature for linkState

  4. 7.0.3nothing new or fixed in the note

4 other lines we could not sort, mostly version bumps
  • 10x performance boost for initial rendering

    7.1.0
  • Check existence of firstChild before checking if it is a Text node

    7.1.0
  • Performance optimization for element/tree removal

    7.1.0
  • Re-add short-circuit for PFC's (fixes compositional PFC triggering constant recycling)

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