chore(deps): bump @swapkit/* + enrich dep changelogs at release time#91
Merged
Conversation
Move the rich-notes step from bump time to release time, mirroring the SDK's changeset:enrich. generate-dep-changeset now emits a SIMPLE deterministic changeset with 'old → new' markers (no changelog reading, no node_modules dependency — so the enforce check stays deterministic). The new tools/enrich-dep-changelogs.ts runs after 'changeset version' (via version-bump): for each package that bumped this release it replaces the markers with the real underlying changes, sliced from each dep's changelog in bun's isolated store and deduped by commit hash. Keeps the SDK's own (via @swapkit/x@y) attribution.
toolboxes 4.17.5, helpers 4.14.1, core 4.4.37, plugins 4.6.51, server 4.3.5, utxo-signer 2.2.2, wallet-core 4.3.6, wallet-keystore 4.4.5 (root + workspace, sherif clean). Wires version-bump to run the new enricher, and carries the simple marker changeset that the release PR will enrich.
8d21702 to
e315492
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps the
@swapkit/*SDK deps to latest (the version bump missed in the last merge): toolboxes 4.17.2→4.17.5, helpers 4.14.0→4.14.1, core 4.4.34→4.4.37, plugins 4.6.48→4.6.51, server 4.3.2→4.3.5, utxo-signer 2.2.1→2.2.2, wallet-core 4.3.5→4.3.6, wallet-keystore 4.4.2→4.4.5 (root + workspace, sherif clean).Moves dep-changelog enrichment from bump time to release time — mirroring the SDK's
changeset:enrich.The new flow
generate-dep-changeset.tsis now changelog-free — it just records@swapkit/x: A → Bmarkers. Deterministic, no node_modules dependency, so theenforce-dep-changesetcheck stays reliable.tools/enrich-dep-changelogs.ts(new) does the enrichment at release time, reusing the sharedtools/changelog.tshelpers. It reads the bumped deps' changelogs from bun's isolated store (handling the hoisting issue where a different version is symlinked at top level) and keeps the SDK's own(via @swapkit/x@y)attribution.version-bump→changeset version && enrich-dep-changelogs && bun install.Verified locally
generate:dep-changeset→ the simple marker changeset (enforce check will pass — deterministic).changeset versionrender and ran the enricher → markers correctly replaced with the deduped underlying changes (TON #272, Sui #269/#271, changelog #274) carrying the SDK's(via toolboxes@…)attribution.bun installclean (sherif passes), biome clean.Note:
changeset versionitself can't run locally (the changelog-github plugin needs the GitHub API + token) — that path runs in CI. The enricher was validated against a faithful fixture of its output.