Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 7, 2023

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
linaria ^2.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

callstack/linaria (linaria)

v6.3.0

Minor Changes
  • 281ca4f: The new version of wyw-in-js, with the support of a configurable code remover, can help prevent compilation errors and improve build time.

v6.2.0

Minor Changes
  • a3dcee2: Update wyw-in-js to 0.5.3

v6.1.1

Compare Source

Patch Changes

v6.1.0

Compare Source

Minor Changes
Patch Changes
  • 8d4ebd3: chore: bump @​wyw-in-js/* packages

v6.0.0

Compare Source

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 `@linaria` scope to the `@wyw-in-js` scope. 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/shaker` as 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`) to `wyw-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 `linaria` in their names have been renamed:

-   The field that stores meta information in runtime has been renamed from `__linaria` to `__wyw_meta`
-   The export with all interpolated values has been renamed from `__linariaPreval` to `__wywPreval`
-   The caller name in Babel has been renamed from `linaria` to `wyw-in-js`

For additional information, please visit the [wyw-in-js.dev](https://wyw-in-js.dev).

v5.0.5

Compare Source

Patch Changes

v5.0.4

Compare Source

Patch Changes

v5.0.3

Compare Source

Patch Changes

v5.0.2

Compare Source

Patch Changes

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

Major Changes
  • 88e0761: Rewritten dependecny tree processing with support for wildcard re-exports.
  • cb853e1: All processing stages were merged into one generators-based processor. It allows the implementation of more complex workflows to support features like dynamic imports and re-exports.
Minor Changes
  • 9cb4143: Refactoring of the 1st stage of transformation. It opens the road to processing wildcard reexports.
  • ae162f4: babelrc should not be used for preeval transformations (fixes #​1308)
Patch Changes

v4.5.4

Compare Source

Patch Changes

v4.5.3

Compare Source

Patch Changes

v4.5.2

Compare Source

Patch Changes
  • e59bf80: Shaker mistakenly counts references in types as valuable and keeps referenced variables alive.
  • ae3727f: Fix the issues with processing files that are supposed to be parsed with their respective Babel config.
  • Updated dependencies [7955724]
  • Updated dependencies [b191f54]
  • Updated dependencies [e59bf80]
  • Updated dependencies [520ba8d]
  • Updated dependencies [ae3727f]
  • Updated dependencies [dca076e]

v4.5.1

Compare Source

Patch Changes
  • 85e74df: Fix: type imports without type annotation may lead to an unexpected increase in the evaluated codebase.
  • 1bf5c5b: The cache has been improved, which should address the build time issues for Webpack 4/5 and resolve HMR-related problems for Vite. Fixes #​1199, #​1265 and maybe some more.
  • Updated dependencies [85e74df]
  • Updated dependencies [1bf5c5b]

v4.5.0

Compare Source

Minor Changes
  • 16c057d: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
Patch Changes

v4.1.17

Compare Source

Patch Changes

v4.1.16

Compare Source

Patch Changes

v4.1.15

Compare Source

Patch Changes

v4.1.14

Compare Source

Patch Changes

v4.1.13

Compare Source

Patch Changes

v4.1.12

Compare Source

Patch Changes

v4.1.11

Compare Source

Patch Changes

v4.1.10

Compare Source

Patch Changes

v4.1.9

Compare Source

Patch Changes

v4.1.8

Compare Source

Patch Changes

v4.1.7

Compare Source

Patch Changes

v4.1.6

Compare Source

Patch Changes

v4.1.5

Compare Source

Patch Changes

v4.1.4

Patch Changes

v4.1.3

Patch Changes

v4.1.2

Compare Source

Patch Changes

v4.1.1

Compare Source

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

v4.1.0

Compare Source

Patch Changes

v4.0.0

Compare Source

What's Changed
New Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the maintenance label Dec 7, 2023
@renovate renovate bot force-pushed the renovate/linaria-6.x branch 2 times, most recently from c1d9d66 to 95ba624 Compare August 13, 2025 17:29
@renovate renovate bot force-pushed the renovate/linaria-6.x branch from 95ba624 to c33e099 Compare August 19, 2025 18:34
@renovate renovate bot force-pushed the renovate/linaria-6.x branch from c33e099 to 8d2fa2d Compare September 25, 2025 18:13
@renovate renovate bot force-pushed the renovate/linaria-6.x branch from 8d2fa2d to f49352a Compare October 21, 2025 10:37
@renovate renovate bot force-pushed the renovate/linaria-6.x branch from f49352a to 8c5a0aa Compare November 10, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant