v1.4.0
Important
There are multiple security vulnerabilities in libraries that Karate depends on that are fixed in this release. If you are on an old version of Karate - it is strongly recommended that you upgrade. Refer #2148 | #2265 | #2277
Breaking Changes
The main change in this release is that Karate requires Java 11 or above. We no longer support Java 8. Otherwise there should not be any syntax or behavior changes (from Karate 1.3.X).
Note that some of the security / CVE fixes cannot be back-ported to Java 8 because they depend on Java 11.
Also note:
- JUnit 4 is no longer supported. If you were using JUnit 4, either move to the
Runner
API or JUnit 5 - The ZIP release is no longer published since the official Karate plugins provide a better quick-start experience. The stand-alone JAR is still available.
- The
karate-mock-servlet
dependency is no longer published - The old
cucumber-java
1.2.5 dependency is no longer included, refer #2214
Fix List
Here is a complete list of all issues fixed in this release.
What's Changed
- fix bug preventing 'Transparent' button from updating image diff UI by @jkeys089 in #2173
- Bump actions/cache from 2 to 3 by @dependabot in #2179
- update image-comparison example by @jkeys089 in #2185
- Enable each contains deep functionality by @vincent-hennig in #2190
- improve HTML report loading performance by @jkeys089 in #2194
- Develop by @ThierryLejeune in #2199
- improve Result details for http failure by @shrik18 in #2219
- Clarify path example with trailing slash by @felipecrs in #2246
- Upgrade snakeyaml from 1.33 to 2.0 fixing CVE-2022-1471 by @julianladisch in #2266
- add check if contextClassLoader is null #2287 by @ajaravete in #2288
New Contributors
- @vincent-hennig made their first contribution in #2190
- @shrik18 made their first contribution in #2219
- @felipecrs made their first contribution in #2246
- @ajaravete made their first contribution in #2288
Full Changelog: v1.3.1...v1.4.0
Artifacts Released
- Maven artifacts
- Standalone JAR (download below)
- Karate-Robot JAR (download below)
- Docker Image