Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update expedia_grapql_version to v8 (major) #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 19, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.expediagroup:graphql-kotlin-schema-generator 4.1.1 -> 8.2.1 age adoption passing confidence
com.expediagroup:graphql-kotlin-server 4.1.1 -> 8.2.1 age adoption passing confidence
com.expediagroup:graphql-kotlin-gradle-plugin 4.1.1 -> 8.2.1 age adoption passing confidence

Release Notes

ExpediaGroup/graphql-kotlin (com.expediagroup:graphql-kotlin-schema-generator)

v8.2.1

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@8.2.0...8.2.1

v8.2.0

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@8.1.0...8.2.0

v8.1.0

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@8.0.0...8.1.0

v8.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.5...8.0.0

v7.2.2

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.2.1...7.2.2

v7.2.1

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.2.0...7.2.1

v7.2.0

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.5...7.2.0

v7.1.5

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.4...7.1.5

v7.1.4

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.3...7.1.4

v7.1.3

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.2...7.1.3

v7.1.2

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.1...7.1.2

v7.1.1

Compare Source

What's Changed

Full Changelog: ExpediaGroup/graphql-kotlin@7.1.0...7.1.1

v7.1.0

Compare Source

Minor Changes

Patch Changes

Other Changes

v7.0.2

Compare Source

Patch Changes
Other Changes

v7.0.1

Compare Source

Patch Changes
Other Changes

v7.0.0

Compare Source

🎉 GraphQL Kotlin 7.0.0!

After over a hundred PRs and numerous pre-releases, we are pleased to announce the 7.0.0 release!

Major Changes and Features
Ktor GraphQL Server Plugin

Ktor is a lightweight web framework from Jetbrains. Its built in Kotlin using Coroutines and follows a functional configuration style where we have to explicitly configure our server with the features that we want to use.
Starting with GraphQL Kotlin v7, we now provide an official Ktor Server Plugin to simplify your GraphQL Ktor server development!

class HelloWorldQuery : Query {
    fun hello(): String = "Hello World!"
}

fun Application.graphQLModule() {
    install(GraphQL) {
        schema {
            packages = listOf("com.example")
            queries = listOf(
                HelloWorldQuery()
            )
        }
    }
    install(Routing) {
        graphQLPostRoute()
    }
}

Check out documentation for details.

GraphQL WS Subscription Support

Ktor and Spring GraphQL servers now provide out-of-box support for GraphQL subscriptions using GraphQL WS protocol.

Spring support for Apollo subscription transport ws was deprecated and will be removed in future releases.

GraalVM support

GraalVM is a high performance JDK distribution from Oracle that supports Ahead-of-Time (AOT) compilation. AOT allows you to build highly optimized native images that have milisecond startup times with immediate peak performance without the overhead of running JVM.

GraphQL Kotlin v7 provides out-of-box support for creating native GraalVM Ktor and Spring GraphQL servers. Maven and Gradle plugins were updated to provide new goal/task to auto-generate GraalVM reachability metadata.

Check out plugin documentation (Gradle | Maven) for more details or watch my
Supercharge your GraphQL with Ktor and GraalVM (KotlinConf 2023) talk for a live demo!

Drop support for GraphQLContext interface

graphql-java v17 introduced new GraphQL context mechanism which standardized how context should be utilized. Prior to v17, context could be of any object and it was up to the developers to decide how it should look like. This old "any" object context mechanism is currently deprecated and will be removed in future versions of graphql-java. "New" GraphQLContext standardizes the approach and is a simple wrapper around a map.

With GraphQL Kotlin v7 we dropped the support for old context mechanism and generic GraphQLContext interface is no longer available. Standardized context map is the only supported mechanism. See documentation for details.

Include GraphiQL IDE

GraphiQL is the official GraphQL IDE backed by the GraphQL Foundation and is now the default IDE included with all graphql-kotlin-server implementations.

GraphQL Playground is still available in graphql-kotlin-spring-server through explicit opt-in mechanism. Playground integration was deprecated and will be removed in future releases.

Apollo Federation v2.5 Support

Library now defaults to Apollo Federation v2 and users have to explicitly opt-out into Federation v1 schemas. To avoid potential conflicts on imported elements, Federation logic was also updated to support namespacing and renaming of the imported types.

By default, graphql-kotlin will continue to apply @link directive using latest supported federation specification but will only auto-import federation specific directives up to version 2.3 and only if they are present (i.e. applied to an element) in the schema. All new fed v2.4+ won't be included in the auto-imports and instead will be namespaced with the spec name, e.g. @federation__authenticated.

Users can provide custom @link information by providing a schema object with @LinkDirective information, e.g.

@​LinkDirective(url = "https://specs.apollo.dev/federation/v2.3", `as`: "fed", import = [LinkImport(name = "@​key", `as` = "@​myKey"), LinkImport(name = "@​requires")])
class MyCustomLinkSchema

Will generate following schema

schema @​link(as: "fed", import : [{name : "@​key", as : "@​myKey"}, "@​requires"], url : "https://specs.apollo.dev/federation/v2.3"){
  query: Query
}

// directive imported with custom name
"Space separated list of primary keys needed to access federated object"
directive @​myKey(fields: fed__FieldSet!, resolvable: Boolean = true) repeatable on OBJECT | INTERFACE

// directive imported with same name
"Specifies required input field set from the base type for a resolver"
directive @​requires(fields: fed__FieldSet!) on FIELD_DEFINITION

// type imported with custom namespace
"Federation type representing set of fields"
scalar fed__FieldSet
Java 17 and Kotlin 1.8 Baseline

We were previously targeting Java 8 byte code to match graphql-java target. Java 8 was released over 9 years ago and with Java 21 LTS just around the corner, many libraries started to move towards relying on newer versions of Java. With graphql-java finally moving to Java 11 target and Spring Boot v3 requiring Java 17, we also updated our compilation target to Java 17.

While Kotlin currently does not benefit directly from new Java features, your applications will benefit tremendously from multidue of security and performance improvements in new JVM versions.

All Changes

Full Changelog: ExpediaGroup/graphql-kotlin@c65f2a1...11c24e8

Major Changes
Minor Changes
Patch Changes
Other Changes

New Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 5d06fc6 to 4adfe29 Compare March 7, 2022 11:16
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 4adfe29 to 84dc579 Compare May 15, 2022 22:58
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 84dc579 to 7ed6563 Compare June 18, 2022 16:02
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 7ed6563 to 38d4442 Compare September 25, 2022 17:36
@renovate renovate bot changed the title Update expedia_grapql_version to v5 (major) Update expedia_grapql_version to v6 (major) Sep 25, 2022
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 38d4442 to f5a4cf4 Compare November 20, 2022 20:35
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from f5a4cf4 to 6d03fa4 Compare March 16, 2023 17:48
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch 2 times, most recently from 25d98c4 to d7942ee Compare May 31, 2023 23:25
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch 2 times, most recently from 117c7e5 to 1c7b15d Compare June 7, 2023 10:25
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 1c7b15d to 2d0afd5 Compare June 19, 2023 17:31
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 2d0afd5 to 5082a09 Compare September 13, 2023 00:34
@renovate renovate bot changed the title Update expedia_grapql_version to v6 (major) Update expedia_grapql_version (major) Sep 19, 2023
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 5082a09 to be98428 Compare September 19, 2023 14:14
@renovate renovate bot changed the title Update expedia_grapql_version (major) Update expedia_grapql_version to v7 (major) Sep 19, 2023
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from be98428 to 144b28a Compare September 22, 2023 14:01
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 144b28a to 2acfcef Compare October 31, 2023 03:46
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch 2 times, most recently from e3be011 to 2478760 Compare April 18, 2024 09:41
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch 2 times, most recently from fb831c2 to 08c18c9 Compare July 13, 2024 08:01
@renovate renovate bot changed the title Update expedia_grapql_version to v7 (major) Update dependency com.expediagroup:graphql-kotlin-schema-generator to v7 Aug 12, 2024
@renovate renovate bot changed the title Update dependency com.expediagroup:graphql-kotlin-schema-generator to v7 Update expedia_grapql_version to v7 (major) Aug 13, 2024
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch 2 times, most recently from 5bc779b to 6b612a3 Compare August 27, 2024 21:06
@renovate renovate bot changed the title Update expedia_grapql_version to v7 (major) Update expedia_grapql_version to v8 (major) Aug 27, 2024
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 6b612a3 to 1713b0e Compare October 3, 2024 22:16
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 1713b0e to 6fddc52 Compare October 19, 2024 01:59
@renovate renovate bot force-pushed the renovate/major-expedia_grapql_version branch from 6fddc52 to f0eab80 Compare October 27, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants