Spring Data 2021.0 goes GA

Releases | Mark Paluch | April 14, 2021 | ...

Dear Spring community,

On behalf of the Spring Data team and our contributors, it is my pleasure to announce that Spring Data 2021.0.0 (Codename: Pascal) is generally available from Maven Central. This release ships with features, bugfixes, and improvements that contain numerous version and driver upgrades. Note that Spring Data Solr is no longer part of the Spring Data Release Train.

This curated overview summarizes the most significant changes:

  • Introduce deleteAllById for CrudRepository and ReactiveCrudRepository.
  • Use Spring Core JFR (Java Flight Recorder) metrics.
  • QueryByExample for R2DBC and Oracle.
  • Enable type- and refactoring-safe use of KProperty and KPropertyPath for property path rendering.
  • Embedded Document support & relaxed Aggregation type checks for MongoDB.
  • Cassandra prepared statements.
  • Repository projections & function execution for Apache Geode.
  • Remove Spring Data Solr from release train.
  • Support for jMolecules.

Spring for Apache Kafka 2.7.0 Available

Engineering | Gary Russell | April 14, 2021 | ...

I am pleased to announce that Spring for Apache Kafka 2.7.0 is now available.

This release contains a significant enhancement, which is a community contribution. Failed deliveries can be forwarded to a series of topics for delayed redelivery.

It is best described with an example:

@RetryableTopic(attempts = "5", backoff = @Backoff(delay = 1000, multiplier = 2.0))
@KafkaListener(id = "sk270", topics = "sk270")
public void listen(String in, @Header(KafkaHeaders.RECEIVED_TOPIC) String topic) {
    LOG.info(in + " from " + topic);
    throw new RuntimeException("test");
}

@DltHandler
public void…

Introducing Spring Cloud Square

Releases | Olga Maciaszek-Sharma | April 13, 2021 | ...

We are happy to announce that we have released the first publicly available milestone version of the Spring Cloud Square incubator project. The project provides Spring Cloud LoadBalancer integration for OkHttpClient and Retrofit, as well as non-blocking WebClient-backed Retrofit clients. Retrofit is a declarative HTTP client from Square.

You can find more information on how to get started with the project below. You can also check the project repository and project documentation .

OkHttpClient Spring Cloud LoadBalancer Integration

An application interceptor is added to the OkHttpClient created…

Spring Security 5.5.0-RC1 released

Releases | Josh Cummings | April 12, 2021 | ...

On behalf of the community, I’m pleased to announce the release of Spring Security 5.5.0-RC1!

In addition to dependency upgrades, bug fixes, and minor enhancements, the release candidate contains a few noteworthy changes:

  • JWT client authentication support for OAuth 2.0 clients

  • JWT bearer authorization grant support for OAuth 2.0 clients

  • AuthorizationManager, a new authorization API for filter security

  • Kotlin coroutine support for reactive method security

  • OpenSAML 4 support

This release candidate is a good opportunity to give feedback before the actual GA release in mid-May. We look…

A Bootiful Podcast: Ambassador Labs devrel director, InfoQ contributor, lifelong learner, and awesome human, and friend Daniel Bryant

Engineering | Josh Long | April 09, 2021 | ...

Hi, Spring fans! In this episode Josh Long (@starbuxman) talks to Ambassador Labs devrel director, InfoQ contributor, lifelong learner, and awesome human, and friend Daniel Bryant (@danielbryantuk).

This Week in Spring - April 6th, 2021

Engineering | Josh Long | April 06, 2021 | ...

API Rate Limiting with Spring Cloud Gateway

Engineering | Haytham Mohamed | April 05, 2021 | ...

One of the imperative architectural concerns is to protect APIs and service endpoints from harmful effects, such as denial of service, cascading failure. or overuse of resources. Rate limiting is a technique to control the rate by which an API or a service is consumed. In a distributed system, no better option exists than to centralize configuring and managing the rate at which consumers can interact with APIs. Only those requests within a defined rate would make it to the API. Any more would raise an HTTP “Many requests” error.

link to rate limit image

Spring Cloud Gateway (SCG) is a simple and lightweight component…

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