On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.2.0-M3 has been released and is now available from https://repo.spring.io/milestone. This release includes 97 enhancements, documentation improvements, dependency upgrades, and bug fixes. Notable new features include: Support for Jetty 12 Support for Spring for Apache Pulsar Docker Compose Support for Neo4j Please see the release notes for more details and upgrade instructions. Thanks to all those who have contributed with issue reports and pull requests. How can you help? If you're interested in…
There's been support for Testcontainers in Spring Boot for some time now, and Spring Boot 3.1 improves it further.
But first, let's take a look at what Testcontainers is and how it's usually used. Testcontainers is an open source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything that can run in a Docker container. If you have used Testcontainers in the past, there's a high chance that you have been using them in integration tests: In this integration test, a Neo4j database is started inside a Testcontainer, and a…
Docker Compose support in Spring Boot 3.1 builds on top of the ConnectionDetails abstraction, which we've featured in a separate blog post.
If you haven't already read it, please do so before reading this post. Docker Compose "is a tool for defining and running multi-container Docker applications".
A Docker Compose configuration file, usually named docker-compose.yaml or compose.yaml, allows you to define services.
Such services must have a name and a Docker image.
Optionally you can also define environment variables, exposed ports, labels, how services relate to one another, and so on. Here's…
If you've used Spring Boot for a while, you're probably familiar with setting up connection details using properties. For example, you may have used spring.datasource.url to configure a JDBC connection. In Spring Boot 3.1 this continues to work as you'd expect, but we've changed things a bit under the hood to decouple the auto-configurations from the properties. There's now a new ConnectionDetails abstraction.
This interface models the concept of a connection to a remote service.
If you take a look at this interface, you'll see that it's empty.
It serves as a tagging interface, and is extended…
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.7.9 has been released and is now available from Maven Central. This release includes 33 bug fixes, documentation 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. Project Page | GitHub…
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.5.13 has been released and is now available from Maven Central. This release includes 31 bug fixes, documentation 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. Project Page | GitHub…
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.5.10 has been released and is now available from Maven Central. This release includes 52 bug fixes, documentation 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. Project Page | GitHub…