Skip to content

chore(deps): update emotion monorepo to v11 (major) #891

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2020

This PR contains the following updates:

Package Change Age Confidence
@emotion/core (source) ^10.1.1 -> ^11.0.0 age confidence
@emotion/styled (source) ^10.0.27 -> ^11.14.1 age confidence
emotion (source) ^10.0.27 -> ^11.0.0 age confidence

Release Notes

emotion-js/emotion (@​emotion/core)

v11.0.0

Compare Source

Major Changes
  • b8476e08 #​1675 Thanks @​mitchellhamilton! - Rename @emotion/core to @emotion/react. Please change any imports of @emotion/core to import @emotion/react or use the @emotion/pkg-renaming ESLint rule from @emotion/eslint-plugin.

v10.3.1

Compare Source

Patch Changes
  • #​2576 33c01578 Thanks @​Methuselah96! - Export Keyframes type to avoid TypeScript inserting import("@​emotion/serialize").Keyframes references into declaration files emitted based on a source files exporting keyframes result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.

v10.3.0

Compare Source

Minor Changes
emotion-js/emotion (@​emotion/styled)

v11.14.1

Compare Source

v11.14.0

Compare Source

Minor Changes
  • #​3281 fc4d7bd Thanks @​Andarist! - Source code has been migrated to TypeScript. From now on type declarations will be emitted based on that, instead of being hand-written.
Patch Changes

v11.13.5

Compare Source

Patch Changes

v11.13.0

Compare Source

Minor Changes
  • #​3198 d8ff8a5 Thanks @​Andarist! - Migrated away from relying on process.env.NODE_ENV checks to differentiate between production and development builds.

    Development builds (and other environment-specific builds) can be used by using proper conditions (see here). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken.

    Default files should continue to work in all environments.

  • #​3215 a9f6912 Thanks @​Andarist! - Added edge-light and workerd conditions to package.json manifest to better serve users using Vercel Edge and Cloudflare Workers.

Patch Changes

v11.12.0

Compare Source

Minor Changes
  • #​2815 65a1eea Thanks @​srmagura! - Automatic labeling at runtime is now an opt-in feature. Define globalThis.EMOTION_RUNTIME_AUTO_LABEL = true before Emotion gets initialized to enable it.
Patch Changes

v11.11.5

Compare Source

Patch Changes

v11.11.0

Compare Source

Minor Changes
Patch Changes

v11.10.8

Compare Source

Patch Changes

v11.10.6

Compare Source

Patch Changes

v11.10.5

Compare Source

Patch Changes

v11.10.4

Compare Source

Patch Changes
  • #​2867 89b6dbb3 Thanks @​Andarist! - Externalized code referencing React.useInsertionEffect to a separate @emotion/use-insertion-effect-with-fallbacks package. This package should be used in your defined externals if you bundle Emotion for whatever reason. It references useInsertionEffect in a very specific way that allows us to use it conditionally. However, if the code consuming Emotion is bundled as a library with Emotion in it then some bundlers might change the way in which we reference useInsertionEffect and that might create problems for bundlers used to consume the said library code. By externalizing this new package you can still bundle Emotion if you want to without running into this problem as you won't "destroy" the carefully crafted reference to useInsertionEffect in the process.

    Note that we don't recommend bundling Emotion. You should have very specific reasons to do so.

  • Updated dependencies [89b6dbb3]:

v11.10.0

Compare Source

Minor Changes
  • #​2819 bbad8c79 Thanks @​nicksrandall! - exports field has been added to the package.json manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.

  • #​2819 bbad8c79 Thanks @​nicksrandall! - Thanks to the added exports field, the package now includes a worker condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.

Patch Changes

v11.9.3

Compare Source

Patch Changes

v11.8.1

Compare Source

Patch Changes
  • #​2651 39ac5b99 Thanks @​Andarist! - Fixed a transpilation issue that caused useInsertionEffect to be referenced directly in the specifiers list of the import statement. This has caused build errors in the consuming tools since the import statement can only reference known exports of a module.

v11.8.0

Compare Source

Minor Changes
  • #​2600 2f27156a Thanks @​Andarist! - Refactored code to use the upcoming React.useInsertionEffect when it's available (this is a new hook that is going to be introduced in React 18). This shouldn't have any effect on existing codebases and the change should be transparent.
Patch Changes

v11.6.0

Compare Source

Minor Changes
  • #​2542 eb013d25 Thanks @​eps1lon! - Fixed hydration mismatches if React.useId (an upcoming API in React 18) is used within a tree below our components.
Patch Changes

v11.3.0

Compare Source

Patch Changes

v11.1.5

Compare Source

Patch Changes
  • d0293508 #​2240 Thanks @​wolszczak96! - as prop has been removed from TypeScript declarations for composite components. This prop has not actually been handled by default by styled for those components - to make styled handle it you need to provide a custom shouldForwardProp that doesn't forward the as prop.

  • Updated dependencies [f3c2e81d]:

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

v10.3.0

Compare Source

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), 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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch 2 times, most recently from 4613b2e to 5a7dbed Compare November 17, 2020 14:28
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 5a7dbed to f444ac0 Compare November 23, 2020 18:19
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from f444ac0 to f53691f Compare November 30, 2020 18:53
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from f53691f to 15582a8 Compare December 8, 2020 19:14
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 15582a8 to 3d14732 Compare December 15, 2020 19:35
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 3d14732 to 84631e0 Compare December 23, 2020 19:48
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch 2 times, most recently from 293d7f6 to 0abc45e Compare January 11, 2021 19:08
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 0abc45e to b57ca06 Compare January 18, 2021 19:45
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch 2 times, most recently from 8c50632 to ccac5b3 Compare February 6, 2021 11:29
@renovate renovate bot changed the title chore(deps): update emotion monorepo to v11 (major) chore(deps): update emotion monorepo (major) Feb 6, 2021
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from ccac5b3 to e34a615 Compare February 10, 2021 22:21
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from e34a615 to 8fc3f2f Compare February 23, 2021 20:13
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 8fc3f2f to 2e06fb8 Compare March 15, 2021 21:33
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 2e06fb8 to 7c0f698 Compare April 8, 2021 12:30
@renovate renovate bot changed the title chore(deps): update emotion monorepo (major) chore(deps): update emotion monorepo (major) - autoclosed Jul 6, 2021
@renovate renovate bot closed this Jul 6, 2021
@renovate renovate bot deleted the renovate/major-emotion-monorepo branch July 6, 2021 10:03
@renovate renovate bot changed the title chore(deps): update emotion monorepo (major) - autoclosed chore(deps): update emotion monorepo (major) Jul 6, 2021
@renovate renovate bot reopened this Jul 6, 2021
@renovate renovate bot restored the renovate/major-emotion-monorepo branch July 6, 2021 10:35
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 7c0f698 to de23669 Compare March 7, 2022 14:20
@renovate renovate bot changed the title chore(deps): update emotion monorepo (major) chore(deps): update emotion monorepo to v11 (major) May 23, 2022
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from de23669 to 5a70ffb Compare June 12, 2022 15:01
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 5a70ffb to 0b4b583 Compare July 31, 2022 10:21
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 0b4b583 to 44f47a4 Compare September 16, 2022 16:30
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 44f47a4 to a43d438 Compare October 27, 2022 09:36
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from a43d438 to a51b92d Compare March 18, 2023 23:58
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from a51b92d to 83662e5 Compare April 28, 2023 08:44
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 83662e5 to 829474b Compare May 6, 2023 11:07
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 829474b to 99e1782 Compare March 29, 2024 19:22
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch 2 times, most recently from b056c43 to 899de62 Compare July 20, 2024 09:59
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 899de62 to dc79cdf Compare November 20, 2024 10:39
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from dc79cdf to 0bc341b Compare December 9, 2024 09:29
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 0bc341b to cf596f0 Compare June 26, 2025 16:37
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from cf596f0 to e3b3b0f Compare August 10, 2025 14:26
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from e3b3b0f to 399ecfa Compare August 13, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants