chore: release v11.0.2 (develop → main)

Merged
SR
9h ago
+201-101

Summary

Brings develop to main for the v11.0.2 patch release. 3 commits, no conflicts.

develop → main
├── fix(core)  fail when an input glob matches no file (#2955)            # changeset: @node-minify/core patch
├── fix(oxc)   report oxc parse errors instead of an empty result (#2954) # changeset: @node-minify/oxc patch
└── test       make negative tests fail when nothing throws (#2953)       # tests only

Release flow after merge:

merge this PR
  Publish workflow (changesets/action)
    pending changesets → opens "Version Packages" PR
merge "Version Packages"
  Publish workflow
    11.0.2 to npm, all packages (fixed group)
    GitHub release v11.0.2 + action tag release

Evidence

  • Test is green on develop at 8903c652 (run 45210523911): Ubuntu and Windows, Node 22 and 24.
  • Each PR passed CI before merge, and every cubic finding was fixed and resolved.
  • Real runs before and after are in #2954 (oxc) and #2955 (glob).
  • The only commit on main that isn't on develop is the v11.0.1 "Version Packages" commit, so the merge is conflict-free.

Merge Danger

Door: two-way

Merging publishes nothing. It only opens the "Version Packages" PR. The npm publish happens when that PR merges, and it is one-way: a published version can be deprecated but not reused.

Blast Radius: core, oxc users

  • Behavior change: an input glob that matches no file now throws No files matched input pattern: <pattern>. Before, a $1 output resolved "" and wrote nothing, and a plain output failed with No content provided. A build that relied on an empty glob passing will now fail. Arrays where at least one entry matches, non-glob inputs, input: [] and in-memory content are unchanged. The release notes should call this out.
  • oxc: input oxc cannot parse now fails with oxc minification failed: <oxc's message>, instead of No content provided or an empty output with allowEmptyOutput.

Summary by cubic

Brings develop to main for the v11.0.2 patch release. Merging this PR publishes nothing; it only opens the "Version Packages" PR, and the npm publish happens when that PR is merged.

Bug Fixes

  • @node-minify/core: an input glob that matches no file now throws No files matched input pattern: <pattern> instead of writing nothing or failing with No content provided.
  • Arrays with at least one match, non-glob inputs, input: [], and in-memory content are unchanged.
  • @node-minify/oxc: unparseable input now fails with oxc minification failed: <oxc's message> instead of No content provided, or silent success with allowEmptyOutput.
  • Rewrote negative tests across all compressor packages to fail when nothing actually throws.