linaria@6.0.0
·
37 commits
to master
since this release
Major Changes
-
2ac94b9: BREAKING CHANGE: Linaria has been migrated to wyw-in-js.
Migration Guide
For Users
The main breaking change is that all tooling has been moved from the
@linariascope to the@wyw-in-jsscope. This means that you will need to update your dependencies as follows:Old New @linaria/babel-preset @wyw-in-js/babel-preset @linaria/cli @wyw-in-js/cli @linaria/esbuild @wyw-in-js/esbuild @linaria/rollup @wyw-in-js/rollup @linaria/shaker discontinued @linaria/vite @wyw-in-js/vite @linaria/webpack4-loader discontinued @linaria/webpack5-loader @wyw-in-js/webpack-loader There is no longer a need to install
@linaria/shakeras it is now part of@wyw-in-js/transform, which will be installed automatically with the bundler plugins.The configuration file has been renamed from
linaria.config.js(linariarc) towyw-in-js.config.js(.wyw-in-jsrc).For Custom Processor Developers
Base classes for processors and most helpers have been moved to
@wyw-in-js/processor-utils.All APIs that had
linariain their names have been renamed:- The field that stores meta information in runtime has been renamed from
__linariato__wyw_meta - The export with all interpolated values has been renamed from
__linariaPrevalto__wywPreval - The caller name in Babel has been renamed from
linariatowyw-in-js
For additional information, please visit the wyw-in-js.dev.
- The field that stores meta information in runtime has been renamed from
Patch Changes
- Updated dependencies [2ac94b9]
- @linaria/core@6.0.0
- @linaria/react@6.0.0
- @linaria/server@6.0.0