Releases: styled-components/styled-components
Releases 路 styled-components/styled-components
v6.1.1
What's Changed
- fix(types): remove duplicated type by @takurinton in #4200
- fix(native): image unsupported border color style by @nazmeln in #4195
- fix(styled): add displayName in all environments by @delijah in #4208
- fix(ssr): correctly place new rules after hydrated rules by @probablyup in #4210
New Contributors
Full Changelog: v6.1.0...v6.1.1
v6.1.0
What's Changed
- fix(native): bump postcss version from 8.4.23 to 8.4.31 by @davidlacasse in #4188
- fix(native): solve ts warning by @krudos in #4190
- chore: remove babel macro due to lack of usage by @probablyup in #4193
New Contributors
- @davidlacasse made their first contribution in #4188
Full Changelog: v6.0.9...v6.1.0
v6.0.9
fix bundling to not hardcode window
(should fix some testing use cases that were incorrectly assuming a server environment when JSDOM and similar are in use)
Full Changelog: v6.0.8...v6.0.9
v6.0.8
What's Changed
- feat(native): add
toStyleSheet
function by @krudos in #4124 - fix: prevent
StyleSheetManager
updating context on every render by @keeganstreet in #4159 - fix(types): ensure typing for static properties defined on third-party components wrapped by styled-components by @MartinPELCAT in #4141
- fix: production mode inconsistent CSS rendering when dynamic property values are the same but property names are different by @bcole808 in #4132
- fix(types): decrease type complexity by moving off of
JSX.IntrinsicElements
for the supported element list by @RJWadley in #4149 - fix(types): adopt ref typing from forwardedAs by @probablyup in #4163
- chore: update typescript reference on issue template by @chilled-capybara in #4150
- chore(types): add type exports for
StyleFunction
,Interpolation
by @bcole808 in #4140 - chore: updated Contributing guide benchmark instructions by @bcole808 in #4137
- chore(types): add missing types
CSSProperties
,CSSObject
,CSSPseudos
andCSSKeyframes
by @takurinton in #4117
New Contributors
- @takurinton made their first contribution in #4117
- @krudos made their first contribution in #4124
- @chilled-capybara made their first contribution in #4150
- @MartinPELCAT made their first contribution in #4141
- @RJWadley made their first contribution in #4149
Full Changelog: v6.0.7...v6.0.8
v6.0.7
What's Changed
- refactor(types): enable
exactOptionalPropertyTypes
check by @aspirisen in #3993 - fix(types): allow number for height/width/etc (#4090) by @drewbrend in #4111
New Contributors
- @aspirisen made their first contribution in #3993
- @drewbrend made their first contribution in #4111
Full Changelog: v6.0.6...v6.0.7
v6.0.6
v6.0.5
What's Changed
- Fix createGlobalStyle not removing styles on unmount by @mdeschamps in #4101
New Contributors
- @mdeschamps made their first contribution in #4101
Full Changelog: v6.0.4...v6.0.5
v6.0.4
What's Changed
- refactor: dev warning on unknown props retargeted specifically toward HTML targets rather than other React components by @woodreamz in #4084
- fix: untyped event handler callbacks by @ziolekjj in #4086
New Contributors
- @woodreamz made their first contribution in #4084
- @ziolekjj made their first contribution in #4086
Full Changelog: v6.0.3...v6.0.4
v6.0.3
v6.0.2
What's Changed
- fix: StyleSheetManager must accept undefined props by @gineika in #4069
- fix: replace slow Omit type by @gineika in #4068
- drop
displayName
in production to save bytes, it's already present in the static className if you're using the babel plugin or equivalent - refactor use of
flatMap
andat
with ES5-compliant variants
New Contributors
Full Changelog: v6.0.1...v6.0.2