Releases: callstack/linaria
Releases · callstack/linaria
Release 2.0.2
Release 2.0.1
Release 1.4.1
Release 2.0.0
In comparison with 1.4, 2.0 doesn't have new features or improvements but it introduces two breaking changes:
core-js
has been removed from dependencies (#569)- new default evaluation strategy
shaker
(#353)
Release 1.4.0
Features:
- introduces evaluation strategies
- add
ignore
option to CLI (#458) - allow a function to be passed for
classNameSlug
option (#547)
Fixes:
- performance boost for large projects
- support
String
andNumber
object (#524) - allow
styled
import to be locally renamed (#544) - expand the valid CSS Identifier method to allow more valid characters in class names (#656)
- add @font-face to critical, remove redundant atrules. (#588)
- added more variables when vm context is created (#592)
- handle empty string values in css rules
- cache directory for modules above project root, support lerna root (#591)
- create rollup slug from cssText (#647)
- push '' into className before regex special characters (#640)
- css identifier cannot start with a digit (#683)
Also, Linaria has been rewritten to TypeScript that helped us to introduce a couple of new type checks:
- a component passed to
styled
should have aclassName
property; - if styles include an interpolated function, a passed component should also have a
style
property.
Release 2.0.0-rc.3
v2.0.0-rc.3 Release 2.0.0-rc.3
Release 2.0.0-rc.2
- fix(typings): styled mistakenly infers type from interpolated component (#669) (80b7337)
- fix(evaluators): pass all env variables (#670) (4151149)
- fix: push '' into className before regex special characters (#640) (7c322a4)
- fix: create rollup slug from cssText (#647) (b61ea32)
- Bump @emotion/is-prop-valid (#661) (9746107)
Release 1.4.0-rc.3
v1.4.0-rc.3 Release 1.4.0-rc.3
Release 1.4.0-rc.2
- fix(evaluators): pass all env variables (#670) (046ae72)
- fix: push '' into className before regex special characters (#640) (1e4c67d)
- fix: create rollup slug from cssText (#647) (457b06e)
- Bump @emotion/is-prop-valid (#661) (89a200c)
- fix(typings): styled mistakenly infers type from interpolated component (91dd894)