Packages

preact

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

Upgrading preact From 7.1.0 to 7.2.1

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.1.0Latest11.2.0
  1. 7.1.0yours
  2. 7.2.0
  3. 7.2.1target
0
changes to make
0
advisories fixed
3
new
7
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 🙇)

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.