Skip to content

Latest commit

 

History

History
214 lines (128 loc) · 9.57 KB

CHANGELOG.md

File metadata and controls

214 lines (128 loc) · 9.57 KB

Change Log

4.2.5

Patch Changes

  • e2224348: Fix @linaria/shaker from removing exported renamed imports. Fixes #1114.
  • 5edde648: Upgrade Babel to support TypeScript 4.9. Fixes #1133.
  • Updated dependencies [5edde648]
  • Updated dependencies [b9e49b74]
    • @linaria/utils@4.2.5

4.2.4

Patch Changes

  • 963508a2: Shaker shouldn't remove parameters of functions if they aren't used.
  • Updated dependencies [963508a2]
    • @linaria/utils@4.2.4

4.2.3

Patch Changes

  • cc2f87a8: Get rid of "expected node to be of a type" errors
  • Updated dependencies [cc2f87a8]
    • @linaria/utils@4.2.3

4.2.2

Patch Changes

  • 8a8be242: Fix an incorrect dead-code detection when a function has a parameter with the same name as the function itself. Fixes #1055
  • 8a8be242: Fix rare use case when void-expression causes too aggressive tree-shaking. Fixes #1055.
  • 08304e09: Fix support of re-exports compiled by tsc
  • Updated dependencies [8a8be242]
  • Updated dependencies [8a8be242]
  • Updated dependencies [08304e09]
  • Updated dependencies [87ffe61c]
    • @linaria/utils@4.2.2

4.2.1

Patch Changes

  • 24b4a4bd: Fix function usage in string literals. Fixes #1047.
  • Updated dependencies [24b4a4bd]
    • @linaria/utils@4.2.1

4.2.0

Minor Changes

  • f7351b09: In some cases, different parts of babel-preset could use different versions of installed @babel/core. It caused the ".key is not a valid Plugin property" error. Fixed.

Patch Changes

  • a5169f16: Do not set custom babel envName for the shaker. Fixes #1034.
  • ac0991a6: Better detection for jsx-runtime. Reduces the amount of evaluated code and improves speed and stability.
  • Updated dependencies [8590e134]
  • Updated dependencies [f7351b09]
  • Updated dependencies [8f90fa75]
  • Updated dependencies [ac0991a6]
    • @linaria/utils@4.2.0

4.1.2

Patch Changes

  • Updated dependencies [50bc0c79]
    • @linaria/utils@4.1.1

4.1.1

Patch Changes

  • 2abc55b3: Fix 'Using the tag in runtime is not supported' in some enviroments (fixes #1021)

4.1.0

Patch Changes

  • Updated dependencies [92f6d871]
    • @linaria/utils@4.1.0

4.0.0

Major Changes

  • bc0cbeea: A completely new async mode with native support for Vite, Rollup, esbuild and Webpack resolvers.

    BREAKING CHANGES: Despite the fact, that it should be fully compatible with 3.0 and 2.0 branches, the new version of styles evaluator can have some serious bugs which can make your project unbuildable (however, since there is no runtime, if the build is finished successfully, everything will continue work as it was on 2.0 and 3.0). If you face some problems please let us know and we will fix it as soon as possible.

Patch Changes

  • 8be5650d: The repo has been migrated to PNPM and Turborepo
  • b8515929: In some cases, the shaker mistakenly removed assignment expressions. Fixes #1008.
  • ea41d440: New package @linaria/tags that contains all abstract logic for tags processors.
  • Updated dependencies [ea41d440]
    • @linaria/logger@4.0.0
    • @linaria/utils@4.0.0

3.0.0-beta.21

Patch Changes

  • Updated dependencies [17c83e34]
    • @linaria/babel-preset@3.0.0-beta.21
    • @linaria/preeval@3.0.0-beta.21

3.0.0-beta.20

Patch Changes

  • 8be5650d: The repo has been migrated to PNPM and Turborepo
  • Updated dependencies [8be5650d]
    • @linaria/babel-preset@3.0.0-beta.20
    • @linaria/logger@3.0.0-beta.20
    • @linaria/preeval@3.0.0-beta.20

3.0.0-beta.19 (2022-06-03)

Bug Fixes

  • babel: error when css calls reference css calls inside components (#971) (fe6e083)

Features

3.0.0-beta.18 (2022-04-01)

Bug Fixes

  • shaker: fix edge case with polyfilled defineProperty (#951) (38a5541)
  • shaker: fix some edge cases related to export patterns (#951) (18ca481)

3.0.0-beta.17 (2021-12-27)

Bug Fixes

  • react: refactored types for styled function (fixes #872) (#887) (7b8b129)

3.0.0-beta.15 (2021-11-29)

Note: Version bump only for package @linaria/shaker

3.0.0-beta.14 (2021-11-05)

Bug Fixes

3.0.0-beta.13 (2021-09-13)

Bug Fixes

  • shaker: partial support for ts compiled code (fixes #820) (#836) (ec8ee68)

3.0.0-beta.12 (2021-08-31)

Bug Fixes

  • shaker: improve dependency resolution for wildcard exports (#826, fixes #816) (5aac3eb)
  • Faster method of building dependencies array (#824, fixes #797) (2463881)

3.0.0-beta.11 (2021-08-08)

Bug Fixes

  • shaker: string literals for addressing values in imported NS (#815) (8adf43e)

3.0.0-beta.10 (2021-07-24)

Bug Fixes

  • shaker: use the last export statement instead of the 1st (#804) (b79584c)

3.0.0-beta.9 (2021-07-23)

Bug Fixes

  • shaker: keep exports if there are dependent code (fixes #804) (#807) (4bb7744)
  • shaker: support for "export * from …" (#809) (b06c1ba)

3.0.0-beta.8 (2021-07-18)

Note: Version bump only for package @linaria/shaker

3.0.0-beta.7 (2021-06-24)

Bug Fixes

3.0.0-beta.5 (2021-05-31)

Bug Fixes

3.0.0-beta.4 (2021-05-07)

Note: Version bump only for package @linaria/shaker

3.0.0-beta.3 (2021-04-20)

Note: Version bump only for package @linaria/shaker

3.0.0-beta.2 (2021-04-11)

Note: Version bump only for package @linaria/shaker