All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update dependencies (#24 from @bgalek)
- Update wiremock 3.0.3 -> 3.9.0
- Update graphql-java 21.0 -> 22.3
- Update mockk 1.13.8 -> 1.13.12
- Update testcontainers 1.19.3 -> 1.20.2
- Update junit 5.10.1 -> 5.11.1
- Update mockk 1.13.8 -> 1.13.12
- Added
operationNameparameter (#18 from @kyle-winkelman) - Added
GraphqlBodyMatcher.parametersmethod which can use createParameterseasily (#18 from @kyle-winkelman)
- Remove
org.json:jsondependency in favor of reusingcom.github.tomakehurst.wiremock.common.Json(#18 from @kyle-winkelman) - Deprecate
withRequestJsonandwithRequestin favor ofparameters(#18 from @kyle-winkelman)
- Added
@JvmStaticannotation toGraphqlBodyMatcher.Companion.withRequestmethod to allow Java clients to use the method withoutCompanion. (#16 from @kyle-winkelman)
- Implemented
graphql-java'sAstSorterandAstComparatorfor GraphQL query normalization. This integration significantly aligns the supported GraphQL features of our extension with those ofgraphql-java. (#14 from @kyle-winkelman)
- Update dev dependencies (kotlin, mockk, junit, testcontainers)
- Improved handling of newline characters in JSON strings. Newline characters are now removed to prevent parsing errors (
JSONException: Unterminated string) when processing JSON data. This change ensures that JSON strings with embedded newlines are handled correctly by theString.toJSONObject()method. (#11)
- Throws
InvalidQueryExceptionandInvalidJsonExceptionwhenwithRequestis called. - When
matchmethod is called, it will not throw any exception if the request is invalid.
- Added
withRequestmethod which can used easily when using remote wiremock server.
- Update target jvmVersion 1.8 -> 11
- Update graphql-java 20.2 -> 21.0
- Update json 20230227 -> 20230618
- Update dev dependencies (kotlin, mockk, junit)
- Update wiremock 2.27.2 -> 3.0.0!
withRequestQueryAndVariablesmethod has been changed to deprecate.
- Added
GraphqlBodyMatcher.extensionNamewhich can used easily when using remote wiremock server.
- Change parameter key
expectedQuerytoexpectedJsonfor remote wiremock server.
- Support Remote Wiremock Server.
- Support Graphql Variables.
withRequestQuerymethod has been changed towithRequestQueryAndVariablesand now takesexpectedVariablesas argument.expectedVariablesis Nullable.- Update junit 5.8.1 -> 5.9.2
- Update mockk-jvm 1.13.4 -> 1.13.5
- Support fragment normalization.
- Use
withRequestJson or Queryinstead of constructor.
Prerelease Version.