From 56f8fdb02a07cfa567bfeb7f51e197bca3003888 Mon Sep 17 00:00:00 2001 From: chad-loder <26261238+chad-loder@users.noreply.github.com> Date: Sat, 25 Apr 2026 16:14:54 -0700 Subject: [PATCH] fix(schema): add missing config properties accepted by code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The config JSON schema is missing several properties that `ReleaserConfigJson` and `ReleaserPackageConfig` accept at runtime: - `include-commit-authors` (boolean) — changelog author attribution - `component` (string) — per-package component name - `package-name` (string) — per-package distribution name - `skip-snapshot` (boolean, Java-only) — suppress snapshot PRs Adds all four to `ReleaserConfigOptions` (shared definition) and to the top-level `properties` allowlist. Purely additive — no existing properties are modified, narrowed, or removed. Fixes #2518 --- schemas/config.json | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/schemas/config.json b/schemas/config.json index 2a751312b..aea087734 100644 --- a/schemas/config.json +++ b/schemas/config.json @@ -247,7 +247,7 @@ "type": "string" }, "skip-snapshot": { - "description": "If set, do not propose snapshot pull requests. Used by `java` strategies.", + "description": "If set, do not propose snapshot pull requests. Used by `java` strategies. Defaults to `false`.", "type": "boolean" }, "initial-version": { @@ -257,6 +257,18 @@ "component-no-space": { "description": "release-please automatically adds ` ` (space) in front of parsed ${component}. This option indicates whether that behaviour should be disabled. Defaults to `false`", "type": "boolean" + }, + "include-commit-authors": { + "description": "Include commit authors in changelog entries (e.g. `(@username)`). Defaults to `false`.", + "type": "boolean" + }, + "component": { + "description": "Name of the component for this package. Used in the release pull request title and tag.", + "type": "string" + }, + "package-name": { + "description": "The name of the package to use when determining the version to release. For Python, this is the distribution name (e.g. from pyproject.toml).", + "type": "string" } } } @@ -501,6 +513,10 @@ "snapshot-label": true, "initial-version": true, "exclude-paths": true, - "component-no-space": false + "component-no-space": false, + "include-commit-authors": true, + "component": true, + "package-name": true, + "skip-snapshot": true } }