Update emotion monorepo to v11 (major) #60
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:
^9.2.10
->^11.0.0
^9.2.10
->^11.0.0
^9.2.10
->^11.0.0
Release Notes
emotion-js/emotion
v11.0.0
Compare Source
Major Changes
b8476e08
#1675 Thanks @mitchellhamilton! - Renamebabel-plugin-emotion
to@emotion/babel-plugin
. Please replace"plugins": ["emotion"]
with"plugins": ["@​emotion"]
in your Babel config.v10.2.2
Compare Source
Patch Changes
ed47786b
#2248 Thanks @xanido! - optimiseCssProp results incss
being imported from @emotion/core rather than @emotion/cssv10.0.33
Compare Source
Patch Changes
b9f8ae3
#1829 Thanks @Andarist! - Skip appending source maps & labels to Babel-transpiled tagged template expressions.v10.0.29
Compare Source
Patch Changes
446e756
]:v10.0.28
Compare Source
Patch Changes
4dfe558
#1731 Thanks @ndelangen! - Fixed an issue with addinglabel
&target
options tostyled
-related calls when those properties were already set, causing those properties to be duplicated. This could have happened for example when transpiling already transpiled code or when providing those options manually (latter being less likely).af07afb
#1761 Thanks @mansourkheffache! - Push source maps & labels to cooked/raw arrays in TS-transpiled tagged template expressions containing interpolations. This is a case not covered previously by #1538.v10.0.27
Compare Source
Patch Changes
4c62ae9
#1698 Thanks @Andarist! - Add LICENSE file4c62ae9
]:v10.0.23
Compare Source
Patch Changes
3927293d
#1569 Thanks @Andarist! - Add dev hint about css object (generated by Babel) being stringified by accidentb3a0f148
#1574 Thanks @Andarist! - Fix babel plugin crashing when called programmatically without providing a filenameUpdated dependencies [
a55f3d49
,ca95f385
]:v10.0.22
Compare Source
Patch Changes
1bb3efe3
#1554 Thanks @Andarist! - Prepend appended label string with semicolon to avoid problems with declaration blocks without a final semicolonUpdated dependencies [
4fc5657a
,10211951
,57a767ea
]:v10.0.21
Compare Source
Patch Changes
v10.0.20
Compare Source
Patch Changes
autoLabel
crash oncss
used in expression assigned to an object patternv10.0.19
Compare Source
c81c003
]:v10.0.17
Compare Source
v10.0.16
Compare Source
v10.0.15
Compare Source
v10.0.14
Compare Source
v10.0.13
Compare Source
v10.0.9
Compare Source
v10.0.8
Compare Source
v10.0.7
Compare Source
v10.0.6
Compare Source
v10.0.5
Compare Source
v10.0.4
Compare Source
v10.0.3
Compare Source
v10.0.2
Compare Source
v10.0.0
Compare Source
Emotion 10 is a big change that we're really excited about with improvements to the css prop, a Global component for dynamic global styles, zero config SSR, lots of small fixes and improvements and more with an incremental adoption strategy. For a higher-level overview, read the Medium article on Emotion 10. For a migration guide, visit the migrating to Emotion 10 page on emotion.sh
🚀 Enhancement
babel-plugin-emotion
babel-plugin-emotion
in some casesbabel-plugin-emotion
💥 Breaking Change
channel
andcreateBroadcast
exports from emotion-theming have been removedextractStatic
option to babel-plugin-emotion has been removedcreate-emotion-server
accepts a cache instead of an emotion instancejsx
can be manually imported from@emotion/core
(which can be automated with eslint-plugin-emotion) or babel-plugin-jsx-pragmatic can be used.create-emotion
doesn't return a caches property and instead returns a cache property which is the same return value as@emotion/cache
importedNames
option to babel-plugin-emotion is gonehoist
option is gone, hoisting always happensv9.2.11
Compare Source
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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.