Skip to content

Bump styled-components from 3.4.10 to 4.4.0#382

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/styled-components-4.4.0
Closed

Bump styled-components from 3.4.10 to 4.4.0#382
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/styled-components-4.4.0

Conversation

@dependabot-preview
Copy link

Bumps styled-components from 3.4.10 to 4.4.0.

Release notes

Sourced from styled-components's releases.

v4.4.0

This is the last minor release before v5, please start using the beta and give us feedback!

This is a minor release not a patch release due to this change: #2738. Apologies if this causes some code churn in your projects, it was a long-standing bug that needed fixing.

  • Fix to use ownerDocument instead of global document, by @​yamachig (see #2721)

  • Backport fix for SSR classname mismatches in development mode for some environments like next.js (see #2701)

  • Fix attrs not properly taking precedence over props

  • Backport fix where classnames are composed in the wrong order if custom class names are passed in (see #2760)

  • Fix add check for style tag detached - sheet in the style tag is null in this case, by @​newying61 (see #2707)

v4.3.2

Fix usage of the "css" prop with the styled-components babel macro (relevant to CRA 2.x users), by @​jamesknelson (see #2633)

v4.3.1

  • Revert #2586; breaks rehydration in dev for certain runtimes like next.js

We'll explore reintroducing it in v5 but better safe than sorry.

v4.3.0

  • Make it possible to initialize SC_ATTR and SC_DISABLE_SPEEDY via REACT_APP_* .env variables for easier integration with CRA applications (see #2501)

  • Fix components being folded inappropriately when an interim HOC is present (see #2586)

  • Fix theme prop for styled native components, also fixes theme in
    defaultProps for them (see #2576)

  • Add "forwardedAs" prop to allow deeply passing a different "as" prop value to underlying components
    when using styled() as a higher-order component (see #2580)

  • Implement defaultProps folding (see #2597)

v4.2.1

Major thanks to our wonderful contributors!

  • Remove className usage checker dev utility due to excessive false-positive noise in certain runtime environments like next.js and the related warning suppression prop (see #2563).

  • Attach displayName to forwardRef function as described in React docs (see #2508).

  • Compatibility with react-native-web 0.11 (see #2453).

  • Add stack trace to .attrs warning (see #2486).

  • Fix functions as values for object literals. (see 2489)

  • Remove validation in Babel macro, by @​mAAdhaTTah (see #2427)

... (truncated)
Changelog

Sourced from styled-components's changelog.

[v4.4.0] - 2019-09-23

  • Fix to use ownerDocument instead of global document, by @​yamachig (see #2721)

  • Backport fix for SSR classname mismatches in development mode for some environments like next.js (see #2701)

  • Fix attrs not properly taking precedence over props

  • Backport fix where classnames are composed in the wrong order if custom class names are passed in (see #2760)

  • Fix add check for style tag detached - sheet in the style tag is null in this case, by @​newying61 (see #2707)

[v4.3.2] - 2019-06-19

  • Fix usage of the "css" prop with the styled-components babel macro (relevant to CRA 2.x users), by @​jamesknelson (see #2633)

[v4.3.1] - 2019-06-06

  • Revert #2586; breaks rehydration in dev for certain runtimes like next.js

[v4.3.0] - 2019-06-05

  • Make it possible to initialize SC_ATTR and SC_DISABLE_SPEEDY via REACT_APP_* .env variables for easier integration with CRA applications (see #2501)

  • Fix theme prop for styled native components, also fixes theme in
    defaultProps for them.

  • Add "forwardedAs" prop to allow deeply passing a different "as" prop value to underlying components
    when using styled() as a higher-order component

  • Implement defaultProps folding (see #2597)

[v4.2.1] - 2019-05-30

  • Remove className usage checker dev utility due to excessive false-positive noise in certain runtime environments like next.js and the related warning suppression prop (see #2563).

  • Attach displayName to forwardRef function as described in React docs (see #2508).

  • Compatibility with react-native-web 0.11 (see #2453).

  • Add stack trace to .attrs warning (see #2486).

  • Fix functions as values for object literals. (see 2489)

  • Remove validation in Babel macro, by @​mAAdhaTTah (see #2427)

[v4.2.0] - 2019-03-23

  • Reduced GC pressure when using component selector styles. (see #2424).
... (truncated)
Commits
  • 98eb2ef v4.4.0
  • e3020f6 fix: add check for style tag detached - sheet in the style tag is null in thi...
  • 2ef3a3a backport classname ordering fix from canary (#2760)
  • f3e2266 Use ownerDocument instead of global document (#2721)
  • 06d1ae2 remove deprecated attrs suggestion from too many classes warning (#2740)
  • 009dc36 fix attrs not properly taking precedence over props (#2738)
  • d95bb95 Update .travis.yml (#2735)
  • e4cd50c backport dev SSR classname mismatch fix from canary (#2701)
  • 5602131 Get rid of the ThemeProvider single child context restriction (#2706)
  • acdc5d4 Update error message with clickable link. (#2694)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 30, 2019
@dependabot-preview
Copy link
Author

Superseded by #394.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/styled-components-4.4.0 branch November 5, 2019 07:27
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants