Releases: styled-components/styled-components
v6.1.13
v6.1.12
What's Changed
- Export rehydrate from StyleSheet by @hamidrezahanafi in #4328
- Prevent ServerStyleSheet generating empty style tags/elements by @hamidrezahanafi in #4327
New Contributors
- @hamidrezahanafi made their first contribution in #4328
Full Changelog: v6.1.11...v6.1.12
v6.1.11
What's Changed
- feat(types): add types to support third-party wrapping scenarios by @quantizor in #4307
Full Changelog: v6.1.10...v6.1.11
v6.1.10
What's Changed
- Update dependencies by @quantizor in #4297
- Export IStyledComponentBase interface by @akkadaya in #4300
- revert type changes introduced in #4288 due to a large number of bug reports
New Contributors
Full Changelog: v6.1.9...v6.1.10
v6.1.9
What's Changed
- fix: improve types for .attrs() by @uhyo in #4288
- fix(types): allow using a styled component as a key inside object styles in the web runtime by @iiroj in #4249
- Upgrading babel dependencies to latest to fix CVE-2023-45133 by @JesseObrien in #4214
New Contributors
- @uhyo made their first contribution in #4288
- @iiroj made their first contribution in #4249
- @JesseObrien made their first contribution in #4214
Full Changelog: v6.1.8...v6.1.9
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