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
operationName
parameter (#18 from @kyle-winkelman) - Added
GraphqlBodyMatcher.parameters
method which can use createParameters
easily (#18 from @kyle-winkelman)
- Remove
org.json:json
dependency in favor of reusingcom.github.tomakehurst.wiremock.common.Json
(#18 from @kyle-winkelman) - Deprecate
withRequestJson
andwithRequest
in favor ofparameters
(#18 from @kyle-winkelman)
- Added
@JvmStatic
annotation toGraphqlBodyMatcher.Companion.withRequest
method to allow Java clients to use the method withoutCompanion
. (#16 from @kyle-winkelman)
- Implemented
graphql-java
'sAstSorter
andAstComparator
for 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
InvalidQueryException
andInvalidJsonException
whenwithRequest
is called. - When
match
method is called, it will not throw any exception if the request is invalid.
- Added
withRequest
method 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!
withRequestQueryAndVariables
method has been changed to deprecate.
- Added
GraphqlBodyMatcher.extensionName
which can used easily when using remote wiremock server.
- Change parameter key
expectedQuery
toexpectedJson
for remote wiremock server.
- Support Remote Wiremock Server.
- Support Graphql Variables.
withRequestQuery
method has been changed towithRequestQueryAndVariables
and now takesexpectedVariables
as argument.expectedVariables
is Nullable.- Update junit 5.8.1 -> 5.9.2
- Update mockk-jvm 1.13.4 -> 1.13.5
- Support fragment normalization.
- Use
withRequestJson or Query
instead of constructor.
Prerelease Version.