Skip to content

docs(changeset): narrow the glob no-match wording - #2957

Merged
srod merged 1 commit into
developfrom
docs/changeset-glob-wording
Nov 23, 2026
Merged

srod merged 1 commit into
developfrom
docs/changeset-glob-wording

Conversation

@srod

@srod srod commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Narrows the #2955 changeset so the v11.0.2 release notes match the code. Raised by cubic on #2956.

-Fail when an `input` glob matches no file.
+Fail when no input file is left after glob expansion.
 …
+An array where at least one entry matches keeps working, and unmatched globs in it are skipped as before.

The code is unchanged. Skipping an unmatched glob inside an array that still matches another file is intended (plan 002), and a test covers it. The @throws comments in setup.ts already say this.

Evidence

  • Before: input: ["nope/*.js", "real.js"] resolves, and the changeset title says any unmatched glob fails.
    After: the same call resolves, and the changeset says only an input left with no file fails.

Merge Danger

Door: two-way

Blast Radius: release notes

Changeset text only. It becomes the @node-minify/core 11.0.2 CHANGELOG entry.


Summary by cubic

Narrows the @node-minify/core 11.0.2 changeset wording so the release notes match the code. The old text implied any unmatched glob fails, but an array with at least one matching entry keeps working and unmatched globs in it are skipped; only an input left with no files after expansion throws. Code is unchanged and a test covers this case.

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

View guided diff Turn on auto-fix

@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ccba4d0

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 25 packages
Name Type
@node-minify/core 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/oxc 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

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

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

No issues found across 1 file

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

@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 (ed9c912) to head (ccba4d0).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2957   +/-   ##
========================================
  Coverage    98.64%   98.64%           
========================================
  Files           70       70           
  Lines         2064     2064           
  Branches       630      630           
========================================
  Hits          2036     2036           
  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 c47416b into develop Nov 23, 2026
6 checks passed
@srod
srod deleted the docs/changeset-glob-wording branch November 23, 2026 16:55
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