Repository navigation
chore(release): 5.2.0 - #2464
Mikola Lysenko (mikolalysenko) wants to merge 5 commits into
Conversation
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>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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>
PR SummaryLow Risk Overview Docs are aligned with that release: 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>
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
AddedandChangedentries and no breaking ones.v5.1.0..a95f10c88, 186 first-parent PRs. Every one is cited in the section except Add an experimental hot-patch subcommand #2068 (internal).v5.1.0) are folded into the entry of the feature they belong to instead of getting aFixedentry.Known limitations, stated at the top of the section
Gemfile.lockpins 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 therubyplatform build.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 ciafter a vendored scan over an existingnode_modules; re-scan afterpnpm updateorpnpm dedupeon 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_REBUILDandSOCKET_VEX_GRYPE_CONFIG; the additivecausekey of a failed apply event;showandreportprint their own JSON document; telemetrycontext.ciandfailure_codes; three stale statements (--helporder, the removed--modealiases onget,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
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.Not in this PR
npm installthat the next steps and vex name can print "up to date" and leave the package unpatched (a node_modules/.cache or an earlier agent-mode run is enough); onlynpm ciinstalls the patch #2339, Hosted and vendored pip: the stale-install advice says to reinstall from the lockfile, but a plainpip install -r requirements.txtkeeps the unpatched same-version install #2302, A core.autocrlf or* text=autocheckout rewrites the committed agent-mode blobs and Go patch copy: apply fails on every such clone, and for Go it removes a working patch #2318, A newer agent patch whose apply fails still replaces the recorded one: rollback refuses the package, and after a prune every scan and apply exits 1 #2299, On pnpm 9 and 10,pnpm updateandpnpm dedupeput the upstream release back over a hosted patch with no message (on a pnpm 9 workspacepnpm adddoes too), and the scan never says so #2364, A vendored Yarn berry patch pins every version of its package: a dependency added later on another version silently gets the vendored release, andyarn upof the package installs nothing new, whilevendor --checkpasses #2450.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./code-review highon the diff: eight findings, all fixed.Maintainer checklist
gh workflow run ci.yml). Expected reds until they are fixed: the Windows and macOS test legs (Give the pip case of the quoted-URL credential test its own venv, so it passes off Ubuntu #2457), andcoverage-docker (gem), whose test stand-in does not match the patch-view request the CLI sends since Let a patch fix a package's file permissions in agent mode #2433.dry-run: true.git log --first-parent a95f10c88..origin/main.@socketsecurity/socket-patchlast.🤖 Generated with Claude Code