styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
Upgrading styled-components From 4.1.1 to 4.1.2
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Expose the
ThemeConsumerandThemeContextexports for the native and primitives entries (see #2217) - Fixed
Fix function-form attrs to receive the full execution context (including theme) (see #2210)
- Fixed
Don't treat uppercased strings as tag-like components and don't filter out props from them (see #2225)
- New
3 other lines we could not sort, mostly version bumps
- 4.1.2
Adjust
innerRefdeprecation warning to not be fired if wrapping a custom component, since that underlying component may not be on forwardRef yet and actually using the prop (see #2211) - 4.1.2
Remove
createGlobalStylemultimount warning; Concurrent and Strict modes intentionally render the same component multiple times, which causes this warning to be triggered always even when usage is correct in the application (see #2216) - 4.1.2
Folded components are now targetable via component selector as in v3 if you used the old
.extendAPI (see #2239)
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.