Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

⬆️ Update dependency styled-components to v6 #1304

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
styled-components (source) 5.3.11 -> 6.0.1 age adoption passing confidence

Release Notes

styled-components/styled-components (styled-components)

v6.0.1

Compare Source

Fixed an issue where a dev-time warning was being triggered too eagerly.

Full Changelog: styled-components/styled-components@v6.0.0...v6.0.1

v6.0.0

Compare Source

yarn add styled-components

Changed in this version

  • fix(types): prevent prop bleed on styling properties (fixes #​4053, c0f8015)
  • feat(types): ship csstype via "CSS" namespace (e6c4f0a)
  • chore: bump stylis to 4.3 (fixes #​4007, fa58875)
  • reduced some sources of unnecessary branching logic

Breaking changes in v6

Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6

  • now using stylis v4 (if using stylis-plugin-rtl you'll need to upgrade to the newer version)
  • styled-components now provides its own types; if you installed @types/styled-components in the past, you'll want to remove it
  • dropped $as and $forwardedAs props (use as or forwardedAs)
  • dropped automatic prop filtering; use transient props ($ prefix) for stuff you don't want to be passed to child component / HTML
  • StyleSheetManager
    • replaced disableVendorPrefixes with enableVendorPrefixes prop
    • dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
      <StyleSheetManager enableVendorPrefixes>
        {/* your React tree and ThemeProvider goes here */}
      </StyleSheetManager>
  • dropped deprecated withComponent API (87f511a); use "as" prop instead
  • node >= 14 needed

Full Changelog: styled-components/styled-components@v5.3.7...v6.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the build 🤝 Changes that affect the build system or external dependencies label Jul 1, 2023
@vercel
Copy link

vercel bot commented Jul 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
echo-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 2:25pm

@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from be036a0 to 2d4a50b Compare July 1, 2023 09:47
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 2d4a50b to 07536e5 Compare July 1, 2023 10:06
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 07536e5 to f2b2594 Compare July 1, 2023 14:47
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from f2b2594 to b61b96c Compare July 1, 2023 20:01
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from b61b96c to 0337037 Compare July 2, 2023 11:40
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 0337037 to 5537ed9 Compare July 2, 2023 17:28
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 5537ed9 to 62e067c Compare July 2, 2023 18:23
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 62e067c to 3ce58d0 Compare July 2, 2023 19:00
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 3ce58d0 to 938dcd1 Compare July 3, 2023 10:43
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 938dcd1 to ed3b545 Compare July 3, 2023 14:09
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from ed3b545 to 6c33188 Compare July 3, 2023 16:50
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 6c33188 to 006834b Compare July 3, 2023 21:45
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from 006834b to ce1874e Compare July 4, 2023 11:15
@renovate renovate bot force-pushed the renovate/cms-styled-components-6.x branch from ce1874e to 8963a92 Compare July 4, 2023 12:08
@renovate
Copy link
Contributor Author

renovate bot commented Jul 5, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/cms-styled-components-6.x branch July 5, 2023 12:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build 🤝 Changes that affect the build system or external dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant