From 21fb32ec1f1d6090af21756ac66eb094acf84db5 Mon Sep 17 00:00:00 2001 From: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> Date: Mon, 10 Oct 2022 09:09:31 +0200 Subject: Add "breaking change" and "user action" fragment types (#7588) Co-authored-by: Pierre Sassoulas --- towncrier.toml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'towncrier.toml') diff --git a/towncrier.toml b/towncrier.toml index b25b28298..89853e2b1 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -7,9 +7,20 @@ issue_format = "`#{issue} `_" wrap = true # Definition of fragment types. -# TODO: with the next towncrier release (21.9.1) it will be possible to define -# custom types as toml tables: -# https://github.com/twisted/towncrier#further-options +# We want the changelog to show in the same order as the fragment types +# are defined here. Therefore we have to use the array-style fragment definition. +# The table-style definition, although more concise, would be sorted alphabetically. +# https://github.com/twisted/towncrier/issues/437 +[[tool.towncrier.type]] +directory = "breaking" +name = "Breaking Changes" +showcontent = true + +[[tool.towncrier.type]] +directory = "user_action" +name = "Changes requiring user actions" +showcontent = true + [[tool.towncrier.type]] directory = "new_check" name = "New Checks" -- cgit v1.2.1