Skip to content

fix: backport bin normalization and configure v5 releases - #193

Merged
martinrrm merged 2 commits into
release/v5from
fix/v5-bin-metadata-maintenance
Oct 26, 2026
Merged

martinrrm merged 2 commits into
release/v5from
fix/v5-bin-metadata-maintenance

Conversation

@martinrrm

Copy link
Copy Markdown
Contributor

Summary

Backport #187 to the bin-links v5 line consumed by npm 10, and configure that line to release safely as a maintenance branch.

  • Normalize a copy of package bin metadata before deriving cleanup paths. Include the upstream POSIX/Windows traversal, absolute-path, invalid-bin and metadata-preservation regressions.
  • Set templateOSS.backport to 5 and regenerate with the existing pinned @npmcli/template-oss@4.23.3.
  • Pass --backport="5" to both release helpers, use release/v5 as the manual release CI default, and preserve computed publishTag forwarding to the publisher.
  • Include generator-required maintenance CI/CodeQL triggers, Dependabot branch entries/fallback, and removal of the maintenance copy of repository-wide settings owned by main.
  • Add offline regressions for latest-5, prerelease-5, the normal latest control, and the generated release workflow wiring.

The release/v5 base was created at the unchanged published v5.0.0 commit, 21614a8d3f0479136a76648e2f9364aad3ffdd55. Its original Release workflow listens only to main, so creating that base did not dispatch a release.

Package version 5.0.0, dependency ranges, Node support (^18.17.0 || >=20.5.0), the exact template pin, CI Node matrix and Windows CI policy are unchanged.

Validation

  • The new bin normalization assertions fail on the unpatched source, and workflow assertions fail before regeneration.
  • Full TAP suite passes with the existing 100% statements/branches/functions/lines coverage gates.
  • Owning ESLint, pinned template-oss-check, and git diff --check pass.
  • Generated changes were inspected; no snapshots were refreshed.

Validated locally on Linux with Node 24.15.0 using the npm CLI checkout. The configured Node/OS CI matrix remains a separate obligation.

Release ordering

Merge this complete source/config change before merging a generated v5 release PR. Stable v5 releases must publish under latest-5, not overwrite latest. npm 10's bundled dependency update must wait for an actually published v5 patch.

No package was published, no registry dist-tag was changed, and no release workflow was manually dispatched.

martinrrm and others added 2 commits October 21, 2026 21:41
Backport of #187 for the npm 10 dependency line.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 330b549f-83dd-4218-81b7-003cc008f869
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 330b549f-83dd-4218-81b7-003cc008f869
@martinrrm
martinrrm marked this pull request as ready for review October 26, 2026 17:41
@martinrrm
martinrrm requested a review from a team as a code owner October 26, 2026 17:41
@martinrrm
martinrrm merged commit 1384505 into release/v5 Oct 26, 2026
15 checks passed
@martinrrm
martinrrm deleted the fix/v5-bin-metadata-maintenance branch October 26, 2026 17:59
@github-actions github-actions Bot mentioned this pull request Oct 26, 2026
martinrrm pushed a commit that referenced this pull request Oct 26, 2026
🤖 I have created a release *beep* *boop*
---


## [5.0.1](v5.0.0...v5.0.1)
(2026-10-26)
### Bug Fixes
*
[`56a0734`](56a0734)
[#193](#193) normalize bin metadata
in getPaths (@martinrrm, @Copilot)
### Chores
*
[`1384505`](1384505)
[#193](#193) configure v5
maintenance releases (@martinrrm, @Copilot)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants