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) #4

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 11, 2019

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
emotion (source) 9.2.12 -> 11.0.0 age adoption passing confidence
emotion-server (source) 9.2.12 -> 11.0.0 age adoption passing confidence

Release Notes

emotion-js/emotion (emotion)

v11.0.0

Compare Source

Major Changes
  • b8476e08 #​1675 Thanks @​mitchellhamilton! - Rename eslint-plugin-emotion to @emotion/eslint-plugin. Please replace "plugins": ["emotion"] with "plugins": ["@​emotion"] and emotion/ with @emotion/ in your rules config in your ESLint config.

v10.0.27

Compare Source

Patch Changes

v10.0.23

Compare Source

Patch Changes

v10.0.17

Compare Source

v10.0.14

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.1

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
  • The css prop works without babel-plugin-emotion
    • The css prop receives the theme
    • Labels are added to the css prop without babel-plugin-emotion in some cases
  • Add the Global and ClassNames components
  • styled uses forwardRef
  • Add the as prop to styled
  • Providing options can be done via the CacheProvider
  • The autoLabel and sourceMap options are enabled in development with the Babel Macros
  • The autoLabel and sourceMap options are on by default in development in babel-plugin-emotion
  • Add warning for kebab-case css properties in objects
  • Add keyframes to snapshots with jest-emotion
  • Add codemod rules for Emotion 10
  • Fix SSR with _ in labels
  • Add warnings for unsafe pseudo classes
💥 Breaking Change
  • create-emotion no longer accepts a global context object
  • Support for preact-emotion has been dropped(note that the emotion package still works with preact)
  • Emotion only supports react@>=16.3
  • The channel and createBroadcast exports from emotion-theming have been removed
  • The extractStatic option to babel-plugin-emotion has been removed
  • jest-emotion no longer accepts an emotion instance
  • create-emotion-server accepts a cache instead of an emotion instance
  • The css prop doesn't work via the babel plugin. jsx can be manually imported from @emotion/core(which can be automated with eslint-plugin-emotion) or babel-plugin-jsx-pragmatic can be used.
  • Functions in interpolations are stringified in css and cx calls(probably won't affect you very much, there's a warning about it in v9)
  • create-emotion doesn't return a caches property and instead returns a cache property which is the same return value as @emotion/cache
  • The importedNames option to babel-plugin-emotion is gone
  • The hoist option is gone, hoisting always happens

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (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 f6b68ab to 2e6d714 Compare March 11, 2019 06:36
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 2e6d714 to 9455c9a Compare July 13, 2019 14:55
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 9455c9a to 4b92e63 Compare September 5, 2019 04:57
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 4b92e63 to 6fa0576 Compare November 11, 2019 20:58
@renovate renovate bot changed the title Update emotion monorepo to v10 (major) Update emotion monorepo (major) Nov 11, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 6fa0576 to e0fffc0 Compare December 30, 2019 16:57
@renovate renovate bot changed the title Update emotion monorepo (major) Update emotion monorepo to v10 (major) Dec 30, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from e0fffc0 to 8c54580 Compare November 27, 2020 11:56
@renovate renovate bot changed the title Update emotion monorepo to v10 (major) Update emotion monorepo to v11 (major) Nov 27, 2020
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 8c54580 to 5e2bd58 Compare September 25, 2022 17:46
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