From 825c441bcc8b0064cb705f1ed32b9683b6121330 Mon Sep 17 00:00:00 2001 From: Ian Macartney <366683+ianmacartney@users.noreply.github.com> Date: Mon, 23 Nov 2026 16:56:59 -0800 Subject: [PATCH 1/2] Link PRs in generated changelog entries --- .changeset/config.json | 17 ++++++++++------- package-lock.json | 35 +++++++++++++++++++++++++++++++++++ package.json | 1 + 3 files changed, 46 insertions(+), 7 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 4b3a691..0b35ee5 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/action-cache", + "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 efda7ae..baa017a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.3.2", "license": "Apache-2.0", "devDependencies": { + "@changesets/changelog-github": "1.0.1", "@changesets/cli": "3.0.3", "@convex-dev/eslint-plugin": "5.0.1", "@edge-runtime/vm": "5.0.0", @@ -378,6 +379,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", @@ -511,6 +526,19 @@ "node": ">=10" } }, + "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", @@ -2961,6 +2989,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 594acea..9d6f874 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "convex": "^1.24.8" }, "devDependencies": { + "@changesets/changelog-github": "1.0.1", "@changesets/cli": "3.0.3", "@convex-dev/eslint-plugin": "5.0.1", "@edge-runtime/vm": "5.0.0", From 1a04ce2848ed236d21ef9cde3fd09f8218c7325b 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 +- CONTRIBUTING.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index 0b35ee5..3fb8ccd 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -4,7 +4,7 @@ "@changesets/changelog-github", { "repo": "convex/action-cache", - "template": "\n\n- {pull} {summary}" + "template": "\n\n- {summary}" } ], "commit": false, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 505eae5..9c4e0a1 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.