Skip to content

chore(deps): bump @swapkit/* + enrich dep changelogs at release time#91

Merged
towanTG merged 2 commits into
developfrom
chore/bump-swapkit-deps-20260610
Jun 11, 2026
Merged

chore(deps): bump @swapkit/* + enrich dep changelogs at release time#91
towanTG merged 2 commits into
developfrom
chore/bump-swapkit-deps-20260610

Conversation

@towanTG

@towanTG towanTG commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What

  1. 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).

  2. Moves dep-changelog enrichment from bump time to release time — mirroring the SDK's changeset:enrich.

The new flow

bump PR (this one): deps bumped + a SIMPLE changeset of `old → new` markers
release on develop:
  changeset version       → consolidates the marker changeset into CHANGELOG.md (Version Packages PR)
  enrich-dep-changelogs   → replaces the markers with the REAL underlying changes,
                            sliced from each bumped dep's changelog in bun's .bun store, deduped
  bun install
→ the Version Packages release PR shows the enriched notes
  • generate-dep-changeset.ts is now changelog-free — it just records @swapkit/x: A → B markers. Deterministic, no node_modules dependency, so the enforce-dep-changeset check stays reliable.
  • tools/enrich-dep-changelogs.ts (new) does the enrichment at release time, reusing the shared tools/changelog.ts helpers. 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-bumpchangeset version && enrich-dep-changelogs && bun install.

Verified locally

  • generate:dep-changeset → the simple marker changeset (enforce check will pass — deterministic).
  • Simulated a changeset version render 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 install clean (sherif passes), biome clean.

Note: changeset version itself 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.

github-actions Bot added 2 commits June 10, 2026 17:27
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.
@towanTG towanTG force-pushed the chore/bump-swapkit-deps-20260610 branch from 8d21702 to e315492 Compare June 10, 2026 13:27
@towanTG towanTG changed the title chore(deps): bump @swapkit/* SDK packages to latest chore(deps): bump @swapkit/* + enrich dep changelogs at release time Jun 10, 2026
@towanTG towanTG merged commit 833d967 into develop Jun 11, 2026
1 check passed
@towanTG towanTG deleted the chore/bump-swapkit-deps-20260610 branch June 11, 2026 09:45
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.

1 participant