Skip to content

Releases: cucumber/cucumber-ruby

v9.2.0

19 Mar 09:47
Compare
Choose a tag to compare

Changed

  • Updated cucumber dependencies (Specifically cucumber-core) (luke-hill)
  • Uncoupled a lot of dual-responsibility complexity in HTTP classes (Specifically the builders/parsers)
    (#1752 luke-hill)

Removed

  • Some legacy JRuby local testing profiles are now removed (luke-hill)

v9.1.2

23 Jan 17:01
Compare
Choose a tag to compare

Added

Changed

  • Moved all CCK step definition/miscellaneous file logic from CCK gem to this repo.
    All logic contained in compatibility (luke-hill)
  • Cleared up a few Layout/Linting cop offenses (#1750 luke-hill)

Fixed

  • Fix a situation whereby the step definition message will omit the parameter-type name when it cannot be inferred
    (This fixes an issue in cucumber-wire when passing legacy steps down the wire)
    (#1746 luke-hill)

Removed

v9.1.1

04 Jan 11:50
Compare
Choose a tag to compare

Added

Changed

  • Updated dependencies to slightly more permissive / up to date versions (luke-hill)
  • Fixed most of the Layout cop offenses (luke-hill)

Fixed

Removed

  • The sample sinatra tests are no longer used in internal testing (This removes a bunch of superfluous dev gems) (#1743 luke-hill)
  • Removed all references to autotest as this is an ancient plugin that is not correctly integrated

v9.1.0

14 Nov 09:45
Compare
Choose a tag to compare

Added

Changed

  • First couple of passes of tidying up approximately 40% of the manual fix cops
    (#1739 #1740 #1741 #1742 luke-hill)
  • Removed a bunch of example files / sample projects from ancient projects no longer viable
    (#1740 luke-hill)
  • When a testStepResult is of type FAILED we now pass in a new (Exception), message property
    (#1738 luke-hill)
  • ParameterType message now contains a new (sourceReference), property
    (This contains a uri string and a Location message -> for where the ParameterType transformer is located) (#1738 luke-hill)
  • #attach now can take an optional filename parameter which will rename attachments like PDF's
    (#1738 luke-hill)

Fixed

  • Clear up a couple of tiny "nuances" that hide lots of issues when running local vs remote (Primarily CCK tests should always be runnable)
    (#1738 luke-hill)

Removed

  • Removed a variety of overrides / hacks for travis CI (No longer in use) (#1738 luke-hill)
  • Removed some legacy rspec pending flags present since cucumber 1.x (#1738 luke-hill)

v9.0.2

11 Sep 17:37
Compare
Choose a tag to compare

Changed

  • Began to tidy up (Cleared some AutoFix cops), and organise rubocop tech-debt in repo (This introduced new rubocop sub-gems) (#1716 luke-hill)
  • Gem update. Update rubocop gems to latest and increase minimum version of some cucumber sub-gems (#1732 luke-hill)
  • Rubocop update. Massively overhauled the cucumber style / rubocop expectations and began to tackle some long-standing tech-debt (#1733 luke-hill)
  • First couple of passes of tidying up approximately 15% of the autofix cops
    (#1736 #1737 luke-hill)

Removed

  • Removed a whole bunch of miscellaneous script files that are no longer used (Either in development or usage) (#1721 luke-hill)

v9.0.1

01 Sep 11:31
Compare
Choose a tag to compare

Changed

  • Update dependency of a few associated cucumber sub-gems (#1715 luke-hill)

Fixed

  • Cucumber was unable to generate the correct VERSION constant (PR#1729 luke-hill)

v9.0.0

31 Aug 15:15
Compare
Choose a tag to compare

Added

  • Add option --retry-total (#1669)

Changed

Deprecated

Fixed

  • Cucumber may raise NoMethodError when CUCUMBER_COLORS environment was set (PR#1641 s2k)

Removed

  • Removed support for Ruby 2.6 and JRuby 9.3 (PR#1699)

v8.0.0

19 May 13:35
d5e9b04
Compare
Choose a tag to compare

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

  • Use required_rubygems_version instead of rubygems_version(PR#1629)
  • Suppress RSspec deprecation warnings(PR#1631)

v8.0.0.RC.1

19 Jan 13:15
501b59b
Compare
Choose a tag to compare

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 eval in Cucumber::Term::ANSIColor and Cucumber::Formatter::ANSIColor.
    (PR#1589
    Issue#1583)
  • Fixed DataTable#map_headers when headers have the same prefix.
    (PR#1598
    Issue#1450)

Changed

Removed

  • AfterConfiguration has been removed. Please use InstallPlugin or BeforeAll instead.
    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 stdin argument from Cli::Main. That may impact your code
    if you use cucumber API Cucumber::Cli::Main. See UPGRADING.md.
    (PR#1588
    Issue#1581)
  • Removed DataTable#map_column! and DataTable#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_column and
    DataTable#map_headers.
    (PR#1590
    Issue#1584)
  • Removed support for Ruby 2.5 and JRuby 9.2.

v7.1.0

12 Oct 17:26
2dbf397
Compare
Choose a tag to compare

Added

Changed

Deprecated

  • AfterConfiguration is deprecated. Please use InstallPlugin or BeforeAll instead.
    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.

    (1564
    aurelien-reeves)

Known issue

  • There is a known issue with JRuby 9.3. For more info, see
    PR#1571.