chore(deps): update dependency towncrier to v24 #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~= 22.12.0
->~=24.8.0
Release Notes
twisted/towncrier (towncrier)
v24.8.0
: Towncrier 24.8.0Compare Source
Towncrier 24.8.0 (2024-08-23)
Features
.gitkeep
as an ignored filename.(#643)
wildcard matching via
fnmatch.
(#644)
(#649)
Bugfixes
(#638)
user when they are writing markdown files (fixes a regression
introduced in
[#610](#610)).
(#651)
failed recognizing the issue name of files with a non-category
suffix (.md)
(#654)
would fail when an issue_pattern is
configured. Orphan news fragments are now excempt from issue_pattern checks.
(#655)
Deprecations and Removals
Moved towncrier version definition from src/towncrier/_version.py
to pyproject.toml
towncrier.__version__ was removed, after being deprecated in
23.6.0. (#640)
Misc
#657
v24.7.1
: Towncrier 24.7.1Compare Source
Towncrier 24.7.1 (2024-07-31)
Bugfixes
fragments, it is automatically ignored when checking for valid
fragment file names.
(#632)
Misc
#630
v24.7.0
: Towncrier 24.7.0Compare Source
Towncrier 24.7.0 (2024-07-31)
Features
towncrier build
now handles removing news fragments which are not part of the git repository. For example, uncommitted or unstaged files. (#357)Inferring the version of a Python package now tries to use the metadata of the installed package before importing the package explicitly (which only looks for
[package].__version__
). (#432)If no filename is given when doing
towncrier
create, interactively ask for the issue number and fragment type (and then launch an interactive editor for the fragment content).Now by default, when creating a fragment it will be appended with the
filename
option's extension (unless an extension is explicitly provided). For example,towncrier create 123.feature
will createnews/123.feature.rst
. This can be changed in configuration file by setting add_extension = false.A new line is now added by default to the end of the fragment contents. This can be reverted in the configuration file by setting add_newline = false. (#482)
The temporary file
towncrier create
creates now uses the correct.rst
or.md
extension, which may help your editor with with syntax highlighting. (#594)Running
towncrier
will now traverse back up directories looking for the configuration file. (#601)The
towncrier create
action now uses sections defined in your config (either interactively, or via the new--section
option). (#603)News fragments are now sorted by issue number even if they have non-digit characters.
For example:
The sorting algorithm groups the issues first by non-text characters and then by number. (#608)
The
title_format
configuration option now uses a markdown format for markdown templates. (#610)newsfragment categories can now be marked with
check = false
, causing them to be ignored intowncrier check
(#617)towncrier check
will now fail if any news fragments have invalid filenames.Added a new configuration option called
ignore
that allows you to specify a list of filenames that should be ignored. If this is set,towncrier build
will also fail if any filenames are invalid, except for those in the list. (#622)Bugfixes
Improved Documentation
towncrier create +.feature.rst
(orphan fragments) works. (#589)Misc
v23.11.0
: Towncrier 23.11.0Compare Source
towncrier 23.11.0 (2023-11-08)
Bugfixes
build
now treats a missing fragments directory the same as anempty one, consistent with other operations.
(#538)
with the ticket fix-1.2.3. In
previous versions they were incorrectly associated to ticket 3.
(#562)
accidentally associated to tickets. In previous versions the orphan
marker was ignored and the newsfragment was associated to a ticket
having the last numerical value from the filename.
(#562)
Misc
#559
v23.10.0
: Towncrier 23.10.0Compare Source
towncrier 23.10.0 (2023-10-23)
No significant changes since the previous release candidate.
Features
Python 3.12 is now officially supported. (#541)
Initial support was added for monorepo-style setup. One project with multiple independent news files stored in separate sub-directories, that share the same towncrier config. (#548)
Two newlines are no longer always added between the current release notes and the previous content. The newlines are now defined only inside the template.
Important! If you're using a custom template and want to keep the same whitespace between releases, you may have to modify your template. (#552)
Bugfixes
Improved Documentation
Deprecations and Removals
Misc
v23.6.0
: Towncrier 23.6.0Compare Source
towncrier 23.6.0 (2023-06-06)
This is the last release to support Python 3.7.
Features
Make
towncrier create
use the fragment counter rather than failing on existing fragment names.For example, if there is an existing fragment named
123.feature
, thentowncrier create 123.feature
will now create a fragment named123.feature.1
. (#475)Provide a default Markdown template if the configured filename ends with
.md
.The Markdown template uses the same rendered format as the default reStructuredText template, but with a Markdown syntax. (#483)
Towncrier no longer depends on setuptools & uses importlib.resources (or its backport) instead. (#496)
Added pre-commit hooks for checking and updating news in projects using pre-commit. (#498)
Calling
towncrier check
without an existing configuration, will just show only an error message.In previous versions, a traceback was generated instead of the error message. (#501)
Bugfixes
Fix creating fragment in a section not adding random characters.
For example,
towncrier create some_section/+.feature
should end up as a fragment named something likenews/some_section/+a4e22da1.feature
. (#468)Fix the ReadTheDocs build for
towncrier
which was broken due to the python version in use being 3.8. Upgrade to 3.11. (#509)Improved Documentation
--version
requiring the command to be explicitly passed. (#511)Misc
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.