Repository navigation
chore(release): 5.1.0 - #2032
Mikola Lysenko (mikolalysenko) wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
CI red that isn't caused by this PR: the
The fix is open as #2028 ( Generated by a one-off release-staging routine. Generated by Claude Code |
|
Labeled Ready for review by the burn-down agent.
Generated by Claude Code |
Final review brief (for the human approver)What it does: cuts release 5.1.0. It adds a Risk: low. The diff touches only version stamps and the changelog. The real risk is in the release workflow you run after merging, not in this diff. Look here
Verified
Changes I made: none. Open questions: none blocking. Merge #2028 first so this PR (and the rest of the open PRs) can go green. Auto-merge isn't armed: this PR doesn't qualify until Generated by Claude Code |
Release 5.1.0
Version: 5.1.0 (minor). The notes have an
### Addedsection (agent-mode gem native-extension rebuild) and no Breaking or Removed entries. Per the CHANGELOG header rule, that makes this a minor release.Covered range:
v5.0.1..7bde3ba55a84e64281372ebc4fd53e7fab0e35fd: 50 first-parent PRs. That is far fewer than the ~300 commits the routine expected; the count is fromgit log --first-parent.This PR changes only
CHANGELOG.mdand the filesscripts/version-sync.sh 5.1.0stamps (Cargo.toml, Cargo.lock, the 15 npm package.json files, the npm lockfile). Local checks:release-lint.sh --stable-only --tag-checkpassed,release.py changelog check --version 5.1.0passed, andcargo check --lockedpassed.Headline: Ruby native-extension patching (#1996, #1998)
When agent-mode
apply(orscan/get --mode agent) patches a gem whose patch changes native-extension sources (ext/**/*.c,extconf.rb, …), it now rebuilds the extensions with RubyGems' own builder (thegem pristine --extensionsstep). It uses the Ruby that owns the gem home and rebuilds both theextensions/<platform>/<abi>/copy and thelib/copy, so Ruby stops loading the stale install-time build.native_extension_build_failed).native_extensions_unsupported).vexandapply --checkattest the patch only once the rebuild is recorded; otherwise they reportnative_extension_not_rebuilt.rollback/removerestore the original build.--no-gem-native-rebuild(envSOCKET_NO_GEM_NATIVE_REBUILD) opts out for callers that compile the extension themselves.These claims were checked against
CLI_CONTRACT.mdandargs.rs.Left out of the notes
Every merged PR is referenced, but these appear only in two condensed Maintenance bullets because they don't change user-visible behavior:
For a maintainer to double-check
%quoting of the nested-project remedy, and uniform download-error wording plus--debuglogging. Both are listed under Fixed → General.redirect_npm_omit_lockfile_registry_resolved(Fix hosted npm ignoring omit-lockfile-registry-resolved (#1871) #1872) andredirect_pypi_no_lockfile(Fix silent PyPI hosted scan with no lockfile (#638) #1885), and the new refusalpypi_requirement_env_templated(Fix templated pip pins ignored beside pylock (#1873) #1874), are filed under Fixed because they close silent-failure cases. They could arguably go under Added; doing so would not change the version.Maintainer checklist
git log --first-parent 7bde3ba55a84e64281372ebc4fd53e7fab0e35fd..origin/main(if something did, add notes first).main(optionally adry-run: truerun first).@socketsecurity/socket-patchlast.Generated by a one-off release-staging routine.
Generated by Claude Code
Note
Low Risk
Version and changelog-only release prep; no runtime code changes in this diff.
Overview
Cuts socket-patch
5.1.0: bumps the workspace and crate versions inCargo.toml/Cargo.lock, and stamps5.1.0on the main npm package, all platformoptionalDependencies, andpackage-lock.json(lockfile trimmed to root +@types/nodeonly).Documents the release in
CHANGELOG.mdwith a new## [5.1.0] — 2026-11-06section: Added highlights agent-mode RubyGems rebuilds of native extensions (gem pristine–style) with new warnings/codes and--no-gem-native-rebuild; Fixed spans Bundler 4.1 overrides, gemspec parsing, pnpm/yarn/Bun/npm edge cases, PyPI/Pipenv/Poetry, Go replace correctness, Maven 4 implicit reactor, vendoring dry runs and refusals, and misc download/remedy behavior; Maintenance notes internal consolidation and CI/test work.Reviewed by Cursor Bugbot for commit c6ef370. Configure here.
Generated by Claude Code