Skip to content

Releases: styled-components/jest-styled-components

v7.2.0

12 Oct 16:05
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.1.1...v7.2.0

v7.1.1

31 Aug 02:42
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.1.0...v7.1.1

v7.1.0

09 Aug 14:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.8...v7.1.0

v7.0.8

22 Nov 03:44
Compare
Choose a tag to compare

What's changed

  • fix detection of classnames when babel plugin is involved (9ba7753)

Full Changelog: v7.0.7...v7.0.8

v7.0.7

21 Nov 15:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.6...v7.0.7

v7.0.6

09 Nov 18:12
Compare
Choose a tag to compare
  • Fix false negative detection of some media queries by simplifying media query regex for stripping spaces (#379)
  • Improve test and memory utilization by removing sc style nodes on cleanup (#382)
  • Add snapshot options to customize what CSS is included in jest snapshots (#375)
  • Fix type error when using css ttl with "modifier" option (#367)
  • Add example of how to handle override styles to README.md (#372)

v7.0.5

09 Jul 21:20
Compare
Choose a tag to compare
  • dependency upgrades to resolve some security warnings and such
  • Strip css rules belonging to unused styled components referenced by another (#351)
  • added explicit node >= 12 "engines" field (we have been using Array.flatMap which requires at least v11, so picked the closest LTS afterward)

v7.0.4

18 Apr 15:47
Compare
Choose a tag to compare

support styled-components v6

v7.0.3

19 Aug 13:46
Compare
Choose a tag to compare
  • Strip static class names from jest snapshot results (#320) thanks @blnoonan
  • Fix get styled className from children components (#313) thanks @vxcamiloxv

v7.0.2

09 Apr 04:06
Compare
Choose a tag to compare

Fix toHaveStyleRule support classes with displayName prefix (#302) thanks @vxcamiloxv