Releases: cucumber/cucumber-ruby
Releases · cucumber/cucumber-ruby
v10.0.0
Changed
- Added dependencies that will no longer be part of the ruby stdlib (jeromeag)
- NB: This change has also facilitated a tweak to some output messages to include new fields such as
testRunStartedId
for full changes and expectations of what will be new check the messages
(luke-hill) - Updated
cucumber-compatibility-kit
to v18 - Changed compatibility testing to fully lean on external assets instead of duplicating them (luke-hill)
- Permit usage of latest versions of all cucumber internal gems
- The auto-generation of all placeholder
pending
steps has been refactored (There should be no visible changes
but the code is now refactored to work using newer ruby standards) - The
#text?
method for checking Differences in multi-line text is now deprecated (Users
should lean on an appropriate testing library for this) Cucumber.use_legacy_autoloader
that was intended as a stop-gap for v4/v5 is now deprecated (People
that need to rely on procedural loading / reloading of files should use method invocations) (luke-hill)- The backtrace filtering logic has been changed (There should be no visible changes but the code is now
refactored to use newer, less procedural ruby)
Fixed
- Fixed an issue where a change to one example in compatibility testing wasn't fully adhered to (luke-hill)
- Fixed Ruby 3.4+ issue where error backtraces weren't being formatted. (#1771 orien)
- Fix some problematic specs that were leaking state and showcasing an issue on JRuby (#1783 luke-hill)
Removed
StepDefinitionLight
associated methods. The class itself is present but deprecatedWebrick
Proc handling aliases that were long redundant- Associated legacy scripts for updating dependencies that are no longer used
- Tag Expressions using legacy syntax that were handled / sanitized are no longer done so
(This applies to both regular usage and internal testing) - Removed support for Ruby 2.7 and 3.0 (Minimum ruby is now 3.1) (luke-hill)
- Unindentation support for snippet generator / tests (Heredocs are much better now) (luke-hill)
v9.2.1
v9.2.0
v9.1.2
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
v9.1.0
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 typeFAILED
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 aLocation
message -> for where the ParameterTypetransformer
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
v9.0.2
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
v9.0.1
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)