Skip to content

v2.0.5

Choose a tag to compare

@ptrthomas ptrthomas released this 24 Apr 10:29
· 435 commits to main since this release

Important Fixes

  • call to a feature with isolated scope now preserves functions inherited from the calling scope #2805
  • Closures resolve via lexical scope across call boundaries #2802
  • scenarioName filter no longer leaks into called features #2804
  • Top-level semicolon scan now tracks (), {}, [] depth — fixes spurious splits in multi-statement script() payloads #2803
  • W3cDriver multi-statement scripts no longer lose everything after the first statement #2803
  • beforeScenario / afterScenario hooks are skipped for called features (matches documented hook scope)
  • waitUntil now routes JS callables through Supplier, and JsFunction.toString() returns a stable form
  • Redundant exists() re-check skipped after verified element actions
  • Console summary now shows the failed Gherkin source line
  • JSONL feature/scenario events now carry callDepth, error, skipped

New Features & Enhancements

  • Broad JS engine compatibility and error-reporting improvements, backed by a new karate-js-test262 conformance harness #2800
  • JSONL run records now live-tail during execution and the partial file is preserved on abort
  • Per-target url / title / active exposed via CdpDriver.getTargetInfos
  • Tag selector that excludes every scenario in a feature now pre-filters the whole feature

View the complete list of all issues fixed in this release.

Full Changelog: v2.0.4...v2.0.5

Important: refer 2.0.0 release notes for those upgrading from 1.X

Artifacts