From 98a75787ce4d1413ff9c207996ec533b0908df23 Mon Sep 17 00:00:00 2001 From: Ian Macartney <366683+ianmacartney@users.noreply.github.com> Date: Mon, 23 Nov 2026 16:57:21 -0800 Subject: [PATCH 1/2] Link PRs in generated changelog entries --- .changeset/config.json | 17 ++++++++++------- package-lock.json | 35 +++++++++++++++++++++++++++++++++++ package.json | 5 +++-- 3 files changed, 48 insertions(+), 9 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 4b3a691..3511104 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,11 +1,14 @@ { "$schema": "https://unpkg.com/@changesets/config@4.0.1/schema.json", - "baseBranch": "main", - "access": "public", - "changelog": "@changesets/cli/changelog", + "changelog": [ + "@changesets/changelog-github", + { + "repo": "convex/batch-worker", + "template": "\n\n- {pull} {summary}" + } + ], "commit": false, - "fixed": [], - "linked": [], - "updateInternalDependencies": "patch", - "ignore": [] + "access": "public", + "baseBranch": "main", + "format": "prettier" } diff --git a/package-lock.json b/package-lock.json index 3d7b455..3dcdc84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "convex-helpers": "^0.1.127" }, "devDependencies": { + "@changesets/changelog-github": "1.0.1", "@changesets/cli": "3.0.3", "@convex-dev/eslint-plugin": "^2.0.0", "@convex-dev/rate-limiter": "^0.3.2", @@ -392,6 +393,20 @@ "node": "^22.11 || ^24 || >=26" } }, + "node_modules/@changesets/changelog-github": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@changesets/changelog-github/-/changelog-github-1.0.1.tgz", + "integrity": "sha512-QUcrV7878yHlWPXXPA6gqSxNKwtVHCd1K22L7ZAoJw2yGy8K4QvjwOStD75+1Q9KD9ZSUgGS94HuYdd7HOVtpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@changesets/get-github-info": "^1.0.1", + "@changesets/types": "^7.0.0" + }, + "engines": { + "node": "^22.11 || ^24 || >=26" + } + }, "node_modules/@changesets/cli": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@changesets/cli/-/cli-3.0.3.tgz", @@ -499,6 +514,19 @@ "node": "^22.11 || ^24 || >=26" } }, + "node_modules/@changesets/get-github-info": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@changesets/get-github-info/-/get-github-info-1.0.1.tgz", + "integrity": "sha512-ifLQCky/ZtDgZ4xCiUMjnLZSJ8xk52iIzMJbBBPlZWjr2CiTNTaTDddIVWKicrUAdWuLWL7PUw2fNa1yPwLpIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "dataloader": "^2.2.3" + }, + "engines": { + "node": "^22.11 || ^24 || >=26" + } + }, "node_modules/@changesets/git": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@changesets/git/-/git-4.0.1.tgz", @@ -3055,6 +3083,13 @@ "dev": true, "license": "MIT" }, + "node_modules/dataloader": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/dataloader/-/dataloader-2.2.3.tgz", + "integrity": "sha512-y2krtASINtPFS1rSDjacrFgn1dcUuoREVabwlOGOe4SdxenREqwjwjElAdwvbGM7kgZz9a3KVicWR7vcz8rnzA==", + "dev": true, + "license": "MIT" + }, "node_modules/debug": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", diff --git a/package.json b/package.json index 7f09dcf..4572f62 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,8 @@ "convex": "^1.43.0" }, "devDependencies": { + "@changesets/changelog-github": "1.0.1", + "@changesets/cli": "3.0.3", "@convex-dev/eslint-plugin": "^2.0.0", "@convex-dev/rate-limiter": "^0.3.2", "@convex-dev/static-hosting": "^0.2.0-alpha.2", @@ -86,8 +88,7 @@ "typescript": "6.0.3", "typescript-eslint": "8.58.2", "vite": "8.1.5", - "vitest": "4.1.4", - "@changesets/cli": "3.0.3" + "vitest": "4.1.4" }, "types": "./dist/client/index.d.ts", "module": "./dist/client/index.js", From 272f1839cce950477011679948a95b28fb348eee Mon Sep 17 00:00:00 2001 From: Ian Macartney <366683+ianmacartney@users.noreply.github.com> Date: Mon, 23 Nov 2026 17:55:39 -0800 Subject: [PATCH 2/2] Put PR references after changelog summaries --- .changeset/config.json | 2 +- .changeset/steady-batch-tests.md | 2 +- CONTRIBUTING.md | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 3511104..a498607 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -4,7 +4,7 @@ "@changesets/changelog-github", { "repo": "convex/batch-worker", - "template": "\n\n- {pull} {summary}" + "template": "\n\n- {summary}" } ], "commit": false, diff --git a/.changeset/steady-batch-tests.md b/.changeset/steady-batch-tests.md index 03cd1a0..354d77c 100644 --- a/.changeset/steady-batch-tests.md +++ b/.changeset/steady-batch-tests.md @@ -3,4 +3,4 @@ --- Return the registered component API from the test helper and clarify how -work-query snapshots relate to worker mutations. +work-query snapshots relate to worker mutations. (#30) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 286a085..92a0796 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,6 +33,9 @@ Choose the version bump, describe the user-visible change, and commit the generated file with your implementation. Docs-only and development-tooling changes do not need a changeset. +Once your PR is open, add its number in parentheses at the end of the first +paragraph of each changeset, for example `(#279)`. + Review and merge the release PR when ready. Click **Approve workflows to run** on the PR if its checks are waiting for approval. To refresh it manually, run the [Update release PR workflow](./.github/workflows/version.yml) on main.