Spring Fu 0.3.0 and beyond

Releases | Sébastien Deleuze | May 28, 2020 | ...

I am happy to announce that Spring Fu 0.3.0 is available. As a reminder, Spring Fu is an incubator for Spring Boot programmatic configuration using DSLs in order to configure it explicitly with code in a declarative way, achieving great discoverability thanks to auto-complete.

JaFu is back!

This new milestone brings back JaFu (the Java DSL) in addition to KoFu (the Kotlin DSL). JaFu was removed in 0.1.0 because at that point, I had not the bandwidth to support both Java and Kotlin DSLs, and in term of API I was not sure that the Java variant was attractive enough to justify such effort, but I…

Spring Tools 4.6.2 released

Releases | Martin Lippert | May 28, 2020 | ...

Dear Spring Community,

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

Highlights from this release include:

  • (Spring Boot) improvement: additional check to auto-connect live hovers only when actuators are on the project classpath (#450)
  • (Spring Boot) improvement: added content assist for keys that exist in YAML and properties files (#427)
  • (Spring Boot) improvement: Yaml editor gives error when using @..@ placeholders (#190)
  • (Spring Boot) bugfix: super type hierarchy lookup might fail
  • (Spring Boot) bugfix: quickly restarting app caused error popup from live hover mechanism to show up
  • (Eclipse) improvement: early access version of new Spring symbols view
  • (Eclipse) performance: fixed several issues that could have caused slowing down source code editing in the Java editor (#435) (#405

What's new in Spring Data Elasticsearch 4.0

Engineering | Mark Paluch | May 27, 2020 | ...

This article continues our blog post series on What’s new in Spring Data Neumann. Today’s installment explains New and Noteworthy in Spring Data Elasticsearch. This blog post was written by P.J. Meisch who maintains the Spring Data Elasticsearch module.

This release addresses more than 140 issues, with more than 30 bugs fixed.

Spring Data Elasticsearch now uses Elasticsearch 7, 7.6.2 in particular. Elasticsearch clusters running on 6.x versions are not supported anymore. The ElasticsearchTemplate class is deprecated as it uses the TransportClient to access Elasticsearch, which itself is deprecated since Elasticsearch version 7.+ Users should switch to ElasticsearchRestTemplate or ReactiveElasticsearchTemplate

This Week in Spring - May 26th, 2020

Engineering | Josh Long | May 27, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How're things? My family and I spent the Memorial Day holiday weekend mostly playing video games and trying random new restaurants for delivery. Now, it's back to the grind and there are a ton of things to look at so let's get to it!

Getting Started With RSocket: Testing Spring Boot Responders

Engineering | Ben Wilcock | May 24, 2020 | ...

Reading time: about 6 minutes Coding time: about 15 minutes

If you've been following this series, by now, you'll have built a Spring Boot prototype that illustrates many of the features present in RSocket. This code isn’t production code, though; it's a prototype, a stepping stone on your RSocket journey. For production code, I'd expect all the usual quality assurance and testing rules to apply. So in this exercise, I'll show you how to write integration tests for RSocket responders, so you can get one step closer to production.

But first, what do I mean by integration testing?

Integration…

Migrating to Spring Data JDBC 2.0

Engineering | Jens Schauder | May 20, 2020 | ...

With Spring Data JDBC 2.0, we had to introduce some breaking changes. The goal of this article is to help in the migration process.

TL;DR

  1. Use the default letter casing for custom column and table names or quote the names for table generation exactly as used in the annotations.

  2. Use AbstractJdbcConfiguration for custom configuration of the application context.

  3. Register a Dialect if necessary.

  4. Review event-handling code and ensure the data you try to use is not null.

Quoting of Identifiers

Spring Data JDBC 1.x uses table and column names mostly without changing them. This causes…

Spring Cloud Data Flow 2.5.1 Released

Releases | Janne Valkealahti | May 20, 2020 | ...

Spring Cloud Data Flow team is pleased to announce the release of 2.5.1.

This release includes some bug fixes with the some of the notable changes as follows:

  • DeploymentProperties parsing fixes.
  • Removed behaviour for server to attempt to contact dockerhub during a start.
  • Fixes to dataflow client to re-authorize when oauth client credentials are used.
  • Liveness and readiness probe changes to kubernetes deployment files.
  • Upgrades to Spring Boot 2.2.7 and Spring Cloud Hoxton.SR4. New dependencies from these fixed an issue in Spring Data Rest which caused repository mappings DATAREST-1502 to stop working and effectively caused UI and Skipper to start behaving erratically in Data Flow 2.5.0.

This Week in Spring - May 19th, 2020

Engineering | Josh Long | May 19, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! What a wonderful, bootiful week it's been! This last week saw the long-awaited release of Spring Boot 2.3.0!

There are a lot of wonderful features in this release including, but not limited to, Java 14 support, Docker image generation, graceful shutdown, liveliness probes, upgrades to Spring Data Neumann, and so much more. Here are some resources on some of those features. And, also, check out the blog.

  • R2DBC support (see this Spring Tips installment on using R2DBC
  • Docker container image support. See this blog on Docker image generation
  • Java 14 support. See this Spring Tips installment on Java 14
  • This is also the version to use if you want to consume the Graal Native Image builder feature. Here's a Spring Tips video on that, too.

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime 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