github callstack/linaria @linaria/core@7.0.0

latest releases: linaria@7.0.1, @linaria/react@7.0.1, @linaria/atomic@7.0.1...
17 hours ago

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).

Don't miss a new linaria release

NewReleases is sending notifications on new releases.