Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to v8.0.0 #740

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading