Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Commit b51a3be

Browse files
authored
chore: fix semantic-release changelog configuration deprecation (#31)
Update changelog configuration to use the new structure: - Move 'changelog_file' to 'changelog.default_templates.changelog_file' - Prevents deprecation warning in python-semantic-release 9.x - Ensures compatibility with future v10 release
1 parent 8e576b8 commit b51a3be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,14 @@ match = "main"
142142
prerelease = false
143143

144144
[tool.semantic_release.changelog]
145-
changelog_file = "CHANGELOG.md"
146145
exclude_commit_patterns = [
147146
"chore\\(release\\):.*",
148147
"Merge.*",
149148
]
150149

150+
[tool.semantic_release.changelog.default_templates]
151+
changelog_file = "CHANGELOG.md"
152+
151153
[tool.semantic_release.changelog.environment]
152154
block_start_string = "{%"
153155
block_end_string = "%}"

0 commit comments

Comments
 (0)