Packages

styled-components

6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed

Upgrading styled-components From 2.2.1 to 2.4.1

9 releases in betweennotes for 8

Reading releases, release notes and advisories…

Other targets from 2.2.1Latest6.6.0
  1. 2.2.1yours
  2. 8 releases
  3. 2.4.1target
?
changes to make
0
advisories fixed
3+
new
4+
fixes

Counted from 8 of 9 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 2.4.0 – 2.4.12 releases, nothing new or fixed; 1 without a note

  2. 2.3.3

    20 Dec 20171 fix
    • Fixed

      Fix the attr filtering optimization removed in v2.3.2 which leads to bundle size improvement, thanks to @probablyup (see #1377)

  3. 2.3.1 – 2.3.22 releases, nothing new or fixed in the notes

  4. 2.3.0

    15 Dec 20171 new
    • New

      Add basic support for style objects in the Typescript definitions, thanks to @nbostrom (see #1123)

  5. 2.2.4nothing new or fixed in the note

  6. 2.2.3

    29 Oct 20171 fix
    • Fixed

      Fix incorrect StyledNativeComponent#componentWillReceiveProps implementation (see #1276)

  7. 2.2.2

    24 Oct 20172 new · 2 fixes
    • New

      Add onReset to valid react props list, thanks to @4urbanoff (see #1234)

    • New

      Add support for ServerStyleSheet PropType in both StyleSheetManager and StyledComponent, thanks to @digital-flowers (see #1245)

    • Fixed

      Prevent withTheme HOC from breaking when passing a theme from defaultProps, thanks to @kutyel (see #1130)

    • Fixed

      Prevent component styles from being static if attrs are dynamic, thanks to @schwers (see #1219)

4 other lines we could not sort, mostly version bumps

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