styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
Upgrading styled-components From 2.0.1 to 2.4.1
14 releases in betweennotes for 13
Reading releases, release notes and advisories…
Release by release
2.4.0 – 2.4.12 releases, nothing new or fixed; 1 without a note
- Fixed
Fix the attr filtering optimization removed in v2.3.2 which leads to bundle size improvement, thanks to @probablyup (see #1377)
- Fixed
2.3.1 – 2.3.22 releases, nothing new or fixed in the notes
2.2.4nothing new or fixed in the note
- 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
- Fixed
- New
7 other lines we could not sort, mostly version bumps
- 2.3.3
Move last bits of docs from the README to the website, thanks to @Carryon, @SaraVieira and @JamesJefferyUK
- 2.3.0
Consistently escape displayNames when creating
componentId, thanks to @evan-scott-zocdoc (see #1313) - 2.3.0
Better issue template (see #1342)
- 2.2.2
Changed 'too many classes' error to recommend attrs for frequently changed styles, thanks to @lukebelliveau (see #1213)
- 2.2.1
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.0
Improve mount and unmount performance for real-world use cases, thanks to @schwers
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.