From 6de19ab7baf24561450302b071075296a5c1d9eb Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 23 Jun 2017 12:30:29 -0300 Subject: [PATCH] Show "trivial" category in CHANGELOG I think it might sense to display in the CHANGELOG internal or trivial changes because they might trip users between releases. For example, a note about an internal refactoring (like moving a class between modules) is useful for a user that has been using the internal API. Of course we are not breaking anything because it was an internal API, but no reason not to save time for users who did use it. --- changelog/_template.rst | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changelog/_template.rst b/changelog/_template.rst index 4f1d46d80..66c850ffd 100644 --- a/changelog/_template.rst +++ b/changelog/_template.rst @@ -6,7 +6,7 @@ {% endif %} {% if sections[section] %} -{% for category, val in definitions.items() if category in sections[section] and category != 'trivial' %} +{% for category, val in definitions.items() if category in sections[section] %} {{ definitions[category]['name'] }} {{ underline * definitions[category]['name']|length }} diff --git a/pyproject.toml b/pyproject.toml index 138fd4ce6..88571e208 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,5 +31,5 @@ template = "changelog/_template.rst" [[tool.towncrier.type]] directory = "trivial" - name = "Trivial Changes" - showcontent = false + name = "Trivial/Internal Changes" + showcontent = true