Spring for GraphQL 1.1.0-M1 released

Releases | Brian Clozel | September 20, 2022 | ...

I'm pleased to announce the first milestone release of Spring for GraphQL 1.1.0 is now available from our Milestone repository. This version will be shipped with Spring Boot 3.0.0-M5 due for release later this week.

Spring Boot 3.0 is around the corner and the community is expecting a compatible Spring for GraphQL version to go with it. Currently, the best way to prepare for the Spring Boot 3.0 upgrade is to upgrade to Spring Boot 2.7 and Java 17, but Spring Boot 3.0 has new baseline requirements, namely Java 17, Jakarta APIs and Spring Framework 6.0.

Given that Spring for GraphQL 1.0.0 was released towards the end of May this year, we didn't feel we would have enough time nor feedback to go with a major release of the project for Boot 3.0. This is why the goal of the 1.1 release is simply to adapt to the new baseline requirements and provide a smooth upgrade to Spring Boot 3.0 for existing projects.

This first milestone brings those foundational changes: the Java 17, Jakarta APIs, and a Spring Framework 6.0 baseline. We're also taking the opportunity to upgrade to GraphQL Java 19.x -- a painless upgrade on our side, thanks to the GraphQL Java team! We've also replaced our internally developed context propagation mechanism with the new Micrometer Context Propagation library, that's intended for use broadly across Spring projects. It allows Spring applications to propagate context across various such mechanisms, e.g. ThreadLocal, Reactor Context, GraphQLContext, and others.

In the next milestones, we will consider how we can adapt our current arrangement with important themes in Spring Boot 3.0: GraalVM native image and Micrometer Observability support. Given the short timeline, we might schedule some changes for a future version -- again, a smooth upgrade is our top priority here.

How can you help?

If you have general questions, please ask on stackoverflow.com using the spring-graphql tag.

Project Page | GitHub | Issues | Documentation | Stack Overflow

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all