Packages

styled-components

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

Upgrading styled-components From 2.1.1 to 2.4.1

12 releases in betweennotes for 11

Reading releases, release notes and advisories…

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

Counted from 11 of 12 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)

  8. 2.2.1

    4 Oct 20171 fix
    • Fixed

      Don't emit empty rules like from interpolations, thanks to @wmertens

7 other lines we could not sort, mostly version bumps
  • Move last bits of docs from the README to the website, thanks to @Carryon, @SaraVieira and @JamesJefferyUK

    2.3.3
  • Consistently escape displayNames when creating componentId, thanks to @evan-scott-zocdoc (see #1313)

    2.3.0
  • Better issue template (see #1342)

    2.3.0
  • Changed 'too many classes' error to recommend attrs for frequently changed styles, thanks to @lukebelliveau (see #1213)

    2.2.2
  • Cache static classnames in browser environments, thanks to @schwers

    2.2.1
  • Move the list of libraries built with styled-components to awesome-styled-components, thanks to @romellogood

    2.2.1
  • Improve mount and unmount performance for real-world use cases, thanks to @schwers

    2.2.0

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.