Skip to content

Spring for GraphQL 2.1

Brian Clozel edited this page Aug 19, 2026 · 2 revisions

Upgrading From Spring for GraphQL 2.0

Baseline upgrades

Spring for GraphQL 2.1 now requires Spring Framework 7.1 and GraphQL Java 26.0 as its baseline.

New and Noteworthy

HTTP Transport updates

The GraphQL over HTTP specification has reached draft status and we are following closely.

GraphQL supports three operation types (QUERY, MUTATION, SUBSCRIPTION), but some transport requests are considered idempotent and shouldn't accept MUTATION operations. We are now enforcing which operation types are allowed at runtime, depending on protocol information.

This behavior change unlocks the support for HTTP GET requests on the server side.

WebSocket resource management

You can now configure the maxSubscriptionsPerSession on the GraphQlWebSocketHandler. This will help you to better manage resources used by your application deployment.

Clone this wiki locally