All Versions
69
Latest Version
Avg Release Cycle
28 days
Latest Release
79 days ago

Changelog History
Page 1

  • v10.0.17

    August 31, 2019

    2019-08-31

  • v10.0.16

    August 16, 2019

    2019-08-16

  • v10.0.15

    August 02, 2019

    2019-08-02

  • v10.0.14

    June 25, 2019

    2019-06-25

  • v10.0.0

    October 27, 2018

    💅 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

    :rocket: 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
    • 0️⃣ 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

    :boom: 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
  • v9.2.7

    July 29, 2018

    :rocket: Enhancement

    Committers: 4

  • v9.2.6

    July 15, 2018

    :rocket: Enhancement

    • create-emotion
      • #751 classnames also accept undefined as value. (@pasix)

    :bug: Bug Fix

    • create-emotion, emotion
      • #695 Generate the same class names for server and client if source maps are different. (@mgroenhoff)

    Committers: 2

  • v9.2.5

    July 07, 2018

    :rocket: Enhancement

    • 🔌 babel-plugin-emotion, @emotion/primitives

    :bug: Bug Fix

    • 💅 create-emotion-styled, preact-emotion
    • 💅 create-emotion-styled, create-emotion, emotion, preact-emotion, react-emotion

    📚 :memo: Documentation

    • Other
    • 🔌 babel-plugin-emotion, emotion-theming, emotion, jest-emotion, site

    :house: Internal

    • 💅 babel-plugin-emotion, create-emotion-server, create-emotion-styled, create-emotion, emotion-server, emotion-theming, emotion, eslint-plugin-emotion, jest-emotion, preact-emotion, react-emotion

    Committers: 7

  • v9.2.4

    June 22, 2018

    :rocket: Enhancement

    • 🔌 babel-plugin-emotion, create-emotion
    • jest-emotion

    :bug: Bug Fix

    :house: Internal

    • create-emotion-server
    • emotion-theming

    Committers: 6

  • v9.2.3

    June 09, 2018

    :bug: Bug Fix

    • 💅 create-emotion-styled, emotion-server, emotion-theming, emotion, preact-emotion, react-emotion
      • #710 Remove allowSyntheticDefaultImports from typings. (@Ailrun)

    Committers: 1

    • Junyoung Clare Jang (Ailrun)