Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump styled-components to 5.2.1 #143

Conversation

EmilioAiolfi
Copy link
Contributor

Version 5.21 has some important improvements

Summary

Bumps styled-components from 5.1.0 to 5.2.1.

Release notes

Sourced from styled-components's releases.

v5.2.1

Tweak server-side build settings to resolve an issue with jest-dom not being able to pick up generated styles (see #3308) thanks @Lazyuki

v5.2.0

Make sure StyleSheetManager renders all styles in iframe / child windows (see #3159) thanks @eramdam!

Rework how components self-reference in extension scenarios (see #3236); should fix a bunch of subtle bugs around patterns like & + &

Fix keyframes not receiving a modified stylis instance when using something like stylis-plugin-rtl (see #3239)

Big performance gain for components using style objects (see #3239)

We no longer emit dynamic classNames for empty rulesets, so some className churn may occur in snapshots

Preallocate global style placement to ensure cGS is consistently inserted at the top of the stylesheet; note that this is done in runtime order so, if you have multiple cGS that have overlapping styles, ensure they're defined in code in the sequence you would want them injected (see #3239)

Add "engines" to package.json (currently set to Node 10, the oldest supported LTS distribution) (see #3201) thanks @MichaelDeBoey!

Finally, special thanks to @willheslam for testing and some last minute fixes on this release!

---

Test plan

yarn test - All tests passed

Screen Shot 2020-11-10 at 1 38 03 PM

@EmilioAiolfi
Copy link
Contributor Author

EmilioAiolfi commented Nov 10, 2020

I'm close this PR because has a bug in this version 5.2.x (5.2.0 - 5.2.1) - styled-components/styled-components#3265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant