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

Update emotion monorepo to v11 (major) #3348

Merged
merged 3 commits into from
Dec 10, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@emotion/core 10.1.1 -> 11.0.0 age adoption passing confidence
@emotion/styled 10.0.27 -> 11.0.0 age adoption passing confidence

Release Notes

emotion-js/emotion

v11.0.0

Compare Source

Major Changes
  • 9e3671c4 #​2076 Thanks @​Andarist! - Removed runtime option that was introduced to this preset and deprecated shortly after that. If you want to configure runtime: "automatic", replace @emotion/babel-preset-css-prop with @babel/preset-react and @emotion/babel-plugin. You can find out how to configure things properly here: https://emotion.sh/docs/css-prop#babel-preset

  • c5b12d90 #​1220 Thanks @​mitchellhamilton! - Removed support for the instances option, any usage of it should be replaced with the importMap option

  • c7850e61 #​1656 Thanks @​Andarist! - autoLabel option no longer is a simple boolean. Instead we accept now 3 values: dev-only (the default), always and never.

    Each possible value for this option produces different output code:

    • with dev-only we optimize the production code, so there are no labels added there, but at the same time we keep labels for development environments,
    • with always we always add labels when possible,
    • with never we disable this entirely and no labels are added.
Minor Changes
  • c5b12d90 #​1220 Thanks @​mitchellhamilton! - Added the importMap option which allows you to tell @emotion/babel-plugin what imports it should look at to determine what it should transform so if you re-export Emotion's exports, you can still use the Babel transforms

  • c672175b #​1130 Thanks @​jtmthf! - Adjust how arrays passed to css prop are transformed so function elements can be resolved at runtime.

  • 0a4a22ff #​1651 Thanks @​Andarist! - Allow labelFormat option to be a function.

Patch Changes

Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

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


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

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

@renovate renovate bot added the dependencies label Dec 8, 2020
@gjvoosten gjvoosten merged commit 38cefe6 into candidate Dec 10, 2020
@gjvoosten gjvoosten deleted the renovate/major-emotion-monorepo branch December 10, 2020 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants