test_ok2/changelog
Bruno Oliveira 93c2cdf6d6
cherry-pick release-8.1.2 (#12252)
(cherry picked from commit 7df3dbc545b4b4deb2148683cd02f774b2d19fd8)
2024-04-26 15:25:44 -03:00
..
1489.bugfix.rst Don't add fixture finalizer if the value is cached (#11833) 2024-03-16 23:45:56 +02:00
9502.improvement.rst Add PYTEST_VERSION environment variable (#12190) 2024-04-18 07:45:47 -03:00
11523.improvement.rst Changed importError to ModuleNotFoundError (#12220) 2024-04-26 09:48:57 +02:00
11777.improvement.rst short test summary: do not truncate text when -vv is given 2024-04-10 08:07:18 -03:00
11871.feature.rst Parse args from file (#12085) 2024-03-09 08:51:52 +02:00
12065.bugfix.rst python: fix instance handling in static and class method tests 2024-03-09 19:35:54 +02:00
12069.deprecation.rst hookspec: deprecate hookimpls requesting py.path parameters 2024-04-21 11:37:56 +03:00
12069.trivial.rst hookspec: deprecate hookimpls requesting py.path parameters 2024-04-21 11:37:56 +03:00
12112.improvement.rst Refine how we detect namespace packages (#12169) 2024-04-09 13:21:51 -03:00
12135.bugfix.rst Don't reregister subfixture finalizer in requested fixture if value is cached (#12136) 2024-03-31 15:02:09 +03:00
12167.trivial.rst Initialize cache directory in isolation 2024-04-03 16:26:43 +01:00
12194.bugfix.rst importlib: set children as attribute of parent modules (#12208) 2024-04-20 11:31:33 +00:00
README.rst Use hyphenated cmdline options in docs (#11490) 2023-10-10 21:16:24 +00:00
_template.rst Update CHANGELOG template to put issue links at the start of entries 2018-07-07 11:02:33 -03:00

README.rst

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.
* ``trivial``: fixing a small typo or internal change that might be noteworthy.

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

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.