Skip to content

Tags: innertech/graphql-kotlin

Tags

5.3.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[client] support @include and @Skip directives (ExpediaGroup#1341)

5.3.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[generator] add runtime warning on deprecated context usage (ExpediaG…

…roup#1323)

### 📝 Description
This PR updates `FunctionDataFetcher` so that it logs a warning when injecting a `GraphQLContext`.  This functionality is [deprecated](https://github.com/ExpediaGroup/graphql-kotlin/blob/master/website/docs/schema-generator/execution/contextual-data.md#interface-injection-deprecated).  Unlike the `GraphQLContext` interface itself, which is annotated `@deprecated, there is no compile or runtime time warning when using `GraphQLContext` interface injection in a query or mutation.

### 🔗 Related Issues
* discussion: ExpediaGroup#1305
* supersedes: ExpediaGroup#1306

Co-authored-by: Joel Brown <jbrown@classpass.com>

5.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[dependencies] downgrade to graphql-java 17.2 (ExpediaGroup#1317)

5.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support creating the new context map (ExpediaGroup#1292)

* Support creating the new context map

* Fix subscription hooks

* Update docs and deprecation notice

* Use inline builder

* Update unit test docs

* Use default context map in subscriptions test

* Undo public arg name changes

5.1.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Improve errors for unions (ExpediaGroup#1273)

5.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Dependency update (ExpediaGroup#1264)

* Dependency update

* Jackson matching spring version

* Update gradle.properties

* Update manual kotlin versions

* Update other hardcoded versions

5.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Test scalar converters with Ulocale (ExpediaGroup#1259)

* Test scalar converters with Ulocale

* Update wiremock schema

* Add fields to types

5.0.0-alpha.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[build] dependency updates (ExpediaGroup#1253)

* [build] dependency updates

Updates to the latest version of the libs.

This change does not include Kotlin update to 1.5.30 due to following issues:
* Gradle Kotlin compile task presents a warning that Java compile task (we don't have any Java sources) uses different JVM target (Java version defaults to your local JVM default)
* Above warning can be fixed by explicitly configuring Java tasks (again we don't have any Java sources) to use Java 8 target OR through toolchain configuration - at least it should be, when using toolchain configuration `kapt` blows up with unable to find the toolchain JVM
* Android test project used as an integration test for Gradle plugin blows up with `Cannot have abstract method KotlinJavaToolchain.getJdk()`

* fix unit tests
`OptionalInput` is now supported for both kotlinx-serialization and Jackson. Updating test to account for this.

4.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Backport GraphQLUnion to 4.x.x (ExpediaGroup#1234)

5.0.0-alpha.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[plugin] support android compile targets (ExpediaGroup#1231)

* [plugin] support android compile targets

Default (JVM) build use `compileKotlin`/`compileTestKotlin` tasks. Android builds use variants which has their own targets (e.g. `compileDebugKotlin`). Since our tasks are finalized by the compile tasks we cannot apply it on android builds as default JVM tasks dont exist.

* fix compile dependency

Gradle scans all decorated plugin/tasks/extensions classes to find all the injection points, apply validations etc. This means that we cannot have any method signatures in the plugin code that references compile only dependencies. Simple fix is to move the affected code to a separate file. See: gradle/gradle#8411 for details.

* fix android build dependency

* parameterize android plugin version