New
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
testRunStartedIdfor full changes and expectations of what will be new check the messages (luke-hill) - Updated
cucumber-compatibility-kitto 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
pendingsteps 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_autoloaderthat 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
StepDefinitionLightassociated methods. The class itself is present but deprecatedWebrickProc 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)