writeup-frontend
writeup-frontend copied to clipboard
Bump emotion from 10.0.14 to 11.0.0
Bumps emotion from 10.0.14 to 11.0.0.
Release notes
Sourced from emotion's releases.
[email protected]
Major Changes
b8476e08
#1675 Thanks @mitchellhamilton! - Renameemotion
to@emotion/css
. Please change any imports ofemotion
to import@emotion/css
or use the@emotion/pkg-renaming
ESLint rule from@emotion/eslint-plugin
.@emotion/[email protected]
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-preset
c5b12d90
#1220 Thanks @mitchellhamilton! - Removed support for theinstances
option, any usage of it should be replaced with theimportMap
option
c7850e61
#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:
- 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 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 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! - AllowlabelFormat
option to be a function.Patch Changes
- Updated dependencies [
c672175b
,c5b12d90
,5e803106
,b8476e08
,0a4a22ff
,b0ad4f0c
,9e998e37
,c65c5d88
,5c7ec859
,c7850e61
,b7d21373
,c5b12d90
,828111cd
]:
- @emotion/[email protected]
[email protected]
Major Changes
b8476e08
#1675 Thanks @mitchellhamilton! - Renamejest-emotion
to@emotion/jest
. Please replace"snapshotSerializers": ["jest-emotion"]
with"snapshotSerializers": ["@emotion/jest/serializer"]
if you're using the snapshot serializer. Also replace any imports ofjest-emotion
with@emotion/jest
or use the@emotion/pkg-renaming
ESLint rule from@emotion/eslint-plugin
.[email protected]
Major Changes
b8476e08
#1675 Thanks @mitchellhamilton! - Move createcreate-emotion
to@emotion/css/create-instance
. Please change any imports ofcreate-emotion
to import@emotion/css/create-instance
or use the@emotion/pkg-renaming
ESLint rule from@emotion/eslint-plugin
.[email protected]
Major Changes
Commits
b99c44c
Version Packages (#2046)4e1c94c
Emotion 11 post (#2089)5b7f4b5
Update README.mde6e209c
Remove unnecessary changesets and fixup old changelogs entries27b2357
Fixed@emotion/server/create-instance
entrypoint configuration139ea33
UseStyleSheet.create
in React Native (#2060)20d2249
Remove unnecessary changeset3c3bc41
Exit pre modea293f90
Add changeset about UMD filenames being renamedcf56694
Preconstruct upgrade (#2088)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by emotion-release-bot, a new releaser for emotion since your current version.
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)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)