Skip to content

v2.0.6

Choose a tag to compare

@ptrthomas ptrthomas released this 29 Apr 07:25
· 310 commits to main since this release

Important Fixes

  • karate.call() / karate.callonce() accepts array/List arguments again (loop-call) #2806
  • AssertionError inside a feature called via karate.call() now propagates to the parent #2816
  • PooledDriverProvider no longer hangs when a called feature has multiple UI scenarios #2817
  • java.time expressions (e.g. java.time.ZonedDateTime.now(...)) evaluate correctly instead of returning null #2815
  • Hyphenated keys (Content-Type, Idempotency-Key) in inline maps now parse cleanly #2814
  • Unquoted embedded expressions inside doc-string JSON (e.g. #(id)) no longer misroute through JavaScript #2813
  • karate.read() with a dynamically built classpath: path no longer NPEs when invoked via callSingle in karate-config.js #2811
  • JUnit XML tag-property format restored to the v1 shape — per-tag <property> entries, Xray-aligned #2818
  • Driver getVisibleText and shadow-DOM text extraction no longer leak hidden content (full ancestor-chain visibility check applied to the root element too)
  • Logging configuration unified under configure logging; @report=false behavior restored, with docs corrected #2810

New Features & Enhancements

  • beforeScenario / afterScenario activity now appears in the HTML report #2809
  • element.closest(selector) and element.matches(selector) for selector-based traversal (alongside the restored element.parent)
  • Continued JS-engine spec-conformance work via the karate-js-test262 harness — broader coverage of optional chaining, nullish coalescing, BigInt, Map/Set, Date, Function/Reflect, and Array/Object intrinsics

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

Full Changelog: v2.0.5...v2.0.6

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

Artifacts