Posts tagged with Advent of Spring
Configuring CSRF for Single Page Applications with Spring Security
Spring Security v7 made configuring CSRF protection for Single Page Applications a lot easier. In this blogpost I'll talk about the history and the improvements!
Read more →
Deprecation of RestTemplate
RestTemplate has been considered feature-complete for a while now, but what's the state of it in Spring Boot 4?
Read more →
Monitoring your SMTP metrics with Spring Boot 4 and Micrometer
Spring Boot 4 updates Micrometer to 1.16, which introduces SMTP-related metrics. This means that with some configuration tweaking, we can obtain these metrics with Spring Boot Actuator.
Read more →
Streaming your request and response bodies with Spring's HTTP interfaces
If you're handling large request or response bodies, streaming them could be useful. Starting with Spring Boot 4, using InputStream and OutputStream is now directly supported within the HTTP interface clients.
Read more →
OAuth2 Client support for HTTP interfaces
Spring Boot 4 improved their HTTP interfaces. One of the newly added features is that you can easily link them to a Spring Security OAuth2 Client.
Read more →
HttpSecurity customizer in Spring Boot 4
Customizers have been added to Spring for a while now. Starting with Spring Boot 4, we can also use them to configure Spring Security's HttpSecurity bean!
Read more →
Module-aware database migrations with Modulith
Together with Spring framework v7 and Spring Boot v4, Spring Modulith v2 was also released. One of its new killer-features is its module-aware database migrations when using Flyway.
Read more →
Simplification of the Spring Batch API
Spring Batch not only became modularized, but also simplified its API. API's like JobExplorer and JobOperator now got merged into other API's, simplifying your applications!
Read more →
Support for Optional in Spring's Expression Language
Spring's Expression Language can do a lot of things. Starting with Spring Boot 4, it also nicely works with Optional in combination with the safe navigation and the elvis operator!
Read more →
Null safety in Spring Boot 4 with JSpecify
Spring Boot 4 adds support for JSpecify, which hopefully makes NullPointerExceptions something part of the past.
Read more →