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: add all missing peer dependency statements #4243
Conversation
This allows for better deduping in client projects.
@@ -62,8 +62,45 @@ | |||
"tslib": "2.5.0" | |||
}, | |||
"peerDependencies": { | |||
"react": ">= 16.8.0", | |||
"react-dom": ">= 16.8.0" | |||
"@emotion/is-prop-valid": "^1.2.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this change will do what you think it will do they way it stands:
- Listing packages as a
peerDependency
means styled-components expect the consuming application to have downloaded those dependencies beforehand, which I believe is not the case here (I might be wrong though 😄)
To achieve what you want (better dedupe on the consuming apps side) you can simply change the dependencies listed in the dependencies
array to use the range syntax like you used here. NPM/Yarn will be smart and reuse the dependencies versions already present on the consuming side if there's a match for that range..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's why they're defined in both peer and regular dependencies, with peerDependenciesMeta declaring all but "react" are optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But since the dependencies
array still defines fixed versions, it'll overwrite the peerDependenciesMeta, won't it? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it linked against the styled-components-website
repo and it seems to work as expected (at least using yarn.) A test version is published as styled-components@6.1.5-rc.0
if you want to give it a shot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the explicit dependency + permissive peer dep with a bunch of different pms:
Worked (installed only the higher version): yarn, pnpm
Didn't work (installed both versions): npm, bun
The tricky thing is with react
the range is really wide (16.8 and up basically.) I could move things out of peerDependencies into devDependencies, but basically no pm automatically installs peerDependencies out of the box so users would get hit with an error to add the dependency explicitly. The goal of this was to ensure the relevant libraries are available at least at the version we specify, with peerDependencies meant to deduplicate to a greater applicable version if defined in the client repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened an issue against npm, I think yarn and pnpm behavior is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, interesting one.. I expected PMs to make dependencies
take precedence over peerDependencies
as, to me, peerDependencies
was purely informational to let consuming apps know that you expect something to be there.. However, that doesn't seem to be the behavior the accepted RFC you linked describes..
Even if they fix npm, it'll take time for people to adopt the version with the fix..
IMHO, if I consume a library that has a dependency: "A": "^1.1.0"
, I would think that library was integration-tested with that package with that version, although anything in the range might work..
The goal of this was to ensure the relevant libraries are available at least at the version we specify
You just precisely described (in my understanding) the dependencies
array when used with ranges :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imported styled-components@6.1.5-rc.0
into the styled-components-website and ran yarn
.. it did not take into account the peerDependencies array (that specifies postcss: ^8.4.31
- should've resolved postcss to 8.4.32)..
When I removed the peerDependencies
and set the dependencies
to be a range (postcss: ^8.4.0
for testing purposes), it resolved postcss to 8.4.32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more obvious in the repo I linked in the bug ticket since that repo has postcss saved already at a higher version
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`6.1.6` -> `6.1.7`](https://renovatebot.com/diffs/npm/styled-components/6.1.0/6.1.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.1.0/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.1.0/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.1.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.6...v6.1.7) ##### What's Changed - chore: add all missing peer dependency statements by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4243 NOTE: this change may cause some installed dependency duplication until [this NPM bug](https://togithub.com/npm/cli/issues/7106) is addressed but yarn and pnpm have correct behavior. Bun also has [a similar bug](https://togithub.com/oven-sh/bun/issues/7869). 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**: styled-components/styled-components@v6.1.6...v6.1.7 ### [`v6.1.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.5...v6.1.6) ##### What's Changed - fix: bump stylis to 4.3.1 to resolve issue with leaking nested selectors by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4245 **Full Changelog**: styled-components/styled-components@v6.1.5...v6.1.6 ### [`v6.1.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.4...v6.1.5) ##### What's Changed - fix: further constrain self-referencing to match v5 behavior by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4244 **Full Changelog**: styled-components/styled-components@v6.1.4...v6.1.5 ### [`v6.1.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.3...v6.1.4) #### What's Changed - fix: allow using `attrs` to provide a custom `theme` prop to child components by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4242 **Full Changelog**: styled-components/styled-components@v6.1.3...v6.1.4 ### [`v6.1.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.2...v6.1.3) #### What's Changed - fix(types): missing type declarations by [@​benjaminrae](https://togithub.com/benjaminrae) in [styled-components/styled-components#4237 - fix(deps): pin dependencies to exact versions prior to bun migration by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4238 - fix(types): nested styled with additional prop types by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4236 #### New Contributors - [@​benjaminrae](https://togithub.com/benjaminrae) made their first contribution in [styled-components/styled-components#4237 **Full Changelog**: styled-components/styled-components@v6.1.2...v6.1.3 ### [`v6.1.2`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.2) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.1...v6.1.2) #### What's Changed - fix(types): StyledObject type to allow nested selectors by [@​maximebiloe](https://togithub.com/maximebiloe) in [styled-components/styled-components#4212 - feat(types): expose FastOmit to improve emit performance by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4230 #### New Contributors - [@​maximebiloe](https://togithub.com/maximebiloe) made their first contribution in [styled-components/styled-components#4212 **Full Changelog**: styled-components/styled-components@v6.1.1...v6.1.2 ### [`v6.1.1`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.1) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.0...v6.1.1) #### What's Changed - fix(types): remove duplicated type by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4200 - fix(native): image unsupported border color style by [@​nazmeln](https://togithub.com/nazmeln) in [styled-components/styled-components#4195 - fix(styled): add displayName in all environments by [@​delijah](https://togithub.com/delijah) in [styled-components/styled-components#4208 - fix(ssr): correctly place new rules after hydrated rules by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4210 #### New Contributors - [@​nazmeln](https://togithub.com/nazmeln) made their first contribution in [styled-components/styled-components#4195 - [@​delijah](https://togithub.com/delijah) made their first contribution in [styled-components/styled-components#4208 **Full Changelog**: styled-components/styled-components@v6.1.0...v6.1.1 </details> --- ### 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
I'm afraid that this change is breaking. Example: kachkaev/njt#549 If something is a peer dependency, not a dependency, builds would fail if the dependency is not mentioned in downstream |
I added optional status (via |
It's odd because I tested it in pnpm and resolution worked as expected... will roll the change back. |
Thanks for reverting! App build in kachkaev/njt#549 worked after upgrading |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`6.1.7` -> `6.1.8`](https://renovatebot.com/diffs/npm/styled-components/6.1.0/6.1.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.1.0/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.1.0/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.1.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.7...v6.1.8) Revert adding `peerDependencies` from v6.1.7; apparently some build tools do not respect `peerDependenciesMeta[package].optional` which is [causing issues](https://togithub.com/styled-components/styled-components/pull/4243#issuecomment-1881571372). Will revisit at a later date if possible. **Full Changelog**: styled-components/styled-components@v6.1.7...v6.1.8 ### [`v6.1.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.6...v6.1.7) ##### What's Changed - chore: add all missing peer dependency statements by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4243 NOTE: this change may cause some installed dependency duplication until [this NPM bug](https://togithub.com/npm/cli/issues/7106) is addressed but yarn and pnpm have correct behavior. Bun also has [a similar bug](https://togithub.com/oven-sh/bun/issues/7869). 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**: styled-components/styled-components@v6.1.6...v6.1.7 ### [`v6.1.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.5...v6.1.6) ##### What's Changed - fix: bump stylis to 4.3.1 to resolve issue with leaking nested selectors by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4245 **Full Changelog**: styled-components/styled-components@v6.1.5...v6.1.6 ### [`v6.1.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.4...v6.1.5) ##### What's Changed - fix: further constrain self-referencing to match v5 behavior by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4244 **Full Changelog**: styled-components/styled-components@v6.1.4...v6.1.5 ### [`v6.1.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.3...v6.1.4) #### What's Changed - fix: allow using `attrs` to provide a custom `theme` prop to child components by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4242 **Full Changelog**: styled-components/styled-components@v6.1.3...v6.1.4 ### [`v6.1.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.2...v6.1.3) #### What's Changed - fix(types): missing type declarations by [@​benjaminrae](https://togithub.com/benjaminrae) in [styled-components/styled-components#4237 - fix(deps): pin dependencies to exact versions prior to bun migration by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4238 - fix(types): nested styled with additional prop types by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4236 #### New Contributors - [@​benjaminrae](https://togithub.com/benjaminrae) made their first contribution in [styled-components/styled-components#4237 **Full Changelog**: styled-components/styled-components@v6.1.2...v6.1.3 ### [`v6.1.2`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.2) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.1...v6.1.2) #### What's Changed - fix(types): StyledObject type to allow nested selectors by [@​maximebiloe](https://togithub.com/maximebiloe) in [styled-components/styled-components#4212 - feat(types): expose FastOmit to improve emit performance by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4230 #### New Contributors - [@​maximebiloe](https://togithub.com/maximebiloe) made their first contribution in [styled-components/styled-components#4212 **Full Changelog**: styled-components/styled-components@v6.1.1...v6.1.2 ### [`v6.1.1`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.1) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.0...v6.1.1) #### What's Changed - fix(types): remove duplicated type by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4200 - fix(native): image unsupported border color style by [@​nazmeln](https://togithub.com/nazmeln) in [styled-components/styled-components#4195 - fix(styled): add displayName in all environments by [@​delijah](https://togithub.com/delijah) in [styled-components/styled-components#4208 - fix(ssr): correctly place new rules after hydrated rules by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4210 #### New Contributors - [@​nazmeln](https://togithub.com/nazmeln) made their first contribution in [styled-components/styled-components#4195 - [@​delijah](https://togithub.com/delijah) made their first contribution in [styled-components/styled-components#4208 **Full Changelog**: styled-components/styled-components@v6.1.0...v6.1.1 </details> --- ### 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`6.1.6` -> `6.1.7`](https://renovatebot.com/diffs/npm/styled-components/6.1.6/6.1.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.1.6/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.1.6/6.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.1.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.6...v6.1.7) ##### What's Changed - chore: add all missing peer dependency statements by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4243 NOTE: this change may cause some installed dependency duplication until [this NPM bug](https://togithub.com/npm/cli/issues/7106) is addressed but yarn and pnpm have correct behavior. Bun also has [a similar bug](https://togithub.com/oven-sh/bun/issues/7869). 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**: styled-components/styled-components@v6.1.6...v6.1.7 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kula-app/OnLaunch). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`6.1.3` -> `6.1.8`](https://renovatebot.com/diffs/npm/styled-components/6.1.3/6.1.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.1.3/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.1.3/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.1.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.7...v6.1.8) Revert adding `peerDependencies` from v6.1.7; apparently some build tools do not respect `peerDependenciesMeta[package].optional` which is [causing issues](https://togithub.com/styled-components/styled-components/pull/4243#issuecomment-1881571372). Will revisit at a later date if possible. **Full Changelog**: styled-components/styled-components@v6.1.7...v6.1.8 ### [`v6.1.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.6...v6.1.7) ##### What's Changed - chore: add all missing peer dependency statements by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4243 NOTE: this change may cause some installed dependency duplication until [this NPM bug](https://togithub.com/npm/cli/issues/7106) is addressed but yarn and pnpm have correct behavior. Bun also has [a similar bug](https://togithub.com/oven-sh/bun/issues/7869). 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**: styled-components/styled-components@v6.1.6...v6.1.7 ### [`v6.1.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.5...v6.1.6) ##### What's Changed - fix: bump stylis to 4.3.1 to resolve issue with leaking nested selectors by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4245 **Full Changelog**: styled-components/styled-components@v6.1.5...v6.1.6 ### [`v6.1.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.4...v6.1.5) ##### What's Changed - fix: further constrain self-referencing to match v5 behavior by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4244 **Full Changelog**: styled-components/styled-components@v6.1.4...v6.1.5 ### [`v6.1.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.3...v6.1.4) #### What's Changed - fix: allow using `attrs` to provide a custom `theme` prop to child components by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4242 **Full Changelog**: styled-components/styled-components@v6.1.3...v6.1.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/macchiitaka/tasks-app-nextjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`6.0.2` -> `6.1.8`](https://renovatebot.com/diffs/npm/styled-components/6.0.2/6.1.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.0.2/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.0.2/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.1.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.7...v6.1.8) Revert adding `peerDependencies` from v6.1.7; apparently some build tools do not respect `peerDependenciesMeta[package].optional` which is [causing issues](https://togithub.com/styled-components/styled-components/pull/4243#issuecomment-1881571372). Will revisit at a later date if possible. **Full Changelog**: styled-components/styled-components@v6.1.7...v6.1.8 ### [`v6.1.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.6...v6.1.7) ##### What's Changed - chore: add all missing peer dependency statements by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4243 NOTE: this change may cause some installed dependency duplication until [this NPM bug](https://togithub.com/npm/cli/issues/7106) is addressed but yarn and pnpm have correct behavior. Bun also has [a similar bug](https://togithub.com/oven-sh/bun/issues/7869). 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**: styled-components/styled-components@v6.1.6...v6.1.7 ### [`v6.1.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.5...v6.1.6) ##### What's Changed - fix: bump stylis to 4.3.1 to resolve issue with leaking nested selectors by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4245 **Full Changelog**: styled-components/styled-components@v6.1.5...v6.1.6 ### [`v6.1.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.4...v6.1.5) ##### What's Changed - fix: further constrain self-referencing to match v5 behavior by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4244 **Full Changelog**: styled-components/styled-components@v6.1.4...v6.1.5 ### [`v6.1.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.3...v6.1.4) #### What's Changed - fix: allow using `attrs` to provide a custom `theme` prop to child components by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4242 **Full Changelog**: styled-components/styled-components@v6.1.3...v6.1.4 ### [`v6.1.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.2...v6.1.3) #### What's Changed - fix(types): missing type declarations by [@​benjaminrae](https://togithub.com/benjaminrae) in [styled-components/styled-components#4237 - fix(deps): pin dependencies to exact versions prior to bun migration by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4238 - fix(types): nested styled with additional prop types by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4236 #### New Contributors - [@​benjaminrae](https://togithub.com/benjaminrae) made their first contribution in [styled-components/styled-components#4237 **Full Changelog**: styled-components/styled-components@v6.1.2...v6.1.3 ### [`v6.1.2`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.2) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.1...v6.1.2) #### What's Changed - fix(types): StyledObject type to allow nested selectors by [@​maximebiloe](https://togithub.com/maximebiloe) in [styled-components/styled-components#4212 - feat(types): expose FastOmit to improve emit performance by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4230 #### New Contributors - [@​maximebiloe](https://togithub.com/maximebiloe) made their first contribution in [styled-components/styled-components#4212 **Full Changelog**: styled-components/styled-components@v6.1.1...v6.1.2 ### [`v6.1.1`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.1) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.0...v6.1.1) #### What's Changed - fix(types): remove duplicated type by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4200 - fix(native): image unsupported border color style by [@​nazmeln](https://togithub.com/nazmeln) in [styled-components/styled-components#4195 - fix(styled): add displayName in all environments by [@​delijah](https://togithub.com/delijah) in [styled-components/styled-components#4208 - fix(ssr): correctly place new rules after hydrated rules by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4210 #### New Contributors - [@​nazmeln](https://togithub.com/nazmeln) made their first contribution in [styled-components/styled-components#4195 - [@​delijah](https://togithub.com/delijah) made their first contribution in [styled-components/styled-components#4208 **Full Changelog**: styled-components/styled-components@v6.1.0...v6.1.1 ### [`v6.1.0`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.0) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.9...v6.1.0) #### What's Changed - fix(native): bump postcss version from 8.4.23 to 8.4.31 by [@​davidlacasse](https://togithub.com/davidlacasse) in [styled-components/styled-components#4188 - fix(native): solve ts warning by [@​krudos](https://togithub.com/krudos) in [styled-components/styled-components#4190 - chore: remove babel macro due to lack of usage by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4193 #### New Contributors - [@​davidlacasse](https://togithub.com/davidlacasse) made their first contribution in [styled-components/styled-components#4188 **Full Changelog**: styled-components/styled-components@v6.0.9...v6.1.0 ### [`v6.0.9`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.9) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.8...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**: styled-components/styled-components@v6.0.8...v6.0.9 ### [`v6.0.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.7...v6.0.8) #### What's Changed - feat(native): add `toStyleSheet` function by [@​krudos](https://togithub.com/krudos) in [styled-components/styled-components#4124 - fix: prevent `StyleSheetManager` updating context on every render by [@​keeganstreet](https://togithub.com/keeganstreet) in [styled-components/styled-components#4159 - fix(types): ensure typing for static properties defined on third-party components wrapped by styled-components by [@​MartinPELCAT](https://togithub.com/MartinPELCAT) in [styled-components/styled-components#4141 - fix: production mode inconsistent CSS rendering when dynamic property values are the same but property names are different by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4132 - fix(types): decrease type complexity by moving off of `JSX.IntrinsicElements` for the supported element list by [@​RJWadley](https://togithub.com/RJWadley) in [styled-components/styled-components#4149 - fix(types): adopt ref typing from forwardedAs by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4163 - chore: update typescript reference on issue template by [@​chilled-capybara](https://togithub.com/chilled-capybara) in [styled-components/styled-components#4150 - chore(types): add type exports for `StyleFunction`, `Interpolation` by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4140 - chore: updated Contributing guide benchmark instructions by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4137 - chore(types): add missing types `CSSProperties`, `CSSObject`, `CSSPseudos` and `CSSKeyframes` by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4117 #### New Contributors - [@​takurinton](https://togithub.com/takurinton) made their first contribution in [styled-components/styled-components#4117 - [@​krudos](https://togithub.com/krudos) made their first contribution in [styled-components/styled-components#4124 - [@​chilled-capybara](https://togithub.com/chilled-capybara) made their first contribution in [styled-components/styled-components#4150 - [@​MartinPELCAT](https://togithub.com/MartinPELCAT) made their first contribution in [styled-components/styled-components#4141 - [@​RJWadley](https://togithub.com/RJWadley) made their first contribution in [styled-components/styled-components#4149 **Full Changelog**: styled-components/styled-components@v6.0.7...v6.0.8 ### [`v6.0.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.6...v6.0.7) #### What's Changed - refactor(types): enable `exactOptionalPropertyTypes` check by [@​aspirisen](https://togithub.com/aspirisen) in [styled-components/styled-components#3993 - fix(types): allow number for height/width/etc ([#​4090](https://togithub.com/styled-components/styled-components/issues/4090)) by [@​drewbrend](https://togithub.com/drewbrend) in [styled-components/styled-components#4111 #### New Contributors - [@​aspirisen](https://togithub.com/aspirisen) made their first contribution in [styled-components/styled-components#3993 - [@​drewbrend](https://togithub.com/drewbrend) made their first contribution in [styled-components/styled-components#4111 **Full Changelog**: styled-components/styled-components@v6.0.6...v6.0.7 ### [`v6.0.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.5...v6.0.6) #### What's Changed - fix(types): issues with StyleFunctions and StyledObjects by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4107 #### New Contributors - [@​bcole808](https://togithub.com/bcole808) made their first contribution in [styled-components/styled-components#4107 **Full Changelog**: styled-components/styled-components@v6.0.5...v6.0.6 ### [`v6.0.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.4...v6.0.5) #### What's Changed - Fix createGlobalStyle not removing styles on unmount by [@​mdeschamps](https://togithub.com/mdeschamps) in [styled-components/styled-components#4101 #### New Contributors - [@​mdeschamps](https://togithub.com/mdeschamps) made their first contribution in [styled-components/styled-components#4101 **Full Changelog**: styled-components/styled-components@v6.0.4...v6.0.5 ### [`v6.0.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.3...v6.0.4) #### What's Changed - refactor: dev warning on unknown props retargeted specifically toward HTML targets rather than other React components by [@​woodreamz](https://togithub.com/woodreamz) in [styled-components/styled-components#4084 - fix: untyped event handler callbacks by [@​ziolekjj](https://togithub.com/ziolekjj) in [styled-components/styled-components#4086 #### New Contributors - [@​woodreamz](https://togithub.com/woodreamz) made their first contribution in [styled-components/styled-components#4084 - [@​ziolekjj](https://togithub.com/ziolekjj) made their first contribution in [styled-components/styled-components#4086 **Full Changelog**: styled-components/styled-components@v6.0.3...v6.0.4 ### [`v6.0.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.2...v6.0.3) #### What's Changed - fix: StyleSheetManager missing Stylis types by [@​MattIPv4](https://togithub.com/MattIPv4) in [styled-components/styled-components#4078 #### New Contributors - [@​MattIPv4](https://togithub.com/MattIPv4) made their first contribution in [styled-components/styled-components#4078 **Full Changelog**: styled-components/styled-components@v6.0.2...v6.0.3 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/agbrs/agb). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [styled-components](https://styled-components.com) ([source](https://togithub.com/styled-components/styled-components)) | [`6.0.2` -> `6.1.8`](https://renovatebot.com/diffs/npm/styled-components/6.0.2/6.1.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/6.0.2/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/6.0.2/6.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.1.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.7...v6.1.8) Revert adding `peerDependencies` from v6.1.7; apparently some build tools do not respect `peerDependenciesMeta[package].optional` which is [causing issues](https://togithub.com/styled-components/styled-components/pull/4243#issuecomment-1881571372). Will revisit at a later date if possible. **Full Changelog**: styled-components/styled-components@v6.1.7...v6.1.8 ### [`v6.1.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.6...v6.1.7) ##### What's Changed - chore: add all missing peer dependency statements by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4243 NOTE: this change may cause some installed dependency duplication until [this NPM bug](https://togithub.com/npm/cli/issues/7106) is addressed but yarn and pnpm have correct behavior. Bun also has [a similar bug](https://togithub.com/oven-sh/bun/issues/7869). 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**: styled-components/styled-components@v6.1.6...v6.1.7 ### [`v6.1.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.5...v6.1.6) ##### What's Changed - fix: bump stylis to 4.3.1 to resolve issue with leaking nested selectors by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4245 **Full Changelog**: styled-components/styled-components@v6.1.5...v6.1.6 ### [`v6.1.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.4...v6.1.5) ##### What's Changed - fix: further constrain self-referencing to match v5 behavior by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4244 **Full Changelog**: styled-components/styled-components@v6.1.4...v6.1.5 ### [`v6.1.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.3...v6.1.4) #### What's Changed - fix: allow using `attrs` to provide a custom `theme` prop to child components by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4242 **Full Changelog**: styled-components/styled-components@v6.1.3...v6.1.4 ### [`v6.1.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.2...v6.1.3) #### What's Changed - fix(types): missing type declarations by [@​benjaminrae](https://togithub.com/benjaminrae) in [styled-components/styled-components#4237 - fix(deps): pin dependencies to exact versions prior to bun migration by [@​quantizor](https://togithub.com/quantizor) in [styled-components/styled-components#4238 - fix(types): nested styled with additional prop types by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4236 #### New Contributors - [@​benjaminrae](https://togithub.com/benjaminrae) made their first contribution in [styled-components/styled-components#4237 **Full Changelog**: styled-components/styled-components@v6.1.2...v6.1.3 ### [`v6.1.2`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.2) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.1...v6.1.2) #### What's Changed - fix(types): StyledObject type to allow nested selectors by [@​maximebiloe](https://togithub.com/maximebiloe) in [styled-components/styled-components#4212 - feat(types): expose FastOmit to improve emit performance by [@​justinbhopper](https://togithub.com/justinbhopper) in [styled-components/styled-components#4230 #### New Contributors - [@​maximebiloe](https://togithub.com/maximebiloe) made their first contribution in [styled-components/styled-components#4212 **Full Changelog**: styled-components/styled-components@v6.1.1...v6.1.2 ### [`v6.1.1`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.1) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.1.0...v6.1.1) #### What's Changed - fix(types): remove duplicated type by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4200 - fix(native): image unsupported border color style by [@​nazmeln](https://togithub.com/nazmeln) in [styled-components/styled-components#4195 - fix(styled): add displayName in all environments by [@​delijah](https://togithub.com/delijah) in [styled-components/styled-components#4208 - fix(ssr): correctly place new rules after hydrated rules by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4210 #### New Contributors - [@​nazmeln](https://togithub.com/nazmeln) made their first contribution in [styled-components/styled-components#4195 - [@​delijah](https://togithub.com/delijah) made their first contribution in [styled-components/styled-components#4208 **Full Changelog**: styled-components/styled-components@v6.1.0...v6.1.1 ### [`v6.1.0`](https://togithub.com/styled-components/styled-components/releases/tag/v6.1.0) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.9...v6.1.0) #### What's Changed - fix(native): bump postcss version from 8.4.23 to 8.4.31 by [@​davidlacasse](https://togithub.com/davidlacasse) in [styled-components/styled-components#4188 - fix(native): solve ts warning by [@​krudos](https://togithub.com/krudos) in [styled-components/styled-components#4190 - chore: remove babel macro due to lack of usage by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4193 #### New Contributors - [@​davidlacasse](https://togithub.com/davidlacasse) made their first contribution in [styled-components/styled-components#4188 **Full Changelog**: styled-components/styled-components@v6.0.9...v6.1.0 ### [`v6.0.9`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.9) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.8...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**: styled-components/styled-components@v6.0.8...v6.0.9 ### [`v6.0.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.7...v6.0.8) #### What's Changed - feat(native): add `toStyleSheet` function by [@​krudos](https://togithub.com/krudos) in [styled-components/styled-components#4124 - fix: prevent `StyleSheetManager` updating context on every render by [@​keeganstreet](https://togithub.com/keeganstreet) in [styled-components/styled-components#4159 - fix(types): ensure typing for static properties defined on third-party components wrapped by styled-components by [@​MartinPELCAT](https://togithub.com/MartinPELCAT) in [styled-components/styled-components#4141 - fix: production mode inconsistent CSS rendering when dynamic property values are the same but property names are different by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4132 - fix(types): decrease type complexity by moving off of `JSX.IntrinsicElements` for the supported element list by [@​RJWadley](https://togithub.com/RJWadley) in [styled-components/styled-components#4149 - fix(types): adopt ref typing from forwardedAs by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4163 - chore: update typescript reference on issue template by [@​chilled-capybara](https://togithub.com/chilled-capybara) in [styled-components/styled-components#4150 - chore(types): add type exports for `StyleFunction`, `Interpolation` by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4140 - chore: updated Contributing guide benchmark instructions by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4137 - chore(types): add missing types `CSSProperties`, `CSSObject`, `CSSPseudos` and `CSSKeyframes` by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4117 #### New Contributors - [@​takurinton](https://togithub.com/takurinton) made their first contribution in [styled-components/styled-components#4117 - [@​krudos](https://togithub.com/krudos) made their first contribution in [styled-components/styled-components#4124 - [@​chilled-capybara](https://togithub.com/chilled-capybara) made their first contribution in [styled-components/styled-components#4150 - [@​MartinPELCAT](https://togithub.com/MartinPELCAT) made their first contribution in [styled-components/styled-components#4141 - [@​RJWadley](https://togithub.com/RJWadley) made their first contribution in [styled-components/styled-components#4149 **Full Changelog**: styled-components/styled-components@v6.0.7...v6.0.8 ### [`v6.0.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.6...v6.0.7) #### What's Changed - refactor(types): enable `exactOptionalPropertyTypes` check by [@​aspirisen](https://togithub.com/aspirisen) in [styled-components/styled-components#3993 - fix(types): allow number for height/width/etc ([#​4090](https://togithub.com/styled-components/styled-components/issues/4090)) by [@​drewbrend](https://togithub.com/drewbrend) in [styled-components/styled-components#4111 #### New Contributors - [@​aspirisen](https://togithub.com/aspirisen) made their first contribution in [styled-components/styled-components#3993 - [@​drewbrend](https://togithub.com/drewbrend) made their first contribution in [styled-components/styled-components#4111 **Full Changelog**: styled-components/styled-components@v6.0.6...v6.0.7 ### [`v6.0.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.5...v6.0.6) #### What's Changed - fix(types): issues with StyleFunctions and StyledObjects by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4107 #### New Contributors - [@​bcole808](https://togithub.com/bcole808) made their first contribution in [styled-components/styled-components#4107 **Full Changelog**: styled-components/styled-components@v6.0.5...v6.0.6 ### [`v6.0.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.4...v6.0.5) #### What's Changed - Fix createGlobalStyle not removing styles on unmount by [@​mdeschamps](https://togithub.com/mdeschamps) in [styled-components/styled-components#4101 #### New Contributors - [@​mdeschamps](https://togithub.com/mdeschamps) made their first contribution in [styled-components/styled-components#4101 **Full Changelog**: styled-components/styled-components@v6.0.4...v6.0.5 ### [`v6.0.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.3...v6.0.4) #### What's Changed - refactor: dev warning on unknown props retargeted specifically toward HTML targets rather than other React components by [@​woodreamz](https://togithub.com/woodreamz) in [styled-components/styled-components#4084 - fix: untyped event handler callbacks by [@​ziolekjj](https://togithub.com/ziolekjj) in [styled-components/styled-components#4086 #### New Contributors - [@​woodreamz](https://togithub.com/woodreamz) made their first contribution in [styled-components/styled-components#4084 - [@​ziolekjj](https://togithub.com/ziolekjj) made their first contribution in [styled-components/styled-components#4086 **Full Changelog**: styled-components/styled-components@v6.0.3...v6.0.4 ### [`v6.0.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.2...v6.0.3) #### What's Changed - fix: StyleSheetManager missing Stylis types by [@​MattIPv4](https://togithub.com/MattIPv4) in [styled-components/styled-components#4078 #### New Contributors - [@​MattIPv4](https://togithub.com/MattIPv4) made their first contribution in [styled-components/styled-components#4078 **Full Changelog**: styled-components/styled-components@v6.0.2...v6.0.3 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/agbrs/agb). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
This allows for better deduping in client projects.
Might fix #4226