Packages

preact

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

Upgrading preact From 10.0.1 to 10.0.2

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.0.1Newest 10.x10.29.8Latest11.2.0
  1. 10.0.1yours
  2. 10.0.2target
0
changes to make
0
advisories fixed
3
new
3
fixes

Release by release

  1. 10.0.2

    28 Oct 20193 new · 3 fixes
    • New

      Add debug warnings when calling setState or forceUpdate on an unmounted component (#2037, thanks @andrewiggins)

    • New

      Add unpkg aliases (#2032, thanks @developit)

    • New

      Add nonce to JSX HTMLAttributes types for better Content Security Policy support. (#2035, thanks @calvinf)

    • Fixed

      Support re-suspending with <Suspense> (#2025, thanks @andrewiggins)

    • Fixed

      Fix ref not always called in useImperativeHandle (#2021, thanks @JoviDeCroock)

    • Fixed

      Fix internal vnode typings (#2015, thanks @pmkroeker)

7 other lines we could not sort, mostly version bumps
  • Inline coerceToVNode inside of toChildArray (-21 B) (#2040, thanks @andrewiggins)

    10.0.2
  • Remove unused mount check in context Provider (-6 B) (#2039, thanks @andrewiggins)

    10.0.2
  • Golfed render (#2045, thanks @MohammedSheikhIbrahim)

    10.0.2
  • Remove useless return from eventProxy (#2026, thanks @jridgewell)

    10.0.2
  • Rewrite useImperativeHandle to use useLayoutEffect (-35 B) (#2003, thanks @andrewiggins)

    10.0.2
  • Re-purpose renderCallbacks as a general per-component commit queue (#2011, thanks @andrewiggins)

    10.0.2
  • Remove internal import from compat types (#2018, thanks @andrewiggins)

    10.0.2

8 internal lines (docs, tests, tooling) left out.

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.