Skip to content

Releases: callstack/linaria

Release 2.0.2

15 Nov 15:07
Compare
Choose a tag to compare
  • fix: missed babel config in monorepos with babel.config.js #698 (9b1ad97)

Release 2.0.1

07 Nov 17:33
Compare
Choose a tag to compare
  • fix(rollup): 'unexpected token' in some cases (#694) (3cd7729)
  • fix: missing linaria/server TS types (#691) (08be43a)

Release 1.4.1

07 Nov 17:30
Compare
Choose a tag to compare
  • fix(rollup): 'unexpected token' in some cases (#694) (dbcb83a)

Release 2.0.0

26 Oct 11:33
Compare
Choose a tag to compare

1.4 -> 2.0 Migration guide

In comparison with 1.4, 2.0 doesn't have new features or improvements but it introduces two breaking changes:

Release 1.4.0

26 Oct 11:30
Compare
Choose a tag to compare

Features:

Fixes:

  • performance boost for large projects
  • support String and Number 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 a className property;
  • if styles include an interpolated function, a passed component should also have a style property.

Release 2.0.0-rc.3

11 Sep 07:49
Compare
Choose a tag to compare
Release 2.0.0-rc.3 Pre-release
Pre-release
v2.0.0-rc.3

Release 2.0.0-rc.3

Release 2.0.0-rc.2

11 Sep 07:24
Compare
Choose a tag to compare
Release 2.0.0-rc.2 Pre-release
Pre-release
  • 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

11 Sep 07:46
Compare
Choose a tag to compare
Release 1.4.0-rc.3 Pre-release
Pre-release
v1.4.0-rc.3

Release 1.4.0-rc.3

Release 1.4.0-rc.2

11 Sep 07:22
Compare
Choose a tag to compare
Release 1.4.0-rc.2 Pre-release
Pre-release
  • 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)

Release 2.0.0-rc.1

25 Aug 07:12
Compare
Choose a tag to compare
Release 2.0.0-rc.1 Pre-release
Pre-release
  • fix(typings): export CSSProperties (closes #641) (#656) (e71012e)
  • fix(deps): drop a few unnecessary dependencies (#643) (#654) (47c8157)
  • chore: upgrade eslint, prettier and typescript (315d07a)
  • docs: update preact configuration (260b60c)