Skip to content

linaria@7.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Jan 17:23
· 2 commits to master since this release

Major Changes

  • ab11ebb: BREAKING: bump @wyw-in-js/* dependencies to ^1.0.0 (stable).

    This release updates Linaria's build-time evaluation engine (WyW). See https://wyw-in-js.dev/stability for practical guidance and common pitfalls.

    Notes:

    • Linaria 7 requires Node.js 20+ (aligned with WyW 1.x).
    • If you import JSON from code that is evaluated by WyW, add .json to extensions and ensure .json is ignored by evaluation rules (so it's parsed as JSON, not by Babel).
    • Rollup users: WyW 1.x serializes transform() by default (serializeTransform: true). If you hit Rollup "Unexpected early exit" (unresolved plugin promises / deadlock during resolve), set serializeTransform: false (see examples/rollup/rollup.config.mjs).
    • WyW 1.x promotes fully-statically-evaluatable modules to only: ['*'] and can re-evaluate modules when cached exports are incomplete (cached export values might not be reused).

Patch Changes

  • ebefe2e: Require Node.js >=20 (aligned with WyW 1.x).
  • Updated dependencies [ab11ebb]
  • Updated dependencies [654d859]
    • @linaria/core@7.0.0
    • @linaria/react@7.0.0
    • @linaria/server@7.0.0