Skip to content

chore(deps): update WyW dependencies to 2.7.1 - #1536

Merged
Anber merged 3 commits into
callstack:masterfrom
Anber:chore/update-wyw-2-7-1
Nov 5, 2026
Merged

Anber merged 3 commits into
callstack:masterfrom
Anber:chore/update-wyw-2-7-1

Conversation

@Anber

@Anber Anber commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Every @wyw-in-js/* pin in Linaria moves from 2.7.0 to 2.7.1, so the next release ships with WyW 2.7.1. The last published release, 8.2.0, depends on WyW 2.4.0. The pending changeset therefore no longer names a single version: it now lists the changes from WyW 2.5.0 to 2.7.1 that reach Linaria builds. Its packages and its minor bump stay as they were.

 # packages/core/package.json (and 16 more pins in 12 manifests)
-    "@wyw-in-js/processor-utils": "2.7.0"
+    "@wyw-in-js/processor-utils": "2.7.1"
 # .changeset/update-wyw-2-7.md
-Update WyW dependencies to 2.7.0.
+Update WyW dependencies to 2.7.1
+
+The `@wyw-in-js/*` dependencies move from 2.4 to 2.7.1, across the 2.5, 2.6 and 2.7 releases of WyW. […] update `@wyw-in-js/vite`, `@wyw-in-js/webpack-loader` or the integration you use to 2.7.1 as well […]
+
+Changes from these releases that reach Linaria builds:
+
+- A fresh install no longer resolves the `minimatch` and `happy-dom` releases with known security advisories.
+- A destructuring declaration that the output still uses is kept […]
+- … (14 items)
+
+An option set to `undefined` now counts as not set. […] which can change the generated class names.

The changeset asks users to update their bundler integration as well. Each integration depends on an exact version of @wyw-in-js/transform, and the build runs that copy, so most of the listed fixes reach a project only through the integration. It also points out the one change that can alter output: a plugin option passed as undefined, such as classNameSlug, no longer overrides the value from the WyW config file.

In pnpm-lock.yaml only the @wyw-in-js/* entries change (74 lines added, 74 removed): the 17 importer entries, and the eight packages with their new integrity hashes and their snapshots. Every other resolution stays as on master. The minimatch@9.0.9 and happy-dom@20.10.6 already in the lockfile meet the new minimum versions of 2.7.1.

Evidence

  • Base: the 17 pins are 2.7.0, and the lockfile resolves 2.7.0. Head: all 17 pins are 2.7.1, and the lockfile has no @wyw-in-js/* version other than 2.7.1.
  • pnpm install --frozen-lockfile --ignore-scripts accepts the lockfile, and the build and lint pass.
  • The tests pass, 12 of 12 turbo tasks. In testkit, 150 tests pass and 2 are skipped, and all 279 snapshots match without updates.
pnpm install --frozen-lockfile --ignore-scripts
pnpm exec turbo run build
pnpm exec turbo run test

Left out

  • Other dependencies, including the pnpm peer warnings that master already has.
  • A new changeset: the pending one is rewritten instead.
  • Changes to Linaria code, tests or docs, including the new WyW options (parallel, .mts and .cts config files).

Not verified

  • CI has not run on this branch yet.
  • The WyW fixes listed in the changeset come from the WyW changelogs and were not reproduced against Linaria.
  • The dev servers of the examples were not started.

Anber added 3 commits November 5, 2026 22:03
Bump every @wyw-in-js/* pin from 2.7.0 to 2.7.1 and refresh the
lockfile. 2.7.1 raises the minimum versions of minimatch and happy-dom
and keeps destructuring declarations whose bindings are still needed at
runtime.
…date

Rebuild pnpm-lock.yaml so that only the @wyw-in-js packages move to
2.7.1. The previous refresh also moved transitive dependencies of
happy-dom and the wasm bindings to newer versions (tslib 2.9.1,
ws 8.22.1 and others) that are not needed for this update.
@changeset-bot

changeset-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f0b7e92

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 9 packages
Name Type
@linaria/atomic Minor
@linaria/core Minor
@linaria/react Minor
@linaria/stylelint Minor
@linaria/babel-plugin-interop Minor
linaria Minor
@linaria/postcss-linaria Minor
@linaria/server Minor
@linaria/stylelint-config-standard-linaria Minor

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Anber
Anber merged commit b32e303 into callstack:master Nov 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant