Update emotion monorepo to v11 (major) #3348
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.1.1
->11.0.0
10.0.27
->11.0.0
Release Notes
emotion-js/emotion
v11.0.0
Compare Source
Major Changes
9e3671c4
#2076 Thanks @Andarist! - Removedruntime
option that was introduced to this preset and deprecated shortly after that. If you want to configureruntime: "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-presetc5b12d90
#1220 Thanks @mitchellhamilton! - Removed support for theinstances
option, any usage of it should be replaced with theimportMap
optionc7850e61
#1656 Thanks @Andarist! -autoLabel
option no longer is a simple boolean. Instead we accept now 3 values:dev-only
(the default),always
andnever
.Each possible value for this option produces different output code:
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,always
we always add labels when possible,never
we disable this entirely and no labels are added.Minor Changes
c5b12d90
#1220 Thanks @mitchellhamilton! - Added theimportMap
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 transformsc672175b
#1130 Thanks @jtmthf! - Adjust how arrays passed to css prop are transformed so function elements can be resolved at runtime.0a4a22ff
#1651 Thanks @Andarist! - AllowlabelFormat
option to be a function.Patch Changes
c672175b
,c5b12d90
,5e803106
,b8476e08
,0a4a22ff
,b0ad4f0c
,9e998e37
,c65c5d88
,5c7ec859
,c7850e61
,b7d21373
,c5b12d90
,828111cd
]: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.
This PR has been generated by WhiteSource Renovate. View repository job log here.