From 33782fecd5142cba77b6f9cf671ee17006f69965 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 14:41:35 +0000 Subject: [PATCH] chore(deps): update pre-commit hook ansible-community/antsibull-changelog to v0.32.0 (#608) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ansible-community/antsibull-changelog](https://redirect.github.com/ansible-community/antsibull-changelog) | repository | minor | `0.31.2` -> `0.32.0` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
ansible-community/antsibull-changelog (ansible-community/antsibull-changelog) ### [`v0.32.0`](https://redirect.github.com/ansible-community/antsibull-changelog/releases/tag/0.32.0) [Compare Source](https://redirect.github.com/ansible-community/antsibull-changelog/compare/0.31.2...0.32.0) ##### Release Summary Feature release. ##### Major Changes - The new configuration setting output allows to configure more precisely which changelog files are generated and how they are formatted ([#​190](https://redirect.github.com/ansible-community/antsibull-changelog/issues/190), [#​194](https://redirect.github.com/ansible-community/antsibull-changelog/pull/194)). ##### Minor Changes - Antsibull-changelog now depends on Pydantic 2 ([#​193](https://redirect.github.com/ansible-community/antsibull-changelog/pull/193)). - Antsibull-changelog now uses Pydantic to parse and validate the config. This means that validation is more strict than before and might reject configs that were incorrect, but still got accepted somehow ([#​193](https://redirect.github.com/ansible-community/antsibull-changelog/pull/193)). ##### Breaking Changes / Porting Guide - When using antsibull-changelog as a library, ChangelogConfig's constructor should no longer be called directly. Instead, use the class method ChangelogConfig.parse(), which has the same signature than the previous constructor, except that ignore_is_other_project now must be a keyword parameter ([#​193](https://redirect.github.com/ansible-community/antsibull-changelog/pull/193)). - When using antsibull-changelog as a library, rendering.changelog.generate_changelog() now needs a ChangelogOutput object instead of the document_format: TextFormat parameter, and the config and changelog_path parameters have been removed ([#​194](https://redirect.github.com/ansible-community/antsibull-changelog/pull/194)). - When using the --output argument for antsibull-changelog generate, the generated changelog's title will not contain any parts of the version number. If you need this, [please create an issue](https://redirect.github.com/ansible-community/antsibull-changelog/issues/new) ([#​194](https://redirect.github.com/ansible-community/antsibull-changelog/pull/194)). ##### Deprecated Features - The configuration settings changelog_filename_template, changelog_filename_version_depth, and output_formats are deprecated and will eventually be removed. Use the new setting output instead. Note that there are no runtime warnings right now. If the time to remove them comes nearer, there will be runtime warnings for a longer time first before they are actually removed ([#​194](https://redirect.github.com/ansible-community/antsibull-changelog/pull/194)). ##### Removed Features (previously deprecated) - Python API: remove antsibull_changelog.rst module ([#​183](https://redirect.github.com/ansible-community/antsibull-changelog/pull/183)). - Python API: remove constructor arguments plugins and fragments from class ChangelogGenerator in antsibull_changelog.rendering.changelog ([#​183](https://redirect.github.com/ansible-community/antsibull-changelog/pull/183)). - Python API: remove method ChangelogEntry.add_section_content, class ChangelogGenerator, and function generate_changelog from antsibull_changelog.changelog_generator ([#​183](https://redirect.github.com/ansible-community/antsibull-changelog/pull/183)). - When using antsibull-changelog as a library, the fields changelog_filename_template, changelog_filename_version_depth, and output_formats are no longer available in ChangelogConfig. Use output instead ([#​194](https://redirect.github.com/ansible-community/antsibull-changelog/pull/194)).
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5773850..85df209 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,7 +44,7 @@ repos: - id: black - repo: https://github.com/ansible-community/antsibull-changelog - rev: 0.31.2 + rev: 0.32.0 hooks: - id: antsibull-changelog-lint - id: antsibull-changelog-lint-changelog-yaml