From 79c44f767efda728d6e3eb1f9e80fa063498302f Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Sat, 10 Oct 2026 15:23:39 +0100 Subject: [PATCH] build: pin the changelog preset to the major its writer supports Version 10 of conventional-changelog-conventionalcommits needs conventional-changelog-writer 9, while @semantic-release/release-notes-generator loads writer 8, so generating notes throws and the release job fails. Dependabot no longer proposes a major bump of the preset. --- .github/dependabot.yml | 3 +++ package.json | 2 +- pnpm-lock.yaml | 12 ++++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 52f17af..06df07c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -18,6 +18,9 @@ updates: ignore: - dependency-name: "@exadev/process-graph-*" - dependency-name: "process-graph" + # Version 10 of the preset needs conventional-changelog-writer 9, but @semantic-release/release-notes-generator still loads writer 8, so generating notes throws and no release is published. Lift this once that plugin depends on writer 9. + - dependency-name: "conventional-changelog-conventionalcommits" + update-types: ["version-update:semver-major"] - package-ecosystem: github-actions directory: / schedule: diff --git a/package.json b/package.json index 6465c3c..93b9e9b 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@semantic-release/release-notes-generator": "14.1.1", "@stryker-mutator/api": "10.0.0", "@types/node": "26.6.4", - "conventional-changelog-conventionalcommits": "10.4.0", + "conventional-changelog-conventionalcommits": "9.3.1", "eslint": "10.12.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-depend": "1.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 99930c4..874dad5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,8 +215,8 @@ importers: specifier: 26.6.4 version: 26.6.4 conventional-changelog-conventionalcommits: - specifier: 10.4.0 - version: 10.4.0 + specifier: 9.3.1 + version: 9.3.1 eslint: specifier: 10.12.0 version: 10.12.0(jiti@2.7.0)(supports-color@7.2.0) @@ -2120,6 +2120,10 @@ packages: resolution: {integrity: sha512-Rriac6ZrAlVm6cy9Bz4NSp+WMHpwNXoPIYex+HjCgduAVUSbnew29DQjQw0C4g9u3HtSYzGiGY+pdBXAZo+4aA==} engines: {node: '>=22'} + conventional-changelog-conventionalcommits@9.3.1: + resolution: {integrity: sha512-dTYtpIacRpcZgrvBYvBfArMmK2xvIpv2TaxM0/ZI5CBtNUzvF2x0t15HsbRABWprS6UPmvj+PzHVjSx4qAVKyw==} + engines: {node: '>=18'} + conventional-changelog-writer@8.4.0: resolution: {integrity: sha512-HHBFkk1EECxxmCi4CTu091iuDpQv5/OavuCUAuZmrkWpmYfyD816nom1CvtfXJ/uYfAAjavgHvXHX291tSLK8g==} engines: {node: '>=18'} @@ -5940,6 +5944,10 @@ snapshots: dependencies: '@conventional-changelog/template': 1.4.0 + conventional-changelog-conventionalcommits@9.3.1: + dependencies: + compare-func: 2.0.0 + conventional-changelog-writer@8.4.0: dependencies: '@simple-libs/stream-utils': 1.2.0