Posts tagged with Advent of Spring

Featured image for "Configuring CSRF for Single Page Applications with Spring Security"
Java

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 →
Featured image for "Deprecation of RestTemplate"
Java

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 →
Featured image for "Monitoring your SMTP metrics with Spring Boot 4 and Micrometer"
Java

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 →
Featured image for "Streaming your request and response bodies with Spring's HTTP interfaces"
Java

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 →
Featured image for "OAuth2 Client support for HTTP interfaces"
Java

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 →
Featured image for "HttpSecurity customizer in Spring Boot 4"
Java

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 →
Featured image for "Module-aware database migrations with Modulith"
Java

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 →
Featured image for "Simplification of the Spring Batch API"
Java

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 →
Featured image for "Support for Optional in Spring's Expression Language"
Java

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 →
Featured image for "Null safety in Spring Boot 4 with JSpecify"
Java

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 →