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 v10 (major) #520

Open
wants to merge 17 commits into
base: develop
from

Conversation

@renovate
Copy link
Contributor

renovate bot commented Aug 13, 2019

This PR contains the following updates:

Package Type Update Change
babel-plugin-emotion (source) dependencies major 9.2.11 -> 10.0.27
emotion (source) dependencies major 9.2.12 -> 10.0.27
emotion-server (source) dependencies major 9.2.12 -> 10.0.27

Release Notes

emotion-js/emotion

v10.0.27

Compare Source

v10.0.23

Compare Source

v10.0.22

Compare Source

v10.0.21

Compare Source

v10.0.20

Compare Source

v10.0.19

Compare Source

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
  • 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

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.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Aug 13, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

@coderplex-bot
Copy link
Collaborator

coderplex-bot commented Aug 13, 2019

Deploy preview for coderplex failed.

Built with commit 3da5304

https://app.netlify.com/sites/coderplex/deploys/5d72992204faa0000831111b

@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from bd88eb8 to 30a03bf Aug 13, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 30a03bf to 34447e8 Aug 16, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 34447e8 to f42adff Aug 16, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from f42adff to 7922571 Aug 17, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 7922571 to 202b7b7 Aug 17, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 202b7b7 to 85f19e6 Aug 19, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 85f19e6 to b1ec7a3 Aug 25, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from b1ec7a3 to faf474f Aug 28, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from faf474f to 9443f8d Aug 31, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 9443f8d to c5598ba Aug 31, 2019
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from c5598ba to 57e65a1 Sep 1, 2019
@renovate renovate bot changed the title fix(deps): update emotion monorepo (major) fix(deps): update emotion monorepo to v10 (major) Sep 1, 2019
@vercel vercel bot had a problem deploying to staging Sep 1, 2019 Failure
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 57e65a1 to 9fabd74 Sep 1, 2019
@vercel vercel bot had a problem deploying to staging Sep 1, 2019 Failure
@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 9fabd74 to 6c14d9e Sep 2, 2019
@vercel vercel bot had a problem deploying to staging Sep 2, 2019 Failure
KirankumarAmbati and others added 3 commits Nov 26, 2019
closes #581: Updated space info
@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@vercel

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/major-emotion-monorepo branch from 949f9bc to bf9f28c Jan 30, 2020
@renovate renovate bot changed the title Update emotion monorepo (major) Update emotion monorepo to v10 (major) Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.