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

This Week in Spring - January 17th, 2023

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

Hi, Spring fans! Welcome to another installment of This Week in Spring! I went to Helsinki, Finland, last week, and this week I'm in Atlanta, Georgia, to speak at the Atlanta Java User Group. And, of course, next week, I'll be in New York to join a viewing party for the airing of SpringOne Essentials. You're going to join us, I trust? It's going to be awesome!

Look, it's Tuesday. Tuesdays are no fun. We're three solid days away from fun winter ski slopes from Friday. But that's OK because every day is a chance to learn. And this week's no exception: we've got a ton to look at it, so let's…

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

This Week in Spring - January 9th, 2023

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

Hi, Spring fans! As I write this I'm on a plane winging my way to Helsinki, Finland. A new year and new journeys begin. It's going to be cold there. Wish me luck! Do you know what always warms me up? The thrill of learning. And this week's no different. This week we've got some good stuff line up so let's get right into it!

I'm starting to put out easy-to-remember visual cards introducing a blink-and-you-'ll-miss-it aspect of awesomeness in the Spring ecosystem as part of my "Spring Tips" (@springtipslive) series. So now you'll be notified of not only new videos but might get some useful…

This Week in Spring - Jan 3rd, 2023

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

Hi, Spring fans! Happy new year! It's 2023 already! Who saw that comin'? I sure didn't. This year promises to be more amazing than ever, and I can't wait to be a part of it.

As usual, the first week of January is when we mark the date of the first installment of this humble roundup, This Week in Spring, waaaay back in the first week of January 2011! 12 years of This Week in Spring! Now that's consistency!

And it's only possible because of you, dear community. Thank you. You, who have been consistently excellent every week of the year for years and years, are truly the reason for the season

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