Skip to content

Commit 05eea3f

Browse files
committed
Release 21.3.0rc1
1 parent 2841c12 commit 05eea3f

32 files changed

+45
-25
lines changed

NEWS.rst

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,50 @@
22

33
.. towncrier release notes start
44
5+
towncrier 21.3.0.rc1 (2021-03-21)
6+
=================================
7+
8+
Features
9+
--------
10+
11+
- Ticket number from file names will be stripped down to avoid ticket links such as ``#007``. (`#126 <https://github.com/hawkowl/towncrier/issues/126>`_)
12+
- Allow definition of the project ``version`` and ``name`` in the configuration file.
13+
This allows use of towncrier seamlessly with non-Python projects. (`#165 <https://github.com/hawkowl/towncrier/issues/165>`_)
14+
- Improve news fragment file name parsing to allow using file names like
15+
``123.feature.1.ext`` which are convenient when one wants to use an appropriate
16+
extension (e.g. ``rst``, ``md``) to enable syntax highlighting. (`#173 <https://github.com/hawkowl/towncrier/issues/173>`_)
17+
- The new ``--edit`` option of the ``create`` subcommand launches an editor for entering the contents of the newsfragment. (`#275 <https://github.com/hawkowl/towncrier/issues/275>`_)
18+
- CPython 3.8 and 3.9 are now part of our automated test matrix and are officially supported. (`#291 <https://github.com/hawkowl/towncrier/issues/291>`_)
19+
- When searching for the project, first check for an existing importable instance.
20+
This helps if the version is only available in the installed version and not the source. (`#297 <https://github.com/hawkowl/towncrier/issues/297>`_)
21+
- Support building with PEP 517. (`#314 <https://github.com/hawkowl/towncrier/issues/314>`_)
22+
23+
24+
Bugfixes
25+
--------
26+
27+
- Configuration errors found during command line execution now trigger a message to stderr and no longer show a traceback. (`#84 <https://github.com/hawkowl/towncrier/issues/84>`_)
28+
- A configuration error is triggered when the newsfragment files couldn't be discovered. (`#85 <https://github.com/hawkowl/towncrier/issues/85>`_)
29+
- Invoking towncrier as `python -m towncrier` works. (`#163 <https://github.com/hawkowl/towncrier/issues/163>`_)
30+
- ``check`` subcommand defaults to UTF-8 encoding when ``sys.stdout.encoding`` is ``None``.
31+
This happens, for example, with Python 2 on GitHub Actions or when the output is piped. (`#175 <https://github.com/hawkowl/towncrier/issues/175>`_)
32+
- Specifying ``title_format`` disables default top line creation to avoid duplication. (`#180 <https://github.com/hawkowl/towncrier/issues/180>`_)
33+
34+
35+
Improved Documentation
36+
----------------------
37+
38+
- The README now mentions the possibility to name the configuration file
39+
``towncrier.toml`` (in addition to ``pyproject.toml``). (`#172 <https://github.com/hawkowl/towncrier/issues/172>`_)
40+
- ``start_line`` corrected to ``start_string`` in the readme to match the long standing implementation. (`#277 <https://github.com/hawkowl/towncrier/issues/277>`_)
41+
42+
43+
Misc
44+
----
45+
46+
- `#167 <https://github.com/hawkowl/towncrier/issues/167>`_, `#279 <https://github.com/hawkowl/towncrier/issues/279>`_, `#286 <https://github.com/hawkowl/towncrier/issues/286>`_, `#287 <https://github.com/hawkowl/towncrier/issues/287>`_, `#291 <https://github.com/hawkowl/towncrier/issues/291>`_, `#293 <https://github.com/hawkowl/towncrier/issues/293>`_, `#295 <https://github.com/hawkowl/towncrier/issues/295>`_, `#299 <https://github.com/hawkowl/towncrier/issues/299>`_, `#305 <https://github.com/hawkowl/towncrier/issues/305>`_, `#315 <https://github.com/hawkowl/towncrier/issues/315>`_, `#316 <https://github.com/hawkowl/towncrier/issues/316>`_, `#317 <https://github.com/hawkowl/towncrier/issues/317>`_, `#324 <https://github.com/hawkowl/towncrier/issues/324>`_, `#327 <https://github.com/hawkowl/towncrier/issues/327>`_, `#329 <https://github.com/hawkowl/towncrier/issues/329>`_, `#331 <https://github.com/hawkowl/towncrier/issues/331>`_
47+
48+
549
towncrier 19.9.0 (2021-03-20)
650
=============================
751

src/towncrier/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
from incremental import Version
99

10-
__version__ = Version("towncrier", 21, 3, 0, dev=4)
10+
__version__ = Version("towncrier", 21, 3, 0, release_candidate=1)
1111
__all__ = ["__version__"]

src/towncrier/newsfragments/126.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/towncrier/newsfragments/163.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/towncrier/newsfragments/165.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/towncrier/newsfragments/167.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/towncrier/newsfragments/172.doc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/towncrier/newsfragments/173.feature.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/towncrier/newsfragments/175.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/towncrier/newsfragments/180.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)