close

Brian Clozel

Brian Clozel

Spring Framework & Spring Boot committer

Lyon, France

Blog Posts by Brian Clozel

Spring GraphQL 1.0.0-M3 Released

The Spring GraphQL team is pleased to announce a 3rd milestone towards a 1.0.0 release, driven with great help from the community .

Batch Mapping

The 2nd milestone introduced an annotation programming model for GraphQL data controllers with @SchemaMapping methods. The 3rd milestone adds a new @BatchMapping method.

If you’re familiar with GraphQL, you know that navigating an object graph can cause the “N+1 queries problem” if we’re not mapping carefully object relations. We could already leverage the Batching feature from GraphQL Java to solve that problem, but this release introduces dedicated support as well as an @BatchMapping annotation for a smoother experience:

Read more...

Spring GraphQL 1.0.0-M2 available now

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:

Read more...

Spring Framework 5.2.8, 5.1.17, 5.0.18, and 4.3.28 available now

On behalf of the team and everyone who has contributed, I am pleased to announce a full round of Spring Framework releases.

Spring Framework 5.2.8 includes 36 fixes and improvements. Spring Framework 5.1.17 includes 15 selected fixes and improvements.

The maintenance release for 5.0.x (5.0.18) ships with 13 selected fixes and improvements. The 4.3.x branch (4.3.28) also ships with 13 selected fixes and improvements, including a CORS configuration change (see gh-25414 and the CORS section of the reference documentation for more details).

Read more...

Liveness and Readiness Probes with Spring Boot

Update: this blog post has been updated for changes released in Spring Boot 2.3.0.RC1

The Spring Boot team is actively working on a Kubernetes theme for the next 2.3.0 release. After Docker images creation and Graceful Shutdown support, it’s now time to introduce Liveness and Readiness probes support.

With our 2.2.0 release, Spring Boot shipped with the Health Groups support, allowing developers to select a subset of health indicators and group them under a single, correlated, health status.

Even with this new feature, we’ve found that we could provide more to the Spring community, with more opinions and guidance when it comes to Kubernetes.

Read more...

Spring Boot 2.2.2 is now available

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring Boot 2.2.2 has been released and is now available from repo.spring.io and Maven Central.

This release includes 88 fixes, improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more...

Spring Framework 5.2.2 and 5.1.12 available now

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

The second maintenance release of the 5.2 line includes over 100 fixes and improvements. Spring Framework 5.1.12 includes 25 selected fixes and improvements.

As usual, we’ll follow up shortly with corresponding Spring Boot releases (2.2.2 and 2.1.11).

See you early 2020 for a full round of Spring Framework releases, from 4.3.x up to the 5.2.x generation. More on that in a future blog post, stay tuned!

Read more...

Spring Boot 2.2 M2

On behalf of the team and everyone that contributed, I am pleased to announce that the second milestone of Spring Boot 2.2 has been released and is available from our milestone repository. This release closes almost 100 issues and pull requests.

Highlights of this milestone include:

  • Spring Framework 5.2.0.M1
  • @ConfigurationProperties scanning
  • Immutable @ConfigurationProperties binding
  • Initial RSocket Server Support
  • Lazy Initialization and performance improvements

For a complete list of changes and upgrade instructions, please see the Spring Boot 2.2 Release Notes on the wiki and the updated reference documentation.

Read more...

Spring Framework 5.2.0.M1 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the first milestone of Spring Framework 5.2 has been released and is available from our milestone repository. This release closes over 140 issues and pull requests.

This first milestone is packed with features and fixes, including:

  • Many core container improvements, from parsing annotation data with the new MergedAnnotations API to @Configuration class optimizations
  • Support for Kotlin coroutines
  • New WebMvc.fn programming model in the spring-webmvc module providing a functional alternative to annotated controllers that’s built on the Servlet API. Now spring-webmvc like spring-webflux offers both functional and annotation-based programming models.
  • Performance improvements in Spring MVC and Spring WebFlux to reduce overhead in request mapping, media type parsing, CORS checks, and more
  • RSocket support including response handling via annotated @MessageMapping methods and performing requests via RSocketRequester.
  • Many interesting integration testing improvements, especially if you’re dealing with application and context events in tests
  • A brand new look for our reference documentation
Read more...