From f031dfa94e52e07b6c71e88cd5cd50e3803ad96c Mon Sep 17 00:00:00 2001 From: Adi Roiban Date: Sun, 28 Aug 2022 20:30:06 +0100 Subject: [PATCH] towncrier build --yes --- NEWS.rst | 45 +++++++++++++++++++++ src/towncrier/_version.py | 2 +- src/towncrier/newsfragments/105.bugfix.rst | 1 - src/towncrier/newsfragments/292.misc.rst | 0 src/towncrier/newsfragments/330.misc | 0 src/towncrier/newsfragments/337.feature.rst | 5 --- src/towncrier/newsfragments/342.doc.rst | 1 - src/towncrier/newsfragments/366.misc.rst | 1 - src/towncrier/newsfragments/367.doc.rst | 1 - src/towncrier/newsfragments/369.feature.rst | 2 - src/towncrier/newsfragments/374.feature.rst | 2 - src/towncrier/newsfragments/376.misc.rst | 0 src/towncrier/newsfragments/377.misc.rst | 0 src/towncrier/newsfragments/378.removal.rst | 1 - src/towncrier/newsfragments/380.misc.rst | 0 src/towncrier/newsfragments/381.misc.rst | 0 src/towncrier/newsfragments/382.misc.rst | 0 src/towncrier/newsfragments/383.misc.rst | 0 src/towncrier/newsfragments/384.doc | 1 - src/towncrier/newsfragments/391.bugfix | 3 -- src/towncrier/newsfragments/393.misc.rst | 0 src/towncrier/newsfragments/399.misc.rst | 0 src/towncrier/newsfragments/402.misc.rst | 0 23 files changed, 46 insertions(+), 19 deletions(-) delete mode 100644 src/towncrier/newsfragments/105.bugfix.rst delete mode 100644 src/towncrier/newsfragments/292.misc.rst delete mode 100644 src/towncrier/newsfragments/330.misc delete mode 100644 src/towncrier/newsfragments/337.feature.rst delete mode 100644 src/towncrier/newsfragments/342.doc.rst delete mode 100644 src/towncrier/newsfragments/366.misc.rst delete mode 100644 src/towncrier/newsfragments/367.doc.rst delete mode 100644 src/towncrier/newsfragments/369.feature.rst delete mode 100644 src/towncrier/newsfragments/374.feature.rst delete mode 100644 src/towncrier/newsfragments/376.misc.rst delete mode 100644 src/towncrier/newsfragments/377.misc.rst delete mode 100644 src/towncrier/newsfragments/378.removal.rst delete mode 100644 src/towncrier/newsfragments/380.misc.rst delete mode 100644 src/towncrier/newsfragments/381.misc.rst delete mode 100644 src/towncrier/newsfragments/382.misc.rst delete mode 100644 src/towncrier/newsfragments/383.misc.rst delete mode 100644 src/towncrier/newsfragments/384.doc delete mode 100644 src/towncrier/newsfragments/391.bugfix delete mode 100644 src/towncrier/newsfragments/393.misc.rst delete mode 100644 src/towncrier/newsfragments/399.misc.rst delete mode 100644 src/towncrier/newsfragments/402.misc.rst diff --git a/NEWS.rst b/NEWS.rst index 19dec02a..8a4cc53f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -2,6 +2,51 @@ .. towncrier release notes start +towncrier 22.8.0.rc1 (2022-08-28) +================================= + +Features +-------- + +- Make the check subcommand succeed for branches that change the news file + + This should enable the ``check`` subcommand to be used as a CI lint step and + not fail when a pull request only modifies the configured news file (i.e. when + the news file is being assembled for the next release). (`#337 `_) +- Added support to tables in toml settings, which provides a more intuitive + way to configure custom types. (`#369 `_) +- The `towncrier create` command line now has a new `-m TEXT` argument that is used to define the content of the newly created fragment. (`#374 `_) + + +Bugfixes +-------- + +- The extra newline between the title and rendered content when using ``--draft`` is no longer inserted. (`#105 `_) +- The detection of duplicate release notes was fixed and recording changes of same version is no longer triggered. + + Support for having the release notes for each version in a separate file is working again. This is a regression introduced in VERSION 19.9.0rc1. (`#391 `_) + + +Improved Documentation +---------------------- + +- Improve ``CONTRIBUTING.rst`` and add PR template. (`#342 `_) +- Move docs too the main branch and document custom fragment types. (`#367 `_) +- The CLI help messages were updated to contain more information. (`#384 `_) + + +Deprecations and Removals +------------------------- + +- Support for all Python versions older than 3.7 has been dropped. (`#378 `_) + + +Misc +---- + +- `#292 `_, `#330 `_, `#366 `_, `#376 `_, `#377 `_, `#380 `_, `#381 `_, `#382 `_, `#383 `_, `#393 `_, `#399 `_, `#402 `_ + + towncrier 21.9.0 (2022-02-04) ============================= diff --git a/src/towncrier/_version.py b/src/towncrier/_version.py index 11115e27..4f9f7e6f 100644 --- a/src/towncrier/_version.py +++ b/src/towncrier/_version.py @@ -8,5 +8,5 @@ from incremental import Version -__version__ = Version("towncrier", 21, 9, 1, dev=0) +__version__ = Version("towncrier", 22, 8, 0, release_candidate=1) __all__ = ["__version__"] diff --git a/src/towncrier/newsfragments/105.bugfix.rst b/src/towncrier/newsfragments/105.bugfix.rst deleted file mode 100644 index 2cfc7fe6..00000000 --- a/src/towncrier/newsfragments/105.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The extra newline between the title and rendered content when using ``--draft`` is no longer inserted. diff --git a/src/towncrier/newsfragments/292.misc.rst b/src/towncrier/newsfragments/292.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/330.misc b/src/towncrier/newsfragments/330.misc deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/337.feature.rst b/src/towncrier/newsfragments/337.feature.rst deleted file mode 100644 index 115c779e..00000000 --- a/src/towncrier/newsfragments/337.feature.rst +++ /dev/null @@ -1,5 +0,0 @@ -Make the check subcommand succeed for branches that change the news file - -This should enable the ``check`` subcommand to be used as a CI lint step and -not fail when a pull request only modifies the configured news file (i.e. when -the news file is being assembled for the next release). diff --git a/src/towncrier/newsfragments/342.doc.rst b/src/towncrier/newsfragments/342.doc.rst deleted file mode 100644 index 49e7f148..00000000 --- a/src/towncrier/newsfragments/342.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Improve ``CONTRIBUTING.rst`` and add PR template. diff --git a/src/towncrier/newsfragments/366.misc.rst b/src/towncrier/newsfragments/366.misc.rst deleted file mode 100644 index 2eb712b2..00000000 --- a/src/towncrier/newsfragments/366.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Update the project URLs for the package, to point to current resources. diff --git a/src/towncrier/newsfragments/367.doc.rst b/src/towncrier/newsfragments/367.doc.rst deleted file mode 100644 index 613c83b4..00000000 --- a/src/towncrier/newsfragments/367.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Move docs too master branch and document custom fragment types. diff --git a/src/towncrier/newsfragments/369.feature.rst b/src/towncrier/newsfragments/369.feature.rst deleted file mode 100644 index 6f1816e0..00000000 --- a/src/towncrier/newsfragments/369.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added support to tables in toml settings, which provides a more intuitive -way to configure custom types. diff --git a/src/towncrier/newsfragments/374.feature.rst b/src/towncrier/newsfragments/374.feature.rst deleted file mode 100644 index db4197fd..00000000 --- a/src/towncrier/newsfragments/374.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ - -The `towncrier create` command line now has a new `-m TEXT` argument that is used to define the content of the newly created fragment. diff --git a/src/towncrier/newsfragments/376.misc.rst b/src/towncrier/newsfragments/376.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/377.misc.rst b/src/towncrier/newsfragments/377.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/378.removal.rst b/src/towncrier/newsfragments/378.removal.rst deleted file mode 100644 index 654596b3..00000000 --- a/src/towncrier/newsfragments/378.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Support for all Python versions older than 3.7 has been dropped. diff --git a/src/towncrier/newsfragments/380.misc.rst b/src/towncrier/newsfragments/380.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/381.misc.rst b/src/towncrier/newsfragments/381.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/382.misc.rst b/src/towncrier/newsfragments/382.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/383.misc.rst b/src/towncrier/newsfragments/383.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/384.doc b/src/towncrier/newsfragments/384.doc deleted file mode 100644 index 49e9c008..00000000 --- a/src/towncrier/newsfragments/384.doc +++ /dev/null @@ -1 +0,0 @@ -The CLI help messages were updated to contain more information. diff --git a/src/towncrier/newsfragments/391.bugfix b/src/towncrier/newsfragments/391.bugfix deleted file mode 100644 index d55ec2de..00000000 --- a/src/towncrier/newsfragments/391.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -The detection of duplicate release notes was fixed and recording changes of same version is no longer triggered. - -Support for having the release notes for each version in a separate file is working again. This is regression introduced in VERSION 19.9.0rc1. diff --git a/src/towncrier/newsfragments/393.misc.rst b/src/towncrier/newsfragments/393.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/399.misc.rst b/src/towncrier/newsfragments/399.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/src/towncrier/newsfragments/402.misc.rst b/src/towncrier/newsfragments/402.misc.rst deleted file mode 100644 index e69de29b..00000000