Skip to content

Commit

Permalink
Merge pull request #740 from pytest-dev/version-8
Browse files Browse the repository at this point in the history
Bump version to v8.0.0
  • Loading branch information
youtux authored Nov 14, 2024
2 parents 8f9df7c + 99017b8 commit 93e446e
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 20 deletions.
97 changes: 78 additions & 19 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,33 +1,92 @@
Changelog
=========

All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

Unreleased
----------
- Dropped support for python 3.8. Supported python versions: 3.9, 3.10, 3.11, 3.12, 3.13.
- Text after the `#` character is no longer stripped from the Scenario and Feature name.
- 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).
- Added localization support. The language of the feature file can be specified using the `# language: <language>` directive at the beginning of the file.
- Rule keyword can be used in feature files (see `Rule <https://cucumber.io/docs/gherkin/reference/#rule>`)
- Multiple example tables supported
- Added filtering by tags against example tables

Added
+++++

Changed
+++++++

Deprecated
++++++++++

Removed
+++++++

Fixed
+++++

Security
++++++++


[8.0.0] - 2024-11-14
----------

Added
+++++
* 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).
* Added localization support. The language of the feature file can be specified using the `# language: <language>` directive at the beginning of the file.
* Rule keyword can be used in feature files (see `Rule <https://cucumber.io/docs/gherkin/reference/#rule>`_)
* Added support for multiple example tables
* Added filtering by tags against example tables
* Since the 7.x series:
* Tags can now be on multiple lines (stacked)
* Continuation of steps using asterisks (``*``) instead of ``And``/``But`` supported.
* Added ``datatable`` argument for steps that contain a datatable (see `Data Tables <https://cucumber.io/docs/gherkin/reference/#data-tables>`_).
* Added ``docstring`` argument for steps that contain a docstring (see `Doc Strings <https://cucumber.io/docs/gherkin/reference/#doc-strings>`_).

Changed
+++++++
* Changelog format updated to follow `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`_.
* Text after the ``#`` character is no longer stripped from the Scenario and Feature name.
* Since the 7.x series:

* 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.
* Multiline steps must now always use triple-quotes for the additional lines.
* All feature files must now use the keyword ``Feature:`` to be considered valid.
* Tags can no longer have spaces (e.g. ``@tag one`` and ``@tag two`` are no longer valid).
* Text after the ``#`` character is no longer stripped from the Step name.
* Multiline strings no longer match name based on multiple lines - only on the actual step text on the step line.

Removed
+++++++
* Dropped support for python 3.8. Supported python versions: 3.9, 3.10, 3.11, 3.12, 3.13.
* Since the 7.x series:

* Drop compatibility with pytest < 7.0.0.

Fixed
+++++
* Since the 7.x series:

* Updated documentation to clarify that ``--gherkin-terminal-reporter`` needs to be used with ``-v`` or ``-vv``.

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

8.0.0b1
----------
- Use `gherkin-official` parser to replace custom parsing logic. This will make pytest-bdd more compatible with the Gherkin specification.
- Multiline steps must now always use triple-quotes for the additional lines.
- All feature files must now use the keyword `Feature:` to be considered valid.
- Tags can no longer have spaces (e.g. "@tag one" and "@tag two" are no longer valid).
- Tags can now be on multiple lines (stacked)
- Text after the `#` character is no longer stripped from the Step name.
* 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.
* Multiline steps must now always use triple-quotes for the additional lines.
* All feature files must now use the keyword ``Feature:`` to be considered valid.
* Tags can no longer have spaces (e.g. ``@tag one`` and ``@tag two`` are no longer valid).
* Tags can now be on multiple lines (stacked)
* Text after the ``#`` character is no longer stripped from the Step name.

7.3.0
----------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytest-bdd"
version = "8.0.0b2"
version = "8.0.0"
description = "BDD for pytest"
authors = ["Oleg Pidsadnyi <[email protected]>", "Anatoly Bubenkov <[email protected]>"]
maintainers = ["Alessio Bogon <[email protected]>"]
Expand Down

0 comments on commit 93e446e

Please sign in to comment.