Brian Clozel

Brian Clozel

Blog posts by Brian Clozel

Spring for GraphQL 1.4 RC1 Released

Releases | April 17, 2025 | ...

On behalf of the Spring for GraphQL team, I am pleased to announce the availability of 1.4.0-RC1, our last stop before the generally available release. In case you missed it, 1.4.0-M1 already shipped lots of new features and improvements.

You can read the full changelog for 1.4.0-RC1 and the upgrade notes on our wiki.

DataLoader observations

The Spring for GraphQL instrumentation creates Micrometer Observations for GraphQL requests and DataFetcher operations. Some data fetching operations are relying on batch loading calls to avoid the "N+1 problem". In previous generations, one would not see the difference between a "full" data fetching operation and one that simply delegates to DataLoader

Spring Framework 7.0.0-M4 Available Now

Releases | April 17, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce a new milestone for the next Spring Framework generation. The fourth milestone continues delivering new features and refinements on top of 7.0.0-M1, 7.0.0-M2 and 7.0.0-M3.

Class-File API usage for Java 24+ apps

Spring Framework reads class bytecode to collect metadata about the application code. Historically we have used a slim ASM fork for this purpose, through the MetadataReaderFactory and MetadataReader types in the org.springframework.core.type.classreading package. Although Spring applications typically have no direct exposure to this API, this is especially useful when parsing @Configuration

Spring Framework 6.1.19 and 6.2.6 Available Now

Releases | April 17, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Framework 6.1.19 and 6.2.6 are available now.

Spring Framework 6.1.19 ships with 11 fixes and documentation improvements. This version will be shipped next week with Spring Boot 3.3.11.

Spring Framework 6.2.6 ships with 35 fixes and documentation improvements. This version will be shipped next week with Spring Boot 3.4.5 and 3.5.0-RC1. It's very unusual for us to ship new features in maintenance versions, but this version also brings first-class support for Bean Overrides with @ContextHierarchy. Please refer to the "Context hierarchies with bean overrides" documentation section

Spring for GraphQL 1.4 M1 Released

Releases | March 18, 2025 | ...

On behalf of the Spring for GraphQL team, I am pleased to announce the availability of our first 1.4 milestone.

Aligning with the GraphQL over HTTP specification

The GraphQL over HTTP draft specification is making good progress, so we have decided to fully align with it for our 1.4 release. Previous versions of Spring for GraphQL already supported the official "application/graphql-response+json", and it has been our default response media type for a while now.

Usually, GraphQL HTTP clients should expect 4xx/5xx HTTP responses if the server is unavailable, security credentials are missing or if the request body is not valid JSON. The remaining gap with this new specification was about the HTTP response status behavior in case of complete GraphQL engine failures. With recent changes, "application/graphql-response+json" responses will also use 4xx statuses if the GraphQL document sent by the client cannot be parsed or is considered invalid by the GraphQL engine. We are keeping the former behavior when clients request the "application/json"

Spring Framework 7.0.0-M3 Available Now

Releases | March 13, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce the third milestone of the next Spring Framework generation. The third milestone continues delivering new features and refinements on top of 7.0.0-M1 and 7.0.0-M2.

In this milestone, we are shipping the first step of our new "API versioning" feature for web applications. Keep an eye for further improvements and documentation there, we're definitely interested in feedback from the community!

By popular demand, the java Optional type is now better supported in SpEL expressions. Not only you can now call null-safe operations on Optional types, but you can also use the Elvis operator

Spring Framework 6.1.18 and 6.2.4 Available Now

Releases | March 13, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Framework 6.1.18 and 6.2.4 are available now.

Spring Framework 6.1.18 ships with 11 fixes and documentation improvements. This version will be shipped next week with Spring Boot 3.3.10.

Spring Framework 6.2.4 ships with 46 fixes and documentation improvements. This version will be shipped next week with Spring Boot 3.4.4 and 3.5.0-M3.

Project Page | GitHub | Issues | Documentation

Spring Framework 7.0.0-M1 Available Now

Releases | January 23, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce the first milestone of the next Spring Framework generation.

As announced previously, we shipped "7.0.0-M1" to the usual repo.spring.io artifact repository, but also to Maven Central. We hope to collect more feedback from the community this year along the way; we are targeting November 2025 for the official release date.

This first milestone partially delivers the baseline changes that we shared last October. Spring Framework still expects a JDK 17-27 compatibility range and raises its minimum requirements to…

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