close

Andy Wilkinson

Andy Wilkinson

Developer

Southampton, UK

Blog Posts by Andy Wilkinson

Spring Boot 2.4.0-M1 is now available

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

Please note the slight change in the format of the version. 2.4.0-M1 is the first Spring Boot release to use the new versioning scheme.

With Spring Boot 2.4, we have switched to a 6-month release cadence. All being well, you can expect to see 2.4.0 reach general availability in October or November.

Read more...

Migrating Spring Boot's Build to Gradle

We made a fairly significant change to Spring Boot in 2.3.0.M1. It was the first release of the project to be built with Gradle rather than Maven. A thread on Twitter about the migration had a number of people asking why we switched and the benefits, if any, that we’d seen. This blog post aims to answer those questions.

Each project in the Spring portfolio is run in a fairly autonomous manner. We strive for consistency where our users will see it most – API design, for example – but choose the tools that best meet the needs of the project for things that are less visible. One example of this is the build system. A change to the build system affects those that contribute to the project but, if we get things right, it has no effect on users. This has led to a mixture of Maven- and Gradle-based builds. For example, Spring Framework has been built with Gradle since 3.2.0.M1 in 2012, whereas Spring Boot began a year later and Spring Cloud shortly after that, both with Maven-based builds. Unlike Spring Boot, Spring Cloud has no plans to switch as Maven continues to meet their needs. In short, if you take only one thing from this blog post it’s that you should choose whatever tool best meets your project’s needs.

Read more...

Spring Boot 2.3.0.M4 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the fourth milestone of Spring Boot 2.3 has been released and is available from our milestone repository.

This release closes 99 issues and pull requests. Thanks to all those who have contributed.

Highlights of this milestone include:

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

Read more...

@DynamicPropertySource in Spring Framework 5.2.5 and Spring Boot 2.2.6

Recently, when talking about testing Spring Boot applications at Spring IO and SpringOne Platform, I’ve mentioned Testcontainers and discussed the boilerplate involved in configuring your tests to use the service running inside the container. I’m delighted to say that, with the recent Spring Framework 5.2.5 release, that boilerplate is no more.

Prior to the changes that we’ve just released, your integration test would look similar to the following:

@SpringBootTest
@Testcontainers
@ContextConfiguration(initializers = ExampleIntegrationTests.Initializer.class)
class ExampleIntegrationTests {

    @Container
    static Neo4jContainer<?> neo4j = new Neo4jContainer<>();

    static class Initializer implements
            ApplicationContextInitializer<ConfigurableApplicationContext> {

        @Override
        public void initialize(ConfigurableApplicationContext context) {
            TestPropertyValues.of("spring.data.neo4j.uri=" + neo4j.getBoltUrl())
                    .applyTo(context.getEnvironment());
        }

    }

}
Read more...

Spring Boot 2.3.0.M3 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the third milestone of Spring Boot 2.3 has been released and is available from our milestone repository.

This release closes 89 issues and pull requests. Thanks to all those who have contributed.

Highlights of this milestone include:

  • Support for gracefully shutting down the embedded web server
  • Support for customizing the layers when building a layered jar with Maven
  • Support for R2DBC
  • Auto-configuration for Spring Integration’s RSocket support
  • Numerous dependency upgrades
Read more...

Spring Boot 2.2.5 released

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

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

Important Security Advisory

This version of Spring Boot includes a dependency upgrade to Reactor Netty 0.9.5. It contains fixes for CVE-2020-5403 and CVE-2020-5404.

Read more...

Spring Boot 2.1.13 released

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

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

Important Security Advisory

This version of Spring Boot includes a dependency upgrade to Reactor Netty 0.8.16. It contains a fix for CVE-2020-5404.

How can you help?

Read more...

Spring Boot 2.2.3 released

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

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

Important Security Advisory:

This version of Spring Boot includes a dependency upgrade to Spring Framework 5.2.3 which contains fixes for CVE-2020-5398 and CVE-2020-5397.

Read more...

Spring Boot 2.1.12 released

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

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

Important Security Advisory:

This version of Spring Boot includes a dependency upgrade to Spring Framework 5.1.13 which contains a fix for CVE-2020-5398.

How can you help?

Read more...

Spring Boot 2.2.0

On behalf of the Spring Boot team and everyone that has contributed, I am delighted to announce that Spring Boot 2.2.0 has been released and is available now from repo.spring.io, Maven Central and Bintray. This release adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.

What’s new in 2.2

Dependency upgrades

Spring Boot 2.2 moves to new versions of several Spring projects:

  • Spring AMQP 2.2
  • Spring Batch 4.2
  • Spring Data Moore
  • Spring Framework 5.2
  • Spring HATEOAS 1.0
  • Spring Integration 5.2
  • Spring Kafka 2.3
  • Spring Security 5.2
  • Spring Session Corn
Read more...