This Week in Spring - January 31st, 2023

Engineering | Josh Long | January 31, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm not going to spend too much time here in the preamble because a) today's both my birthday and my late father's birthday and b) I got the worst gift ever: COVID-19. Sigh. So, I'm going back to bed. Without further ado, let's get into this week's roundup!

Spring Cloud Azure 5.0 is now Generally Available

Engineering | Josh Long | January 26, 2023 | ...

We're very pleased to announce that Spring Cloud Azure 5.0 is now generally available.

This major release includes the following features, improvements, and documentation updates:

To try Spring Cloud Azure 5.0, simply add the following dependency BOM to your project:

<dependencyManagement>
  <dependencies…

Introducing Microservices Patterns with Spring Integration

Engineering | Artem Bilan | January 25, 2023 | ...

Hey Spring Community!

I hope you are enjoying Spring One Essentials these days. The most exciting feature for me is an Observability which is spread throughout the Spring portfolio from now on. Nevertheless, today I’d like to share with a project I’m working on since holidays, where the mentioned observability makes a perfect sense, too.

I’ll start from the far. Let’s imagine we are learning a new programming language! I do learn Go to better understand Kubernetes, for example. Of course, we deal with some primitives and basic structures, first of all. Then we implement some well-known…

This Week in Spring - SpringOne Essentials 2023 edition - January 24th, 2023

Engineering | Josh Long | January 24, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! Today is a very day for you see, today we kick off SpringOne Essentials, the online incarnation of SpringOne, online. We'll see you live, on stream, in just a few hours!.

SpringOne Essentials is going to be amazing, but before we get there, and learn about all the big things in the Spring ecosystem for the last year, let's look at all the big things in the last week, with this week's recap!

Spring Modulith 0.3 released

Engineering | Oliver Drotbohm | January 20, 2023 | ...

Hot on the heels of Spring Boot 3.0.2, I am excited to announce the 0.3 release of Spring Modulith. The release is packed with improvements. We have tweaked a couple of things that might require your attention and a couple of adapting changes to your code. The most notable changes are:

  • GH-114 – We renamed the ….modulith.model package to ….modulith.core. This primarily affects ApplicationModules. Please adapt your imports accordingly.

  • GH-120 – The documentation support now generates diagram files using the *.puml file extension, as suggested by PlantUML. Please adapt your imports accordingly.

  • GH-103ApplicationModuleInitializer implementations will be triggered upon application startup, in the order following the application module dependency structure (more core ones are invoked first). Also, ApplicationModules exposes a ….getComparator() to order Spring beans that way. Note, that this requires the JGraphT library to be on the classpath (automatically pulled in via the spring-modulith-runtime artifact). See the reference documentation for details.

Interesting new filters on Spring Cloud Gateway 4.0

Engineering | Marta Medio | January 18, 2023 | ...

Spring Cloud Gateway 4.0 is finally here! Thanks to our community contributions we have introduced new features and interesting filters.

This blog post details new noteworthy and explains some of the new filters included, how they work and how you can use it to provide more insights into your applications.

First of all, let's talk about cache! Cache is a complicated issue and that's why we have introduced two new filters related to it, but take into account that these filters can make the gateway memory constrained so use them carefully.

CacheRequestBody

Manipulating the request body can cause issues if not done properly, so we made it easy for you; with this filter we offer the possibility to cache the request body before it to the downstream and get that body from an exchange attribute. It will be available in the ServerWebExchange.getAttributes() under a key defined in ServerWebExchangeUtils.CACHED_REQUEST_BODY_ATTR

The new Spring Boot version validation and upgrade support in Spring Tools

Engineering | Martin Lippert | January 17, 2023 | ...

New releases of Spring Boot are being released on a quite frequent schedule and updating your projects to newer versions of Spring Boot is something that many teams and organizations around the globe do as part of their daily work.

Sometimes those upgrades are simple and easy, for example for new patch releases that mostly include changes to fix bugs and address CVEs. In contrast to that, upgrading to a new minor or even a new major version requires more work, including code changes to adapt to new or changed APIs, updating configurations to not use deprecated keys anymore, and more.

Each new minor or major version of Spring therefore ships with a comprehensive guide and documentation about those changes and you can read and follow to upgrade your project. A good example of this is the new migration guide for upgrading your projects to Spring Boot 3

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