Skip to content

Files

Latest commit

0286f64 · Apr 7, 2025

History

History

changelog

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 21, 2024
Jan 27, 2025
Dec 18, 2024
Nov 14, 2024
Apr 2, 2025
Aug 6, 2024
Nov 6, 2024
Feb 15, 2025
Dec 7, 2024
Mar 5, 2025
Aug 11, 2024
Mar 11, 2025
Mar 1, 2025
Nov 6, 2024
Dec 1, 2024
Feb 6, 2025
Nov 18, 2024
Apr 7, 2025
Sep 7, 2024
Jan 26, 2025
Dec 1, 2024
Sep 21, 2024
Dec 13, 2024
Nov 25, 2024
Jan 2, 2025
Nov 18, 2024
Mar 1, 2025
Nov 30, 2024
Nov 18, 2024
Nov 24, 2024
Nov 30, 2024
Dec 5, 2024
Dec 21, 2024
Apr 2, 2025
Jan 24, 2025
Feb 3, 2025
Jan 14, 2025
Jan 20, 2025
Feb 8, 2025
Mar 29, 2025
Mar 29, 2025
Mar 29, 2025
Apr 4, 2025
Feb 15, 2025
Mar 1, 2025
Mar 9, 2025
Mar 1, 2025
Mar 13, 2025
Mar 22, 2025
Apr 3, 2025
Oct 9, 2024
Jul 29, 2024
Jul 29, 2024
Aug 1, 2024
Feb 8, 2025
Apr 7, 2025
Oct 9, 2024
Jun 21, 2024
Jul 7, 2018

This directory contains "newsfragments" which are short files that contain a small ReST-formatted text that will be added to the next CHANGELOG.

The CHANGELOG will be read by users, so this description should be aimed to pytest users instead of describing internal changes which are only relevant to the developers.

Make sure to use full sentences in the past or present tense and use punctuation, examples:

Improved verbose diff output with sequences.

Terminal summary statistics now use multiple colors.

Each file should be named like <ISSUE>.<TYPE>.rst, where <ISSUE> is an issue number, and <TYPE> is one of:

  • feature: new user facing features, like new command-line options and new behavior.
  • improvement: improvement of existing functionality, usually without requiring user intervention (for example, new fields being written in --junit-xml, improved colors in terminal, etc).
  • bugfix: fixes a bug.
  • doc: documentation improvement, like rewording an entire session or adding missing docs.
  • deprecation: feature deprecation.
  • breaking: a change which may break existing suites, such as feature removal or behavior change.
  • vendor: changes in packages vendored in pytest.
  • packaging: notes for downstreams about unobvious side effects and tooling. changes in the test invocation considerations and runtime assumptions.
  • contrib: stuff that affects the contributor experience. e.g. Running tests, building the docs, setting up the development environment.
  • misc: changes that are hard to assign to any of the above categories.

So for example: 123.feature.rst, 456.bugfix.rst.

Tip

See :file:`pyproject.toml` for all available categories (tool.towncrier.type).

If your PR fixes an issue, use that number here. If there is no issue, then after you submit the PR and get the PR number you can add a changelog using that instead.

If you are not sure what issue type to use, don't hesitate to ask in your PR.

towncrier preserves multiple paragraphs and formatting (code blocks, lists, and so on), but for entries other than features it is usually better to stick to a single paragraph to keep it concise.

You can also run tox -e docs to build the documentation with the draft changelog (doc/en/_build/html/changelog.html) if you want to get a preview of how your change will look in the final release notes.