Skip to content

chore(release): 5.2.0 - #2464

Merged
Mikola Lysenko (mikolalysenko) merged 5 commits into
mainfrom
release/v5.2.0-notes-2
Dec 3, 2026
Merged

Mikola Lysenko (mikolalysenko) merged 5 commits into
mainfrom
release/v5.2.0-notes-2

Conversation

@mikolalysenko

@mikolalysenko Mikola Lysenko (mikolalysenko) commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Release PR for 5.2.0: the version stamp, the CHANGELOG section, and a pre-release pass over the user docs and the CLI contract.

Version and range

  • 5.2.0, a minor release. The section has Added and Changed entries and no breaking ones.
  • Covers v5.1.0..a95f10c88, 186 first-parent PRs. Every one is cited in the section except Add an experimental hot-patch subcommand #2068 (internal).
  • Fixes for bugs that never shipped (introduced after v5.1.0) are folded into the entry of the feature they belong to instead of getting a Fixed entry.

Known limitations, stated at the top of the section

  • RubyGems. Hosted mode is the recommended mode. A gem that Gemfile.lock pins only as precompiled platform builds (nokogiri under a default Bundler lock) is patched in hosted and vendored mode only when one fix has a published patch for every platform the lock names. Until then the run exits 0 and changes nothing for that gem. The notes say this is the case for nokogiri at the time of the release, and name the two ways on: agent mode, or a lock that pins only the ruby platform build.
  • PDM. Hosted and vendored mode are experimental. PDM 2.29.8 writes lock version 4.6.0, which both refuse (Support PDM lock format 4.6.0 (PDM 2.29.8 and later): hosted and vendored mode refuse it #2398).
  • Yarn Plug'n'Play. Not supported.

Docs and CLI contract

  • docs/ecosystems.md: PDM moves to the Experimental tier for hosted and vendored mode, with the tier's definition widened from "new" to "new, or moved down from a higher tier"; Plug'n'Play gets a "Not supported" row; hosted mode is named as the recommended mode for Ruby with the platform-build rule beside it; the vendored platform-gem refusal row is corrected; two install caveats are added (npm ci after a vendored scan over an existing node_modules; re-scan after pnpm update or pnpm dedupe on pnpm 9 and 10).
  • CLI_CONTRACT.md: the platform-gem rows and paragraphs that predate one patch per platform gem; --no-gem-native-rebuild, SOCKET_NO_GEM_NATIVE_REBUILD and SOCKET_VEX_GRYPE_CONFIG; the additive cause key of a failed apply event; show and report print their own JSON document; telemetry context.ci and failure_codes; three stale statements (--help order, the removed --mode aliases on get, repair_failed).
  • docs/configuration.md, docs/usage.md, docs/migrating-to-v5.md, docs/testing/pdm-compatibility.md, docs/testing/yarn-berry-compatibility.md: the matching small corrections.

Please double-check

  1. Ruby wording. The notes recommend hosted mode and also say a default nokogiri lock is not patched in hosted mode yet. Both are true today; the second sentence goes stale when platform builds are published.
  2. Patch mirror (Add an experimental patch mirror for hosted mode behind an internal artifact host #2180 and follow-ups): listed under Added as experimental, as in the earlier draft.
  3. scan --selection-filter (Add an internal scan --selection-filter for reachability-aware patching #2062): a hidden option, described as hidden and versioned on its own.
  4. File permissions in agent mode (Let a patch fix a package's file permissions in agent mode #2433): the entry describes what the CLI does with a patch that declares a file mode.
  5. Telemetry (Say why an apply failed in its telemetry and --json events #2247): the earlier draft left this out. The notes now say that events carry whether the run is in CI and count failure causes, because the contract and the configuration page describe both.
  6. Filed under Fixed although an exit code changes: Fix pnpm hosted patch over a vendored dependency (#2263) #2266, Stop attesting a vendored pnpm package whose override no settings file declares #2396, Stop attesting a vendored pnpm package through an override its pnpm 10 release does not read #2441, Hold a package to one set of size limits on every path, raise them, and make a limit an error (#2197) #2410. Each makes a command fail where the result was already broken.
  7. PDM tier. "Experimental" was defined as new work; the page now also uses it for a move down.

Not in this PR

Checks run locally

  • bash scripts/release-lint.sh --stable-only --tag-check: pass.
  • python3 scripts/release.py changelog check --version 5.2.0: pass.
  • cargo metadata --locked: pass.
  • Every PR number of the range is cited; every code, flag and variable the section names exists in the tree.
  • /code-review high on the diff: eight findings, all fixed.
  • Nothing was built or tested beyond that; CI runs on this PR.

Maintainer checklist

🤖 Generated with Claude Code

Stamp 5.2.0 into every packaging site and cut the CHANGELOG section.
The notes cover the changes merged up to #2243; entries for the later
merges follow in this branch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@socket-security

socket-security Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

@socket-security-staging

socket-security-staging Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Add entries for the 64 changes merged since the first draft, replace the
platform-gem entry with what main does since #2422, fold fixes for bugs
that never shipped into the entries of their features, and state the
release's known limitations (platform-locked gems, PDM, Yarn Plug'n'Play)
at the top of the section.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
State the release's support limits where a reader looks for them: PDM in
hosted and vendored mode moves to the Experimental tier (the lock of PDM
2.29.8 and later is refused), Yarn Plug'n'Play is not supported in any
mode, and hosted mode is the recommended mode for Ruby, with the rule for
gems locked as precompiled platform builds beside it.

Correct what the code contradicts: the platform-gem rows and paragraphs of
the contract that predate one patch per platform gem, the flags and
variables the contract and configuration page did not list
(--no-gem-native-rebuild, SOCKET_VEX_GRYPE_CONFIG, the cause of a failed
apply event), the default mode of get, and two install caveats for npm
and pnpm.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Say in the notes what telemetry sends since #2247 (whether a run is in CI,
failure causes), name both ways out of Yarn Plug'n'Play as the CLI's own
warning does, stop implying Yarn's pnpm linker is unsupported, give PDM's
full working range, and account for #2094.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@mikolalysenko
Mikola Lysenko (mikolalysenko) marked this pull request as ready for review December 2, 2026 23:20
@cursor

cursor Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Version bumps and documentation/changelog only; behavior changes ship in earlier merges summarized in the changelog, not in this diff.

Overview
This PR cuts release 5.2.0: workspace and npm package versions move from 5.1.0 → 5.2.0, and CHANGELOG.md gains a full ## [5.2.0] section (prior feature work is documented there, not in this diff).

Docs are aligned with that release: docs/ecosystems.md (PDM hosted/vendored downgraded to Experimental, Yarn Plug'n'Play marked not supported, Ruby hosted/platform-gem notes, npm/pnpm install caveats), plus smaller updates to configuration.md (telemetry context.ci, failure_codes, rebuilt outcome), usage.md (get defaults to the project’s existing mode), migrating-to-v5.md, and PDM/Yarn berry testing pages.

There is no application logic change in this diff—only version stamps, changelog, and documentation.

Reviewed by Cursor Bugbot for commit 71211c3. Configure here.

Say which messages redact URL credentials instead of claiming none is
printed, and recommend only the node-modules linker (or yarn patch) for a
Yarn Plug'n'Play project.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@mikolalysenko
Mikola Lysenko (mikolalysenko) added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit d987721 Dec 3, 2026
50 checks passed
@mikolalysenko
Mikola Lysenko (mikolalysenko) deleted the release/v5.2.0-notes-2 branch December 3, 2026 00:34
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