23.6.0
版本发布时间: 2023-06-07 20:51:08
twisted/towncrier最新发布版本:24.8.0rc1(2024-08-19 08:25:48)
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
- Moved man page to correct section (#470)
- Update link to Quick Start in configuration.html to point to Tutorial instead. (#504)
- Add a note about the build command's
--version
requiring the command to be explicitly passed. (#511) - Fix typos in the Pre-Commit docs. (#512)