@@ -372,44 +372,74 @@ 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"
377- name = " Breaking Changes "
385+ name = " Removals and backward incompatible breaking changes "
378386showcontent = true
379387
380388[[tool .towncrier .type ]]
389+ # Declarations of future API removals and breaking changes in behavior.
381390directory = " deprecation"
382- name = " Deprecations"
391+ name = " Deprecations (removal in next major release) "
383392showcontent = true
384393
385394[[tool .towncrier .type ]]
395+ # New behaviors, public APIs. That sort of stuff.
386396directory = " feature"
387- name = " Features "
397+ name = " New features "
388398showcontent = true
389399
390400[[tool .towncrier .type ]]
401+ # New behaviors in existing features.
391402directory = " improvement"
392- name = " Improvements"
403+ name = " Improvements in existing functionality "
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"
397- name = " Bug Fixes "
410+ name = " Bug fixes "
398411showcontent = true
399412
400413[[tool .towncrier .type ]]
414+ # Updates regarding bundling dependencies.
401415directory = " vendor"
402- name = " Vendored Libraries "
416+ name = " Vendored libraries "
403417showcontent = true
404418
405419[[tool .towncrier .type ]]
420+ # Notable updates to the documentation structure or build process.
406421directory = " doc"
407- name = " Improved Documentation"
422+ name = " Improved documentation"
423+ showcontent = true
424+
425+ [[tool .towncrier .type ]]
426+ # Notes for downstreams about unobvious side effects and tooling. Changes
427+ # in the test invocation considerations and runtime assumptions.
428+ directory = " packaging"
429+ name = " Packaging updates and notes for downstreams"
430+ showcontent = true
431+
432+ [[tool .towncrier .type ]]
433+ # Stuff that affects the contributor experience. e.g. Running tests,
434+ # building the docs, setting up the development environment.
435+ directory = " contrib"
436+ name = " Contributor-facing changes"
408437showcontent = true
409438
410439[[tool .towncrier .type ]]
411- directory = " trivial"
412- name = " Trivial/Internal Changes"
440+ # Changes that are hard to assign to any of the above categories.
441+ directory = " misc"
442+ name = " Miscellaneous internal changes"
413443showcontent = true
414444
415445[tool .mypy ]
0 commit comments