Skip to content

chore: release v11.0.2 (develop → main) - #2956

Merged
srod merged 5 commits into
mainfrom
develop
Nov 23, 2026
Merged

srod merged 5 commits into
mainfrom
develop

Conversation

@srod

@srod srod commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

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

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.

Written for commit c47416b. Summary will update on new commits.

View guided diff Turn on auto-fix

srod added 3 commits November 23, 2026 16:54
* test: make negative tests fail when nothing throws

* test: pin esbuild and gcc error messages, rename core type test
* fix(core): fail when an input glob matches no file

* test(core): unique no-match glob path, precise @throws wording
@changeset-bot

changeset-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ed9c912

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@node-minify/core Patch
@node-minify/oxc Patch
@node-minify/action Patch
@node-minify/benchmark Patch
@node-minify/cli Patch
@node-minify/imagemin Patch
@node-minify/sharp Patch
@node-minify/examples Patch
@node-minify/docs Patch
@node-minify/clean-css Patch
@node-minify/cssnano Patch
@node-minify/csso Patch
@node-minify/esbuild Patch
@node-minify/google-closure-compiler Patch
@node-minify/html-minifier Patch
@node-minify/jsonminify Patch
@node-minify/lightningcss Patch
@node-minify/minify-html Patch
@node-minify/no-compress Patch
@node-minify/svgo Patch
@node-minify/swc Patch
@node-minify/terser Patch
@node-minify/types Patch
@node-minify/uglify-js Patch
@node-minify/utils Patch

Not sure what this means? Click here to learn what changesets are.

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

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 15 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread packages/core/src/setup.ts Resolved
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Deploying node-minify-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed9c912
Status: ✅  Deploy successful!
Preview URL: https://3d0902be.node-minify-docs.pages.dev
Branch Preview URL: https://develop.node-minify-docs.pages.dev

View logs

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.64%. Comparing base (b38baf0) to head (c47416b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2956   +/-   ##
=======================================
  Coverage   98.63%   98.64%           
=======================================
  Files          70       70           
  Lines        2052     2064   +12     
  Branches      625      630    +5     
=======================================
+ Hits         2024     2036   +12     
  Misses         28       28           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@srod
srod merged commit bd1cc1f into main Nov 23, 2026
12 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