Releases: cucumber/cucumber-ruby
v9.0.0
v8.0.0
Added
- Add a WARNING message when using a space-separated string with cucumber_opts
(PR#
Issue#1614) - Add support for TruffleRuby
(PR#1612
gogainda) - Add support for named hooks
(PR#1636)
Fixed
v8.0.0.RC.1
Fixed
- Fix TestRunFinished success property in html formatter and all formatters
based on the messages: it now returns true if the run has passed
(PR#1606
Issue#1604) - Fix usage of namespaced modules across multiple scenarios
(PR#1603
Issue#1595) - Do not serialize Messages::Hook#tag_expression if it is empty.
(PR#1579) - JSON Formatter uses "pretty" output format
(PR#1580) - Fixed JSON Formatter "end of background" detection.
(PR#1580) - Fixed JSON Formatter expansion of Scenario Outline templates in Doc Strings.
(PR#1580) - Removed usage of
evalinCucumber::Term::ANSIColorandCucumber::Formatter::ANSIColor.
(PR#1589
Issue#1583) - Fixed
DataTable#map_headerswhen headers have the same prefix.
(PR#1598
Issue#1450)
Changed
- Replace dependency cucumber-create-meta
with the new cucumber-ci-environment
(PR#1601) - In
DataTable#map_column, Changed thestrictargument into a keyword argument.
See UPGRADING.md.
(PR#1594
Issue#1592) - Added Ruby 3.1
(PR#1607)
Removed
AfterConfigurationhas been removed. Please useInstallPluginorBeforeAllinstead.
See the UPGRADING.md to update your code accordingly.
(PR#1591)- The built-in Wire protocol
The Wire protocol is still officially supported, but as an optional plugin rather
than a built-in feature. See the
UPGRADING.md
to update your code accordingly. - Removed former unused
stdinargument fromCli::Main. That may impact your code
if you use cucumber APICucumber::Cli::Main. See UPGRADING.md.
(PR#1588
Issue#1581) - Removed
DataTable#map_column!andDataTable#map_headers!.
Those methods were error-prone and planned to be removed a long time ago. You
can use the immutable versions instead:DataTable#map_columnand
DataTable#map_headers.
(PR#1590
Issue#1584) - Removed support for Ruby 2.5 and JRuby 9.2.
v7.1.0
Added
-
New
BeforeAllandAfterAllhooksMore information about hooks can be found in
features/docs/writing_support_code/hooks/README.md. -
New hook:
InstallPluginIt is intended to be used to install an external plugin, like cucumber-ruby-wire.
It is fired just after the
AfterConfigurationone. Two parameters are given:
the sameconfigurationinstance that is given toAfterConfiguration,
and aregistry_wrapperwhich allows
plugins to have access to specific internal methods.See cucumber-ruby-wire for a
usage example.More information about hooks can be found in
features/docs/writing_support_code/hooks/README.md.
Changed
- Added release dates to CHANGELOG.md.
(1543
AudTheCodeWitch)
Deprecated
-
AfterConfigurationis deprecated. Please useInstallPluginorBeforeAllinstead.
See the UPGRADING.md to update your code accordingly.
(1570) -
The built-in Wire protocol
The Wire protocol is still officially supported, but as an optional plugin rather
than a built-in feature. See the
UPGRADING.md
to update your code accordingly.
Known issue
- There is a known issue with JRuby 9.3. For more info, see
PR#1571.