All Versions
106
Latest Version
Avg Release Cycle
34 days
Latest Release
1206 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v11.0.0-next.9 Changes
December 10, 2019 -
v11.0.0-next.8 Changes
December 07, 2019Patch Changes
- ⚡️ Updated dependencies [
c643107
]:
- ⚡️ Updated dependencies [
-
v11.0.0-next.7 Changes
November 26, 2019Patch Changes
- ⚡️ Updated dependencies [
5c55fd17
]:- @emotion/[email protected]
- ⚡️ Updated dependencies [
-
v11.0.0-next.6 Changes
November 25, 2019Patch Changes
923ded01
#1600 Thanks @JakeGinnivan! - Relaxed types forshouldForwardProp
as it needs to be able to filter props for a generic argument of the resulting function.- ⚡️ Updated dependencies [
923ded01
,0a4a22ff
,828111cd
,843bfb11
,828111cd
,cbb8b796
]:- @emotion/[email protected]
- [email protected]
- @emotion/[email protected]
-
v11.0.0-next.15 Changes
August 18, 2020Minor Changes
- 💅
5d692a6a
#1956 Thanks @eps1lon! - Upgradedcsstype
dependency to its v3. This is what we use to provide TypeScript typings for object styles. The upgrade should not affect any consuming code but it's worth mentioning if any edge case scenarios arise.
Patch Changes
- ⚡️ Updated dependencies [
5d692a6a
]:- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- 💅
-
v11.0.0-next.14 Changes
August 01, 2020Minor Changes
- 💅
4d3b60d0
#1874 Thanks @connor-baer! - Added basic TS type support foras
prop on styled components. It's possible to pass any component to it but it has no effect on other accepted props. This means that it's not 100% type-safe so use it sparingly and with care.
Patch Changes
🛠
58dc08a6
#1837 Thanks @arcanis! - Fixed TS compatibility under PnP environments by making@types/react
an optional peer dependency.⚡️ Updated dependencies [
58dc08a6
,f57a7229
]:- @emotion/[email protected]
- 💅
-
v11.0.0-next.13 Changes
June 22, 2020Major Changes
⬆️
9e998e37
#1817 Thanks @Andarist! - The parser we use (Stylis) got upgraded. It fixes some long-standing parsing edge cases while being smaller and faster 🚀It has been completely rewritten and comes with some breaking changes. Most notable ones that might affect Emotion users are:
- plugins written for the former Stylis v3 are not compatible with the new version. To learn more on how to write a plugin for Stylis v4 you can check out its README and the source code of core plugins.
- vendor-prefixing was previously customizable using
prefix
option. This was always limited to turning off all of some of the prefixes as all available prefixes were on by default. Theprefix
option is gone and to customize which prefixes are applied you need to fork (copy-paste) the prefixer plugin and adjust it to your needs. While this being somewhat more problematic to setup at first we believe that the vast majority of users were not customizing this anyway. By not including the possibility to customize this through an extra option the final solution is more performant because there is no extra overhead of checking if a particular property should be prefixed or not. - Prefixer is now just a plugin which happens to be put in default
stylisPlugins
. If you plan to use customstylisPlugins
and you want to have your styles prefixed automatically you must include prefixer in your customstylisPlugins
. You can importprefixer
from thestylis
module to do that. @import
rules are no longer special-cased. The responsibility to put them first has been moved to the author of the styles. They also can't be nested within other rules now. It's only possible to write them at the top level of global styles.
Patch Changes
- ⚡️ Updated dependencies [
5e803106
,9e998e37
,9e998e37
,9e998e37
]:- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
-
v11.0.0-next.12 Changes
March 17, 2020Major Changes
- 💅
105de5c8
#1572 Thanks @Andarist! -[data-emotion]
attribute on SSRed styled has changed. You should never rely on it though.
Patch Changes
- ⚡️ Updated dependencies [
7dea6d7a
,e3d7db87
,105de5c8
,5c7ec859
,be2eb614
,75e2f9e1
,e3d7db87
]:- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- 💅
-
v11.0.0-next.11 Changes
January 16, 2020Patch Changes
- 💅
b79781f8
#1600 Thanks @fabien0102! - Fixprops.theme
type in styled component interpolation being optional (Theme | undefined
) for components withoutAdditionalProps
being specified. - ⚡️ Updated dependencies [
f08ef5a3
]:- @emotion/[email protected]
- @emotion/[email protected]
- @emotion/[email protected]
- 💅
-
v11.0.0-next.10 Changes
January 05, 2020Major Changes
- 👕
b8476e08
#1600 Thanks @mitchellhamilton! - Renamejest-emotion
to@emotion/jest
. Please replace"snapshotSerializers": ["jest-emotion"]
with"snapshotSerializers": ["@emotion/jest"]
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
.
- 👕