github callstack/linaria v4.0.0

latest releases: @linaria/core@6.2.0, @linaria/react@6.2.0, linaria@6.1.1...
2 years ago

What's Changed

  • docs: add Sublime Text editor plugins by @trongthanh in #688
  • refactor: split one linaria package into multiple @linaria/* by @Anber in #687
  • fix: fix typo in the error message by @roottool in #695
  • The first release of monorepo by @Anber in #705
  • docs: fix typo by @afzalsayed96 in #706
  • feat: loader for webpack 5 and universal webpack loader by @Anber in #707
  • fix: dedent is a devDep of @linaria/shaker, not a prod dep by @ChALkeR in #711
  • fix(babel): support for dynamic keys in objects with css as values by @Anber in #714
  • fix(babel): use require.resolve for resolve babel plugins (#700) by @Anber in #716
  • fix(rollup): problem with 'css' string in generated files (#712) by @Anber in #717
  • fix: mark core and react packages as side effects free by @Anber in #718
  • fix(babel): custom properties should not be hyphenated (#710) BREAKING CHANGE by @Anber in #715
  • fix(babel): rename @linaria/babel to @linaria/babel-preset (#704) by @Anber in #720
  • fix: loadOptions test regex by @Nedgeva in #728
  • fix: resolve output filename relative to source root, use valid bin field by @huang-xiao-jian in #733
  • docs: fixing links to other doc files by @joeycozza in #725
  • Update BASICS.md by @jsbalrog in #736
  • feat(babel): expose CSS extraction from AST logic by @majames in #737
  • fix: Import custom identifier called css with error "Cannot find module 'linaria'" #739 by @GitaiQAQ in #740
  • docs: guide to upgrading to v3 by @turadg in #742
  • Fix compilation errors when building CRA project (issue #745) by @Anber in #748
  • fix(core): remove unnecessary spread operators from css and cx (#746) by @Anber in #749
  • fix(core,react): make IE 11 compatible (fixes #746) by @Anber in #750
  • chore: allow install scripts to run on Windows by @Jack-Works in #752
  • fix(cli): cannot find module '../lib/cli' (#753) by @Anber in #754
  • chore: fix vscode auto import incorrect path by @wmzy in #751
  • fix(shaker): typescript enums support (#761) by @Anber in #764
  • feat: add esbuild integration by @Mokshit06 in #765
  • chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /website by @dependabot in #766
  • chore(deps): bump y18n from 4.0.0 to 4.0.3 in /website by @dependabot in #767
  • chore(deps): bump ssri from 6.0.1 to 6.0.2 in /website by @dependabot in #768
  • chore(deps): bump urijs from 1.19.2 to 1.19.6 in /website by @dependabot in #770
  • chore(deps): bump elliptic from 6.5.2 to 6.5.4 in /website by @dependabot in #771
  • chore(deps): bump lodash from 4.17.15 to 4.17.21 in /website by @dependabot in #772
  • chore(deps): bump dot-prop from 4.2.0 to 4.2.1 in /website by @dependabot in #773
  • chore(deps): bump ini from 1.3.5 to 1.3.8 in /website by @dependabot in #774
  • fix: @linaria/rollup compliant vite by @wmzy in #763
  • fix(webpack): hot reload fails after compile error (fixes #762) by @Anber in #775
  • Fixes a typo in README by @ImanMh in #760
  • feat(interop): interop between Linaria and traditional CSS-in-JS libraries by @Anber in #776
  • chore(deps): bump postcss from 7.0.32 to 7.0.36 by @dependabot in #779
  • chore(deps): bump postcss from 7.0.27 to 7.0.36 in /website by @dependabot in #780
  • fix(esbuild): import esbuild correctly by @dfrkp in #783
  • fix(esbuild): workaround to for esbuild compile options by @dfrkp in #784
  • fix: webpack resolve options by @kinetifex in #785
  • chore: upgrade dependencies by @Anber in #786
  • fix(shaker): fix undefined imports in some cases (#333, #761) by @Anber in #787
  • Add Callstack reference by @michalchudziak in #788
  • docs(bundlers): fix esbuild section typo by @funsis in #790
  • fix(esbuild): add missing resolveDir to support webfont bundling by @dfrkp in #789
  • fix(shaker): named exports are removed (#800) by @Anber in #801
  • fix(shaker): keep exports if there are dependent code (fixes #804) by @Anber in #807
  • chore(deps): bump urijs from 1.19.6 to 1.19.7 in /website by @dependabot in #803
  • docs: update contributing docs link by @SoYoung210 in #805
  • fix(shaker): support for "export * from …" (fixes #808) by @Anber in #809
  • fix(styled): remove unnecessary core-js polyfills (fixes #799) by @Anber in #814
  • fix(shaker): support string literals for addressing values in imported NS by @Anber in #815
  • feat: make @linaria/shaker optional by @kazuma1989 in #819
  • fix: Faster method of building dependencies array by @paddyobrien in #824
  • feat: Add {file, name, dir, ext} to classNameSlug resolution by @mikestopcontinues in #825
  • fix(shaker): improve dependency resolution for wildcard exports by @Anber in #826
  • Fixes for --exactOptionalPropertyTypes TS flag by @geakstr in #827
  • fix(webpack): pass all user resolve options to loader (fixes #658) by @5angel in #830
  • fix(server): fix collect to ignore empty class by @cometkim in #832
  • chore(deps): bump object-path from 0.11.5 to 0.11.7 in /website by @dependabot in #831
  • fix: rollup preserveModules no js extension by @wmzy in #822
  • fix(core): return type alias instead of string from css and cx by @Anber in #835
  • fix(shaker): partial support for ts compiled code (fixes #820) by @Anber in #836
  • Remove "hmr" option from Webpack docs by @Daniel15 in #846
  • fix(shaker): reimplement enums support (fixes #848) by @Anber in #853
  • Update TOC by @pustomytnyk in #850
  • fix(shaker): exports/object issue with TS (fixes #861) by @Anber in #863
  • Update BASICS.md by @isumix in #862
  • chore(deps): bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #842
  • chore(deps): bump object-path from 0.11.7 to 0.11.8 in /website by @dependabot in #843
  • Fix minor typo in docs by @shreyas44 in #858
  • Refactor/rest op by @dskiba in #860
  • fix: cli trying to transform directories by @Esemesek in #856
  • fix(webpack): better merge for configs and fallback for async plugins by @Anber in #874
  • fix(stylelint): fix indentation errors (fixes #693) by @Anber in #876
  • chore(deps): bump object-path from 0.11.4 to 0.11.8 in /examples/gatsby/plugin by @dependabot in #864
  • chore(deps): bump tar from 6.0.2 to 6.1.11 in /examples/gatsby/plugin by @dependabot in #865
  • chore(deps): bump ws from 5.2.2 to 5.2.3 in /examples/gatsby/plugin by @dependabot in #866
  • chore(deps): bump object-path from 0.11.5 to 0.11.8 by @dependabot in #875
  • fix(react): fixed types for supporting class components (fixes #730) by @Anber in #877
  • feat(atomic): create an atomic package for the css API by @jpnelson in #867
  • fix(webpack): replace file system cache with in-memory cache (fixes #878) by @Anber in #879
  • feat(resolver): add custom resolver option to support re-exporting of linaria libs by @jpnelson in #882
  • fix(webpack): fix usage of webpackResolveOptions conditionally by @jpnelson in #883
  • fix(webpack): add cacheProvider for Linaria v3 by @malash in #889
  • fix(react): refactored types for styled function (fixes #872) by @Anber in #887
  • docs: update the link to vscode-styled-components by @ryamaguchi0220 in #894
  • fix(api.md)missing conjuction by @mkanyar in #895
  • chore(deps): bump follow-redirects from 1.14.1 to 1.14.7 in /website by @dependabot in #906
  • chore(deps): bump follow-redirects from 1.14.1 to 1.14.7 by @dependabot in #907
  • feat(atomic): add support for at-rules, keyframes and pseudo classes by @jpnelson in #913
  • feat(atomic): add documentation by @jpnelson in #914
  • chore(deps): bump simple-get from 3.1.0 to 3.1.1 in /examples/gatsby/plugin by @dependabot in #917
  • chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /examples/gatsby/plugin by @dependabot in #918
  • chore(deps): bump ua-parser-js from 0.7.21 to 0.7.31 in /examples/gatsby/plugin by @dependabot in #921
  • chore(deps): bump ajv from 6.12.2 to 6.12.6 in /examples/gatsby/plugin by @dependabot in #922
  • chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /website by @dependabot in #924
  • chore(deps): bump follow-redirects from 1.14.7 to 1.14.9 by @dependabot in #931
  • chore(deps): bump url-parse from 1.4.7 to 1.5.9 in /examples/gatsby/plugin by @dependabot in #932
  • chore(deps): bump ua-parser-js from 0.7.21 to 0.7.31 in /examples/gatsby/custom-config by @dependabot in #927
  • chore(deps): bump ajv from 6.12.2 to 6.12.6 in /examples/gatsby/custom-config by @dependabot in #929
  • chore(deps): bump url-parse from 1.4.7 to 1.5.9 in /examples/gatsby/custom-config by @dependabot in #933
  • Update Gatsby plugin link to the upstream by @cometkim in #935
  • feat(atomic): string serialization of atoms by @jpnelson in #934
  • chore(deps): bump lodash-es from 4.17.15 to 4.17.21 in /examples/gatsby/custom-config by @dependabot in #949
  • chore(deps): bump urijs from 1.19.7 to 1.19.10 in /website by @dependabot in #943
  • chore(deps): bump lodash-es from 4.17.15 to 4.17.21 in /examples/gatsby/plugin by @dependabot in #948
  • docs(atomic): fix typo by @eltociear in #936
  • feat(atomic): add property priorities by @jpnelson in #950
  • fix(shaker): fix some edge cases related to specific export patterns by @jpnelson in #951
  • fix(esbuild): add add missing loader and resolveDir by @aiji42 in #955
  • chore(deps): bump moment from 2.26.0 to 2.29.2 in /examples/gatsby/plugin by @dependabot in #958
  • chore(deps): bump moment from 2.26.0 to 2.29.2 in /examples/gatsby/custom-config by @dependabot in #960
  • chore(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #961
  • chore(deps): bump urijs from 1.19.6 to 1.19.11 by @dependabot in #963
  • chore(deps): bump async from 3.2.0 to 3.2.3 by @dependabot in #965
  • Remove console.log from stylelint preprocessor by @lencioni in #969
  • fix(react): support UpperCamelCase custom elements #968 by @Anber in #970
  • fix(atomic): fix duplication of the same css properties in the same file by @jpnelson in #972
  • feat(core): allow renaming of css template literals by @jpnelson in #973
  • fix: error when css calls reference css calls inside components by @GabbeV in #971
  • feat(atomic): add support for atomic using styled API by @juanferreras in #966
  • feat(babel): new way for detecting tags imports by @Anber in #974
  • feat(babel): API for custom template tags by @Anber in #976
  • chore: migration to pnpm and turborepo by @Anber in #980
  • fix(cli): doesn't accept list of files by @Anber in #982
  • fix(react): styled API prop interpolation #981 by @Anber in #983
  • chore(deps): bump devcert from 1.1.1 to 1.2.1 in /examples/gatsby/custom-config by @dependabot in #979
  • chore(deps): bump devcert from 1.1.0 to 1.2.1 in /examples/gatsby/plugin by @dependabot in #978
  • fix(core): revert correct types for cx by @Anber in #985
  • feat(cli): new flag --transform by @Anber in #987
  • fix(esbuild): fix broken imports by @Anber in #988
  • fix(babel): aliases for processors and fixed resolver by @Anber in #989
  • fix(cli): pass source-root option to babel by @Anber in #994
  • fix(esbuild): fix broken source maps by @silviogutierrez in #991
  • fix(babel): fix for broken object interpolation (#995) by @Anber in #996
  • feat(babel): remove css-related code from runtime (fixes #293) by @Anber in #997
  • feat(babel): async resolvers (fixes #888 and a lot of more) by @Anber in #1001
  • fix(babel): support for module-resolver by @Anber in #1004
  • chore(deps): bump moment from 2.29.2 to 2.29.4 in /examples/gatsby/plugin by @dependabot in #1002
  • chore(deps): bump moment from 2.29.2 to 2.29.4 in /examples/gatsby/custom-config by @dependabot in #1003
  • fix(tags): extract tags logic to the separate package (fixes #1006) by @Anber in #1007
  • fix(shaker): shaker doesn't treat exports as variable references (fixes #1008) by @Anber in #1009
  • chore(deps): bump terser from 4.7.0 to 4.8.1 in /examples/gatsby/custom-config by @dependabot in #1010
  • chore(deps): bump terser from 4.7.0 to 4.8.1 in /examples/gatsby/plugin by @dependabot in #1011
  • chore: remove useless line in webpack5-loader by @layershifter in #1012
  • feat(tags): basic support for any type of tags by @Anber in #1013
  • feat(tags): better support for tags other than tagged templates by @Anber in #1014
  • chore: preparation for v4.0.0 by @Anber in #1016
  • Version Packages by @github-actions in #1017

New Contributors

Full Changelog: v2.0.0...v4.0.0

Don't miss a new linaria release

NewReleases is sending notifications on new releases.