Skip to content

v1.1.0.RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ptrthomas ptrthomas released this 31 May 09:00
· 1360 commits to develop since this release

This is a Release Candidate for teams to try the version which is "in development" - and identify potential issues or un-intended breaks in functionality.

Breaking Changes

The path keyword will encode the / character. You do not need to ever include the / character. Always build path-strings by using the comma-delimited form of path. Please change your tests to never use the / character on the right side of the path keyword.

Before:

* path 'foo/bar/' + someVariable

After:

* path 'foo', 'bar', someVariable

As a convenience, if you have a lot of tests in the old, no-longer-supported form, you can use path raw to fall-back to the old behavior. But we recommend that you switch to the recommended path form above to avoid breaking your tests again in the future.

The rationale is that Karate will apply URL-encoding to the path for all cases, including the / character. For a detailed discussion, see #1561. Note that url can be always used if you want to force a specific string, and no URL-encoding will be performed in that case.

Note that the Docker container has not been released.

To see a list of issues that should be fixed in this version, look at the issues here that have the fixed tag.