Skip to content

Commit 93e446e

Browse files
authored
Merge pull request #740 from pytest-dev/version-8
Bump version to v8.0.0
2 parents 8f9df7c + 99017b8 commit 93e446e

File tree

2 files changed

+79
-20
lines changed

2 files changed

+79
-20
lines changed

CHANGES.rst

Lines changed: 78 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,92 @@
11
Changelog
22
=========
33

4+
All notable changes to this project will be documented in this file.
5+
6+
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`_,
7+
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
8+
49
Unreleased
510
----------
6-
- Dropped support for python 3.8. Supported python versions: 3.9, 3.10, 3.11, 3.12, 3.13.
7-
- Text after the `#` character is no longer stripped from the Scenario and Feature name.
8-
- Gherkin keyword aliases can now be used and correctly reported in json and terminal output (see `Keywords <https://cucumber.io/docs/gherkin/reference/#keywords>` for permitted list).
9-
- Added localization support. The language of the feature file can be specified using the `# language: <language>` directive at the beginning of the file.
10-
- Rule keyword can be used in feature files (see `Rule <https://cucumber.io/docs/gherkin/reference/#rule>`)
11-
- Multiple example tables supported
12-
- Added filtering by tags against example tables
11+
12+
Added
13+
+++++
14+
15+
Changed
16+
+++++++
17+
18+
Deprecated
19+
++++++++++
20+
21+
Removed
22+
+++++++
23+
24+
Fixed
25+
+++++
26+
27+
Security
28+
++++++++
29+
30+
31+
[8.0.0] - 2024-11-14
32+
----------
33+
34+
Added
35+
+++++
36+
* Gherkin keyword aliases can now be used and correctly reported in json and terminal output (see `Keywords <https://cucumber.io/docs/gherkin/reference/#keywords>`_ for permitted list).
37+
* Added localization support. The language of the feature file can be specified using the `# language: <language>` directive at the beginning of the file.
38+
* Rule keyword can be used in feature files (see `Rule <https://cucumber.io/docs/gherkin/reference/#rule>`_)
39+
* Added support for multiple example tables
40+
* Added filtering by tags against example tables
41+
* Since the 7.x series:
42+
* Tags can now be on multiple lines (stacked)
43+
* Continuation of steps using asterisks (``*``) instead of ``And``/``But`` supported.
44+
* Added ``datatable`` argument for steps that contain a datatable (see `Data Tables <https://cucumber.io/docs/gherkin/reference/#data-tables>`_).
45+
* Added ``docstring`` argument for steps that contain a docstring (see `Doc Strings <https://cucumber.io/docs/gherkin/reference/#doc-strings>`_).
46+
47+
Changed
48+
+++++++
49+
* Changelog format updated to follow `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`_.
50+
* Text after the ``#`` character is no longer stripped from the Scenario and Feature name.
51+
* Since the 7.x series:
52+
53+
* Use the `gherkin-official <https://pypi.org/project/gherkin-official/>`_ parser, replacing the custom parsing logic. This will make pytest-bdd more compatible with the Gherkin specification.
54+
* Multiline steps must now always use triple-quotes for the additional lines.
55+
* All feature files must now use the keyword ``Feature:`` to be considered valid.
56+
* Tags can no longer have spaces (e.g. ``@tag one`` and ``@tag two`` are no longer valid).
57+
* Text after the ``#`` character is no longer stripped from the Step name.
58+
* Multiline strings no longer match name based on multiple lines - only on the actual step text on the step line.
59+
60+
Removed
61+
+++++++
62+
* Dropped support for python 3.8. Supported python versions: 3.9, 3.10, 3.11, 3.12, 3.13.
63+
* Since the 7.x series:
64+
65+
* Drop compatibility with pytest < 7.0.0.
66+
67+
Fixed
68+
+++++
69+
* Since the 7.x series:
70+
71+
* Updated documentation to clarify that ``--gherkin-terminal-reporter`` needs to be used with ``-v`` or ``-vv``.
1372

1473
8.0.0b2
1574
----------
16-
- Update documentation to clarify that `--gherkin-terminal-reporter` needs to be used with `-v` or `-vv`.
17-
- Drop compatibility with pytest < 7.0.0.
18-
- Continuation of steps using asterisks instead of And/But supported.
19-
- Added `datatable` argument for steps that contain a datatable (see `Data Tables <https://cucumber.io/docs/gherkin/reference/#data-tables>`).
20-
- Added `docstring` argument for steps that contain a docstring (see `Doc Strings <https://cucumber.io/docs/gherkin/reference/#doc-strings>`).
21-
- Multiline strings no longer match name based on multiple lines - only on the actual step text on the step line.
75+
* Updated documentation to clarify that ``--gherkin-terminal-reporter`` needs to be used with ``-v`` or ``-vv``.
76+
* Drop compatibility with pytest < 7.0.0.
77+
* Continuation of steps using asterisks instead of And/But supported.
78+
* Added ``datatable`` argument for steps that contain a datatable (see `Data Tables <https://cucumber.io/docs/gherkin/reference/#data-tables>`_).
79+
* Added ``docstring`` argument for steps that contain a docstring (see `Doc Strings <https://cucumber.io/docs/gherkin/reference/#doc-strings>`_).
80+
* Multiline strings no longer match name based on multiple lines - only on the actual step text on the step line.
2281

2382
8.0.0b1
2483
----------
25-
- Use `gherkin-official` parser to replace custom parsing logic. This will make pytest-bdd more compatible with the Gherkin specification.
26-
- Multiline steps must now always use triple-quotes for the additional lines.
27-
- All feature files must now use the keyword `Feature:` to be considered valid.
28-
- Tags can no longer have spaces (e.g. "@tag one" and "@tag two" are no longer valid).
29-
- Tags can now be on multiple lines (stacked)
30-
- Text after the `#` character is no longer stripped from the Step name.
84+
* Use the `gherkin-official <https://pypi.org/project/gherkin-official/>`_ parser, replacing the custom parsing logic. This will make pytest-bdd more compatible with the Gherkin specification.
85+
* Multiline steps must now always use triple-quotes for the additional lines.
86+
* All feature files must now use the keyword ``Feature:`` to be considered valid.
87+
* Tags can no longer have spaces (e.g. ``@tag one`` and ``@tag two`` are no longer valid).
88+
* Tags can now be on multiple lines (stacked)
89+
* Text after the ``#`` character is no longer stripped from the Step name.
3190

3291
7.3.0
3392
----------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pytest-bdd"
3-
version = "8.0.0b2"
3+
version = "8.0.0"
44
description = "BDD for pytest"
55
authors = ["Oleg Pidsadnyi <[email protected]>", "Anatoly Bubenkov <[email protected]>"]
66
maintainers = ["Alessio Bogon <[email protected]>"]

0 commit comments

Comments
 (0)