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-dev): bump styled-components and jest-styled-components #1301

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 14, 2021

Bumps styled-components and jest-styled-components. These dependencies needed to be updated together.
Updates styled-components from 4.4.1 to 5.3.0

Release notes

Sourced from styled-components's releases.

v5.3.0

  • Pass elementToBeCreated as a third parameter to shouldForwardProp so that the user-specified function can decide whether to pass through props based on whether the created element will be a tag or another component. (see #3436)

  • Fix React Native components accepts function as style prop. (see #3389)

v5.2.3

fix an issue with an unguarded window accessor in a SSR path ([see #3446](styled-components/styled-components#3446))

v5.2.2

  • For React Native based components, pass testID down to the native component if specified for an easier time testing. (see #3365)

  • Enable users of the babel macro to customize the styled-components import with importModuleName (see #3422)

  • [fix] COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled (see #3397)

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!

v5.2.0-test.10

We are planning to release 5.2 on September 2/3, please help us test!

yarn add styled-components@test
  • 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)

    NOTE: This is a behavioral change and might require adjustment in your codebase if you have many createGlobalStyle components in use. We do not think it will affect the majority of projects other than fix existing bugs.

  • createGlobalStyle is now React.StrictMode compliant

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

... (truncated)

Changelog

Sourced from styled-components's changelog.

[v5.3.0] - 2021-05-04

  • Pass elementToBeCreated as a third parameter to shouldForwardProp so that the user-specified function can decide whether to pass through props based on whether the created element will be a tag or another component. (see #3436)

  • Fix React Native components accepts function as style prop. (see #3389)

[v5.2.2] - 2021-03-30

  • For React Native based components, pass testID down to the native component if specified for an easier time testing. (see #3365)

  • Enable users of the babel macro to customize the styled-components import with importModuleName (see #3422)

  • [fix] COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled (see #3397)

[v5.2.1] - 2020-10-30

  • 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] - 2020-09-04

  • 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!

  • Allow DISABLE_SPEEDY to be set to false to enable speedy mode in non-production environments (see #3289) thanks @​FastFedora!

  • Enable new style rules can be inserted in the middle of existing sheet when rendering on client after rehydrate. GroupIDAllocator is now changed to find nextFreeGroup by checking reverseRegister, instead of setting it to the end of existing groups. (see #3233) thanks @​mu29!

[v5.1.1] - 2020-04-07

New Functionality

  • Implement shouldForwardProp API for native and primitive platforms, which was previously missing in [v5.1.0] (see #3093) This has been released under a patch bump instead of a minor, since it's only been missing from Native-support.

Bugfixes

  • Added useTheme hook to named exports for react-primitives entrypoint (see #2982) thanks @​jladuval!
  • Escape every CSS ident character necessary when converting component display names to class names (see #3102) thanks @​kripod!

... (truncated)

Commits

Updates jest-styled-components from 6.3.4 to 7.0.4

Release notes

Sourced from jest-styled-components's releases.

v7.0.4

support styled-components v6

v7.0.3

v7.0.2

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

v7.0.1

v7.0.0

  • styled-components v5 support, drops support for s-c versions below v5
  • ship stylesheetSerializer as a named export

v7.0.0-beta.2

  • improve handling of selectors that include static classNames …

e.g.

& + &, & > &, & &

but not

&&, &&&, etc.

v7.0.0-beta.1

Ship the stylesheetSerializer as a named export

v7.0.0-beta.0

styled-components v5 beta support, drops support for s-c versions below v5

npm install --dev jest-styled-components@beta
Changelog

Sourced from jest-styled-components's changelog.

7.0.4 - 2020-08-19

  • support styled-components v6

7.0.3 - 2020-08-19

7.0.2 - 2020-04-09

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

7.0.1 - 2020-04-07

7.0.0 - 2020-01-13

  • styled-components v5 support, drops support for s-c versions below v5
  • ship stylesheetSerializer as a named export

6.3.1 - 2018-11-11

Fixed

  • [toHaveStyleRule] Fix .not undefinded edge-case introduced in #206 (see #210).

6.3.0 - 2018-11-10

Added

  • [toHaveStyleRule] Ability to avoid passing the expected value and use the .not modifier (see #206).

6.2.2 - 2018-10-21

Fixed

  • Avoid using object spread to make this package compatible with Node <8.6 (see #196).

6.2.1 - 2018-09-22

Fixed

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 14, 2021
@changeset-bot
Copy link

changeset-bot bot commented Jun 14, 2021

⚠️ No Changeset found

Latest commit: 8b73ea0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jun 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primer-components/HVAxm94N4XUpdCrZc7TB62tWbvav
✅ Preview: https://primer-components-git-dependabot-npmandyarnstyled-93ef76-primer.vercel.app

@vercel vercel bot temporarily deployed to Preview June 14, 2021 07:36 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 7c3c3fe to 2f6fca3 Compare June 14, 2021 19:43
@vercel vercel bot temporarily deployed to Preview June 14, 2021 19:43 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 2f6fca3 to 9696d1d Compare June 15, 2021 18:47
@vercel vercel bot temporarily deployed to Preview June 15, 2021 18:47 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 9696d1d to dea9825 Compare July 19, 2021 20:39
@vercel vercel bot temporarily deployed to Preview July 19, 2021 20:39 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from dea9825 to 6e29376 Compare July 22, 2021 21:52
@vercel vercel bot temporarily deployed to Preview July 22, 2021 21:52 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 6e29376 to 17d597f Compare July 27, 2021 18:30
@vercel vercel bot temporarily deployed to Preview July 27, 2021 18:30 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 17d597f to f1adb17 Compare July 27, 2021 19:01
@vercel vercel bot temporarily deployed to Preview July 27, 2021 19:01 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from f1adb17 to 9c204c1 Compare July 27, 2021 19:05
@vercel vercel bot temporarily deployed to Preview July 27, 2021 19:09 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 9c204c1 to 47a3f4a Compare July 27, 2021 19:29
@vercel vercel bot temporarily deployed to Preview July 27, 2021 19:29 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 47a3f4a to 438ee62 Compare July 27, 2021 21:50
Bumps [styled-components](https://github.com/styled-components/styled-components) and [jest-styled-components](https://github.com/styled-components/jest-styled-components). These dependencies needed to be updated together.

Updates `styled-components` from 4.4.1 to 5.3.0
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Changelog](https://github.com/styled-components/styled-components/blob/main/CHANGELOG.md)
- [Commits](styled-components/styled-components@v4.4.1...v5.3.0)

Updates `jest-styled-components` from 6.3.4 to 7.0.4
- [Release notes](https://github.com/styled-components/jest-styled-components/releases)
- [Changelog](https://github.com/styled-components/jest-styled-components/blob/main/CHANGELOG.md)
- [Commits](styled-components/jest-styled-components@v6.3.4...v7.0.4)

---
updated-dependencies:
- dependency-name: styled-components
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: jest-styled-components
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch from 438ee62 to 6698543 Compare July 27, 2021 21:53
@colebemis
Copy link
Contributor

The test failures seem to be related to this issue: styled-components/jest-styled-components#276

@github-actions
Copy link
Contributor

github-actions bot commented Jul 27, 2021

size-limit report 📦

Path Size
dist/browser.esm.js 49.33 KB (0%)
dist/browser.umd.js 49.63 KB (0%)

@github-actions
Copy link
Contributor

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 25, 2021
@github-actions github-actions bot closed this Oct 2, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 2, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@github-actions github-actions bot deleted the dependabot/npm_and_yarn/styled-components-and-jest-styled-components-5.3.0 branch October 2, 2021 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant