@@ -372,42 +372,58 @@ directory = "changelog/"
372372title_format = " pytest {version} ({project_date})"
373373template = " changelog/_template.rst"
374374
375+ # NOTE: The types are declared because:
376+ # NOTE: - there is no mechanism to override just the value of
377+ # NOTE: `tool.towncrier.type.misc.showcontent`;
378+ # NOTE: - and, we want to declare extra non-default types for
379+ # NOTE: clarity and flexibility.
380+
375381[[tool .towncrier .type ]]
382+ # When something public gets removed in a breaking way. Could be
383+ # deprecated in an earlier release.
376384directory = " breaking"
377385name = " Breaking Changes"
378386showcontent = true
379387
380388[[tool .towncrier .type ]]
389+ # Declarations of future API removals and breaking changes in behavior.
381390directory = " deprecation"
382391name = " Deprecations"
383392showcontent = true
384393
385394[[tool .towncrier .type ]]
395+ # New behaviors, public APIs. That sort of stuff.
386396directory = " feature"
387397name = " Features"
388398showcontent = true
389399
390400[[tool .towncrier .type ]]
401+ # New behaviors in existing features.
391402directory = " improvement"
392403name = " Improvements"
393404showcontent = true
394405
395406[[tool .towncrier .type ]]
407+ # Something we deemed an improper undesired behavior that got corrected
408+ # in the release to match pre-agreed expectations.
396409directory = " bugfix"
397410name = " Bug Fixes"
398411showcontent = true
399412
400413[[tool .towncrier .type ]]
414+ # Updates regarding bundling dependencies.
401415directory = " vendor"
402416name = " Vendored Libraries"
403417showcontent = true
404418
405419[[tool .towncrier .type ]]
420+ # Notable updates to the documentation structure or build process.
406421directory = " doc"
407422name = " Improved Documentation"
408423showcontent = true
409424
410425[[tool .towncrier .type ]]
426+ # Changes that might not even be worth exposing to the end users.
411427directory = " trivial"
412428name = " Trivial/Internal Changes"
413429showcontent = true
0 commit comments