This Week in Spring - May 16th 2023

Engineering | Josh Long | May 16, 2023 | ...

My friends, Spring Boot 3.1 is nearly upon us! It drops on 18 May, in just a few short days! There are a ton of amazing features in this new release and I hope you're already trying it out (you know where). Here are some of my favorite features:

  • Built in Docker Compose support - Have a docker-compose.yml in your project root? Add spring-boot-docker-compose as developmentOnly scope in Gradle or optinal in Maven and Spring Boot will automatically run it for you on startup and shut it down on application shutdown. Here's an example
  • Built in Testcontainers support - You know Spring Boot has first class support for Testcontainers in our unit testing framework. Perhaps you've used the @DynamicPropertySource mechanism to configure the environment based on Testcontainer containers? - but this new release makes things even better. Define a test-code only main(String []) method and then forward it to your production code main(String [] args) methods. You can point that test-code only main class to new @Configuration classes, which may in turn have Testcontainer connections defined. Run that test-code only main

Spring Framework Reference Documentation Update

Engineering | Rossen Stoyanchev | May 11, 2023 | ...

Starting with version 6.0.9, the Spring Framework reference documentation site is generated with Antora. This is a big change that brings many improvements. This blog post provides context around that.

Overview

For a long time the Spring Framework reference documentation had two versions, one single page, and one multipage. The single page was very large but often preferred for the ability to search with Ctrl+F. The multipage provided structure, but it was difficult to navigate and search. See for example the single and multiple versions from 4.3.x.

In 5.0 we switched to a single version that split the documentation into several high-level sections as a kind of middle ground between the single and the multipage versions. You could still use Ctrl+F within a section, while the content one any one of those pages wasn't as large as the full documentation. In this version we also added left-hand side navigation to make it easy to navigate the content. See example

This Week in Spring - May 9th, 2023

Engineering | Josh Long | May 09, 2023 | ...

Hi, Spring fans! Welcome to another wonderful, fancyful installment of This Week in Spring! I was just at the first Devoxx GR, in the sunny mediterranean city of Athens, Greece. Uh, yah, this was a good'un. If you can get to it, you should. Don't miss next year's installment if you missed this one. And now, I'm in London, for one of my all time favorite shows, Devoxx UK. Are you going to Devoxx UK? Come find me! I'll be talking about Spring Boot 3, and it should be fun. After this, I'm off to Germany where I may be appearing at a JUG near Wolfsburg (I'll keep you posted). Then, it's off to…

This Week in Spring - May 2, 20223

Engineering | Josh Long | May 02, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! You realize it's already May, 2023? Time's flying, way too quickly! I just got back from Bangalore, India, where I spoke at the amazing Great International Developer Summit, one of the all time best shows ever, and now I'm already gearing up to hit the road in May for a mini Spring Boot 3.1 European (and UK) tour! I'll be in Athens, Greece, for Devoxx GR (4-6 May); I'll be in London, UK, for Devoxx UK (10-12 May); I'll be in Barcelona, Spain, for Spring I/O (18-19 May); I'll be in Belgrade, Serbia (20-21 May) for ITKonekt…

This Week in Spring - April 25th, 2023

Engineering | Josh Long | April 25, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you? I'm en route to Bangalore, India, via Frankfurt, for the Developer Summit 2023 edition. It's going to be a ton of fun, and I hope you won't miss it! para

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all