Packages

preact

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

Upgrading preact From 5.3.2 to 5.7.0

5 releases in betweennotes for 4

Reading releases, release notes and advisories…

Other targets from 5.3.2Latest11.2.0
?
changes to make
0
advisories fixed
4+
new
7+
fixes

Counted from 4 of 5 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 5.7.0

    18 Aug 20162 fixes
    • Fixed

      Correct regression introduced in 5.6.0 where re-rendering components with the same root node could duplicate their DOM. Fixes #257.

    • Fixed

      Fix for all empty vnodes ("", null, etc) rendering a comment - this should only occur when an empty vnode is returned from a component's render().

  2. 5.6.0

    24 Jul 20162 new · 4 fixes
    • New

      When rendering null, a comment node will be inserted instead of an empty TextNode.

    • New

      When using linkState() with components instead of DOM elements, use the first argument passed to the event handler as the default value unless a path is given.

    • Fixed

      Fix case where switching from a String to Object style value would attempt to assign numeric CSS properties to the element

    • Fixed

      Fix bug where using all lowercase event names would skip bypass binding implementation (but still mostly work)

    • Fixed

      Fix and test for double-nulling of refs when changing the type of a component's root DOM element

    • Fixed

      Fix IE bug caused by assigning to the nodeValue property of a TextNode that has been removed from the DOM.

  3. 5.5.0

    22 Jul 20161 fix
    • Fixed

      Fix this.base not being unset when unmounting High-Order components

  4. 5.4.1no release note

  5. 5.4.0

    19 Jul 20162 new
    • New

      Imporving performance by inlining hook calls (thanks @trashhalo!)

    • New

      Disable rendering on unmount (thanks @Madumo!) [discussion]

2 other lines we could not sort, mostly version bumps
  • Enforce this.props and this.context, even when a class improperly inherits from Component (eg: calls super() without forwarding arguments)

    5.7.0
  • Make event handler "on" prefix case-insensitive

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