Releases: styled-components/styled-components
v6.1.8
Revert adding peerDependencies
from v6.1.7; apparently some package managers have differing behaviors around peerDependenciesMeta[package].optional
which is causing issues. Will revisit at a later date if possible.
Full Changelog: v6.1.7...v6.1.8
v6.1.7
What's Changed
-
chore: add all missing peer dependency statements by @quantizor in #4243
NOTE: this change may cause some installed dependency duplication until this NPM bug is addressed but yarn and pnpm have correct behavior. Bun also has a similar bug.
Overall these changes ensure that styled-components is specifying a known working version of all utilized libraries, while instructing the client package manager that higher semver-compliant versions are permissible and should work, assuming the relevant libraries are compliant in practice.
Full Changelog: v6.1.6...v6.1.7
v6.1.6
What's Changed
- fix: bump stylis to 4.3.1 to resolve issue with leaking nested selectors by @quantizor in #4245
Full Changelog: v6.1.5...v6.1.6
v6.1.5
What's Changed
- fix: further constrain self-referencing to match v5 behavior by @quantizor in #4244
Full Changelog: v6.1.4...v6.1.5
v6.1.4
What's Changed
- fix: allow using
attrs
to provide a customtheme
prop to child components by @quantizor in #4242
Full Changelog: v6.1.3...v6.1.4
v6.1.3
What's Changed
- fix(types): missing type declarations by @benjaminrae in #4237
- fix(deps): pin dependencies to exact versions prior to bun migration by @quantizor in #4238
- fix(types): nested styled with additional prop types by @justinbhopper in #4236
New Contributors
- @benjaminrae made their first contribution in #4237
Full Changelog: v6.1.2...v6.1.3
v6.1.2
What's Changed
- fix(types): StyledObject type to allow nested selectors by @maximebiloe in #4212
- feat(types): expose FastOmit to improve emit performance by @justinbhopper in #4230
New Contributors
- @maximebiloe made their first contribution in #4212
Full Changelog: v6.1.1...v6.1.2
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