Spring GraphQL 1.0.0-M2 available now

Engineering | Brian Clozel | September 01, 2021 | ...

Less than 2 months after the initial announcement of Spring GraphQL and its follow up intro blog, I'm happy to announce that the 1.0.0-M2 version has been released and is available from the Spring Milestone repository.

The Spring GraphQL team would like to thank the early adopters and contributors - with your help, we're making good progress towards a GA version!

We've fixed a few issues and renamed a couple of concepts, but the most notable change is the introduction of a new annotation model for GraphQL Controllers. You can now annotate @Controller components to handle queries, mutations and subscriptions:

@Controller
public class GreetingController {

        @QueryMapping 
        public String hello() { 
            return "Hello, world!";
        }

}

This is a new feature and we can't wait to hear your feedback - please give it a try and let us know what you think!

Spring GraphQL at SpringOne!

Don't miss the Spring GraphQL presentation at SpringOne today! This will give a nice intro to this new Spring project and you'll get a chance to chat with the team, live and on the dedicated SpringOne Slack.

How can you help?

If you're interested in helping out, you can get started with Spring GraphQL and raise issues on our GitHub project. 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

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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