This Week in Spring - April 28th, 2020

Hi, Spring fans! Welcome to another installment of This Week in Spring! It’s already April 28th, 2020. I can’t even believe it.

The time sure is flying, not just since the last time we spoke in this little blog of ours, but also since I first started writing these roundups the first week of January 2011. In four short months, it’ll have been ten years since I officially joined the Spring team! Crazy.

It’s also the case that time has flown by since this #COVID19 crisis forced much of the world into lockdown. I am an eternal optimist, and I was wondering if this COVID19 crisis was going to have a silver lining. For us here at the Long household, it’s been a gift for me to be able to hang out with my family. My little girl is making really good progress learning how to program, too. She’s already good with basic control flow, variables, functions, etc., all just since we went into lockdown. I’ve become a homeschooling parent. It’s been a lot of fun renewing my maths fundamentals with her. She’s a remarkable kid.

Read more

Spring Data Neumann RC2, Moore SR7, and Lovelace SR17

On behalf of the team, I’m pleased to announce Spring Data releases Neumann RC2, Moore SR7, and Lovelace SR17. This triple-feature is built on top of today’s Spring Framework releases 5.2.6 (Neumann and Moore) and 5.1.15 (Lovelace).

Spring Data Neumann RC2 contains 96 new features, improvements, and fixes. Spring Data Moore SR7 ships with 40 fixes and improvements. Finally, Spring Data Lovelace SR17 includes 39 selected fixes.

Spring Data Neumann RC2 ships with numerous improvements and new features. The most interesting amongst these are:

Read more

Spring Framework 5.2.6, 5.1.15, 5.0.17, and 4.3.27 available now

On behalf of the team and everyone who has contributed, I am pleased to announce a full round of Spring Framework releases.

Spring Framework 5.2.6 includes 46 fixes and improvements. Spring Framework 5.1.15 includes 16 selected fixes and improvements.

Maintenance releases for 5.0.x (5.0.17) and 4.3.x (4.3.27) with 12 selected fixes and improvements and 5 selected fixes and improvements respectively are also available today.

As usual, we’ll follow up shortly with corresponding Spring Boot releases (2.2.7 and 2.1.14) as well as a release candidate for Spring Boot 2.3!

Read more

Announcing Spring Cloud Stream Horsham.SR4 (3.0.4.RELEASE) and Spring Cloud Hoxton.SR4

We are pleased to announce the release of the Spring Cloud Stream Horsham.SR4 (3.0.4.RELEASE) release train which is available as part of Spring Cloud Hoxton.SR4 and builds on Spring Boot 2.2.6 and Spring Cloud Function 3.0.6.RELEASE which was also just released.

Spring Cloud Stream Horsham.SR4 modules are available for use in the Maven Central repository.

This release contains several fixes and enhancements primarily driven by user’s feedback, so thank you.
For more details please follow these links:
- Spring Cloud Stream Core
- Spring Cloud Stream Rabbit Binder
- Spring Cloud Function

Read more

Spring Cloud Data Flow 2.5.0.RC1 Released

Spring Cloud Data Flow team is pleased to announce the first milestone release of 2.5.0.RC1.

This first release candidate of 2.5.0 adds some bug fixes and the following features:

  • Support application metadata as part of the Container images. Before this release, we only supported application property whitelisting when using a maven artifact.

  • Support for Azure AD integration using OAuth 2.0. Spring Cloud Data Flow, Spring Cloud Skipper servers along with the Spring Cloud Data Flow shell can be configured to integrate with Azure AD for authentication and authorization.

  • Removal of Scheduler task launcher component when scheduling tasks. In Spring Cloud Data Flow 2.3.x, the scheduling of tasks was designed to have an intermediate scheduler task launcher component to enhance the continuous deployment user experience. Since this component added some additional complexities and overhead on Kubernetes, the 2.5.x release removed this intermediary task launcher. We also added a migration tool to migrate the schedules from 2.3.x and 2.4.x

  • Unification of Kubernetes Scheduler properties. This feature lets the user configure any supported/applicable task deployment properties at the time of scheduling them as well.

Read more

Spring Tips: Configuration

speaker: Josh Long (@starbuxman)

Hi, Spring fans! Welcome to another installment of Spring tips! in this installment, we’re going to look at something that’s rather foundational, and something that I wish I’d addressed earlier: configuration. And no, I don’t mean functional configuration or java configuration or anything like that, I’m talking about the string values that inform how your code executes. the stuff that you put in application.properites. that configuration.

All configuration in Spring emanates from the Spring Environment abstraction. The Environment is sort of like a dictionary - a map with keys and values. Environment is just an interface through which we can ask questions about, you know, the Environment. The abstraction lives in Spring Framework and was introduced in Spring 3, more than a decade ago. up until that point, there was a focused mechanism to allow integration of configuration called property placeholder resolution. This environment mechanism and the constellation of classes around that interface more than supersede that old support. if you find a blog still using those types, may I suggest you move on to newer and greener pastures? :)

Read more

Spring Tools 4.6.1 released

Dear Spring Community,

I am happy to announce the 4.6.1 release of the Spring Tools 4 for Eclipse, Visual Studio Code, and Theia.

Highlights from this release include:

  • (Spring Boot) improvement: Spring yaml validation doesn’t understand the “<<:” syntax (#440)
  • (Spring Boot) improvement: YAML Property completion: Superclass properties not detected in case of List or Map (#449)
  • (Spring Boot) improvement: improved performance for content-assist for Spring XML config files
  • (Spring Boot) bugfix: Quick Fix for unknown properties broken (#442)
  • (Eclipse) improvement: early access builds on Eclipse 2020-06 milestone builds available
  • (Eclipse) improvement: reduced timeout for ls-based content-assist for the Java Editor, so broken or slow language server behavior should not damage JDT content-assist experience anymore
  • (Eclipse) improvement: vastly reduced communication traffic around classpath changes between Eclipse and the Spring Boot language server
  • (Eclipse) improvement: async retrieval of properties of remote apps in boot dashboard to avoid UI freezes or delays
  • (Eclipse) bugfix: org.eclipse.mylyn.wikitext.markdown required to update to 4.6.0 (#429)
  • (Eclipse) bugfix: remote targets in boot dashboard always re-appeared after deleting them
  • (Eclipse) bugfix: errors being logged at language server startup, related LSP4E rename handler
  • (VSCode): Visual Studio Code extensions now available from the marketplace
Read more

Spring HATEOAS brings you new ways to configure clients

Dear Spring community,

With Spring HATEOAS’s recent 1.1.0.M3 release, we bring you a new way to configure clients!

The first step in building hypermedia-based services may be configuring your server, which Spring HATEOAS has provided for a long time through its @EnableHypermediaSupport().

The next major step is building a client that can parse that hypermedia output. This has always been available, but it required you to know some of the deepest innards of the Spring Framework.

Until today.

With the latest version of Spring HATEOAS, it has been made much easier to configure RestTemplate, WebClient, or WebTestClient instances.

Read more

This Week in Spring - April 21st, 2020

Hi, Spring fans! Welcome to another installment of This Week in Spring! It’s been another fun-filled week since we last spoke. I just finished presenting an online talk for the Norwegian jaavBin Java User Group association - that was a ton of fun! - and now I’m preparing tomorrow’s “Spring Tips” installment.

And, without further ado, let’s get to it!

Read more