From afb9dccd802bab79eb73b70c0a71e6c8e40713eb Mon Sep 17 00:00:00 2001 From: Dawson Toth Date: Mon, 27 Jul 2026 12:58:32 -0400 Subject: [PATCH] fix(release): align release-note sections with studio and guard preset at v9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Aligned `.releaserc.json` `presetConfig.types` to studio's superset (adds `chore`→Chores, `build`, `ci`, `style`; renames to match studio) so no release comes out empty. - Added the Renovate guard. (No lockfile change — the preset devDep is already on a 9.x range, so notes already render; this is the consistency + guard piece.) Co-Authored-By: Claude Opus 4.8 (1M context) --- .releaserc.json | 15 +++++++++------ renovate.json | 5 +++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.releaserc.json b/.releaserc.json index 61e5326..a672832 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -9,14 +9,17 @@ "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, - { "type": "feature", "section": "Features" }, - { "type": "docs", "section": "Documentation" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "perf", "section": "Performance Improvements" }, - { "type": "refactor", "section": "Code Improvements" }, - { "type": "revert", "section": "Reverts" }, - { "type": "test", "section": "Test Improvements" }, - { "type": "chore", "scope": "deps", "section": "Dependency Updates" } + { "type": "refactor", "section": "Refactoring" }, + { "type": "chore", "scope": "deps", "section": "Dependency Updates", "hidden": false }, + { "type": "chore", "section": "Chores", "hidden": false }, + { "type": "docs", "section": "Documentation" }, + { "type": "style", "section": "Styles" }, + { "type": "test", "section": "Tests" }, + { "type": "build", "section": "Build System" }, + { "type": "ci", "section": "Continuous Integration" }, + { "type": "revert", "section": "Reverts" } ] } } diff --git a/renovate.json b/renovate.json index ee678f2..2cfaa76 100644 --- a/renovate.json +++ b/renovate.json @@ -28,6 +28,11 @@ "matchPackageNames": ["dprint", "oxfmt"], "matchCurrentVersion": "< 1.0.0", "automerge": true + }, + { + "description": "Hold conventional-changelog-conventionalcommits on v9: @semantic-release/release-notes-generator@14 bundles the Handlebars conventional-changelog-writer@8, and preset v10's function-based templates render empty release notes under writer@8. Drop once release-notes-generator ships a writer@9 major.", + "matchPackageNames": ["conventional-changelog-conventionalcommits"], + "allowedVersions": "<10" } ] }