Spring Team
Andy Wilkinson

Andy Wilkinson

Developer

Southampton, UK

Blog Posts by Andy Wilkinson

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...

Spring REST Docs 2.0.4.RELEASE

On behalf of the community and everyone who has contributed, it’s my pleasure to announce that Spring REST Docs 2.0.4.RELEASE is available from Maven Central, JCenter, and our release repository. Thank you to everyone who contributed to this release by reporting bugs and opening pull requests.

This maintenance release includes a small number of fixes and documentation improvements. It is a recommend upgrade for all Spring REST Docs 2.x users.

GitHub | Issues | Documentation | Twitter | Gitter | Stack Overflow

Read more...

Spring Boot 2.2.0.M6

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

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

Our next 2.2 release will be RC1 later this month with GA to follow in mid-October. If you haven’t already done so, now is a great time to try a 2.2 milestone and provide us with your feedback. If you want to get started with 2.2 and try out the new features, you can bootstrap a new project on https://start.spring.io.

Read more...

Spring Boot 2.2.0.M4

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

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

If you want to get started with 2.2 and try out the new features, you can bootstrap a new project on https://start.spring.io.

Read more...

Spring IO Platform Cairo-SR8

I am pleased to announce that Spring IO Platform Cairo-SR8 is now available from both repo.spring.io and Maven Central. With the IO Platform reaching end of life on 9 April 2019, this is expected to be the final IO Platform release.

This maintenance release upgrades the versions of a number of the projects in the Platform:

  • Spring AMQP 2.0.12
  • Spring Batch 4.0.3
  • Spring Cloud Connectors 2.0.5
  • Spring Data Kay-SR14
  • Spring Framework 5.0.13
  • Spring HATEOAS 0.25.1
  • Spring Integration 5.0.13
  • Spring Retry 1.2.4
  • Spring Security JWT 1.0.10
  • Spring Security OAuth 2.2.4
  • Spring Security 5.0.12
  • Spring Session Apple-SR9
  • Spring Web Services 3.0.7
Read more...

Spring IO Platform Brussels-SR17

I am pleased to announce that Spring IO Platform Brussels-SR17 is now available from both repo.spring.io and Maven Central.

This maintenance release upgrades the versions of a number of the projects in the Platform:

  • Spring AMQP 1.7.13
  • Spring Boot 1.5.20
  • Spring Cloud Connectors 1.2.8
  • Spring Data Ingalls SR20
  • Spring Framework 4.3.23
  • Spring Integration 4.3.20
  • Spring Retry 1.2.4
  • Spring Security 4.2.12
  • Spring Security JWT 1.0.10
  • Spring Security OAuth 2.0.17
  • Spring Web Services 2.4.5

The versions of a number of third-party dependencies have also been updated.

Read more...

Lazy Initialization in Spring Boot 2.2

The recently announced first milestone of Spring Boot 2.2 introduces support for lazy initialization. This post describes the new functionality and explains how and when to enable it.

What Does it Mean to be Lazy?

Spring Framework has had support for lazy bean initialization since before its source code moved to Git 11 years ago. By default, when an application context is being refreshed, every bean in the context is created and its dependencies are injected. By contrast, when a bean definition is configured to be initialized lazily it will not be created and its dependencies will not be injected until it’s needed.

Read more...

Memory footprint of the JVM

The JVM can be a complex beast. Thankfully, much of that complexity is under the hood, and we as application developers and deployers often don’t have to worry about it too much. With the rise of container-based deployment strategies, one area of complexity that needs some attention is the JVM’s memory footprint.

Two kinds of memory

The JVM divides its memory into two main categories: heap memory and non-heap memory. Heap memory is the part with which people are typically the most familiar. It’s where objects that are created by the application are stored. They remain there until they are no longer referenced and are garbage collected. Typically, the amount of heap that an application is using will fluctuate as a function of the current load.

Read more...

Spring Boot 2.2 M1

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

Highlights of this first milestone include:

  • Spring Data Moore M2
  • Significantly faster binding of large numbers of configuration properties
  • Opt-in support for lazy bean initialization (there will be more on this in a subsequent blog post)
  • JMX is now disabled by default
  • Numerous dependency upgrades
  • Faster startup and lower memory footprint when using the Actuator
Read more...

Spring IO Platform Cairo-SR7

I am pleased to announce that Spring IO Platform Cairo-SR7 is now available from both repo.spring.io and Maven Central.

This maintenance release upgrades the versions of a number of the projects in the Platform:

  • Reactor Bismuth-SR15
  • Spring AMQP 2.0.11
  • Spring Batch 4.0.2
  • Spring Data Kay-SR13
  • Spring Framework 5.0.12
  • Spring Integration 5.0.11
  • Spring Kafka 2.1.12
  • Spring REST Docs 2.0.3
  • Spring Retry 1.2.3
  • Spring Security 5.0.11
  • Spring Session Apple-SR8
  • Spring Web Services 3.0.6

The versions of a number of third-party dependencies have also been updated.

Read more...