The Spring Blog

Engineering
Releases
News and Events

Spring Tools 4.0.1 released

Dear Spring Community,

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

Highlights from this release include:

  • (Eclipse) added support for Buildship 3.0
  • (Eclipse) added Tomcat server adapters back to default distribution
  • (Concourse) updated S3 params to latest changes
  • (Spring Boot suppport in general) various bug fixes

To download the distribution for Eclipse and find links to the marketplace entries for Visual Studio Code and Atom, please go visit:

Read more...

Spring Security OAuth2 Auto-config 2.0.6 & 2.1.0 Released

I’m pleased to announce on behalf of the community Spring Security OAuth2 Boot Auto-config 2.0.6 and 2.1.0.

Both releases primarily deliver bug fixes and dependency version updates along with some minor improvements. Of particular note is that these align with recent releases of Spring Boot.

Note that for 2.1.0, gaps in configuration of keys between Resource Server and Authorization Server were brought into parity. Now, it’s possible on the Authorization Server side to configure a single key:

security:
  oauth2:
    authorization:
      jwt:
        key-value: ${PRIVATE_KEY}
Read more...

Spring Session Bean GA Released

This post was authored by Vedran Pavić

On behalf of the community, I’m pleased to announce the general availability of Spring Session BOM Bean. This is the first release based on Spring Session 2.1 and can be easily consumed with freshly released Spring Boot 2.1. Please read on for the highlights of the release.

Same-Site Cookie is another mechanism that helps developers to protect from Cross-Site Request Forgery. Our DefaultCookieSerializer has been enhanced to support adding SameSite attribute to session cookie produced by Spring Session. The SameSite attribute is enabled by default with value Lax and is customizable using DefaultCookieSerializer#setSameSite.

Note that the equivalent support for WebSession is present in the Spring WebFlux itself starting with Spring Framework 5.1.

Read more...

Spring Cloud for Alibaba 0.2.0 released

Hi! Today, we’re very excited to announce the first preview release of Spring Cloud Alibaba.

The Spring Cloud Alibaba project, consisting of Alibaba’s open-source components and several Alibaba Cloud products, aims to implement and expose well known Spring Framework patterns and abstractions to bring the benefits of Spring Boot and Spring Cloud to Java developers using Alibaba products.

NOTE: The Spring Cloud Alibaba project is a community project maintained by Alibaba.

NOTE: Version 0.2.0.RELEASE is compatible with the Spring Boot 2.0.x line. Version 0.1.0.RELEASE is compatible with the Spring Boot 1.x line.

Read more...

Spring Boot 2.1.0

On behalf of the Spring Boot team and everyone that has contributed, it’s my pleasure to announce that Spring Boot 2.1.0 has been released and is available now from repo.spring.io, Maven Central and Bintray. This release adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.

What’s new in 2.1

Third-party library upgrades

We’ve upgraded to the latest stable releases of other third-party libraries wherever possible. Some notable dependency upgrades in this release include:

Read more...

Spring Batch 4.1 goes GA!

I am pleased to announce that Spring Batch 4.1.0.RELEASE is now available.

What’s New in Spring Batch 4.1 GA

This release adds the following features:

  • A new @SpringBatchTest annotation to simplify testing batch components
  • A new @EnableBatchIntegration annotation to simplify remote chunking and partitioning configuration
  • Support for reading and writing data in JSON format
  • Support for validating items with the Bean Validation API
  • Support for JSR-305 annotations
  • Enhancements to the FlatFileItemWriterBuilder API
Read more...

Spring Integration 5.1 goes GA!

On behalf of Spring Integration team I am pleased to announce that the 5.1.0.RELEASE for the Spring Integration is available.

It can be downloaded from Maven Central, JCenter, and our release repository:

compile "org.springframework.integration:spring-integration-core:5.1.0.RELEASE"

First of all I would like to thank all community members for their ongoing active contributions to the framework!

Besides the regular dependencies upgrades, bug fixes and internal performance improvements here are some notable new features introduced in this version:

Read more...

Spring for Apache Kafka 2.2 Released

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

While the 2.1.x release is compatible with the 2.0.0 kafka-clients jar, (since 2.1.9), this version requires 2.0.0 (and provides a 2.0.0 embedded broker for testing).

Highlights

  • The SeekToCurrentErrorHandler can now "skip" records that fail repeatedly

  • Such "skipped" records can be published to a dead-letter topic (or otherwise disposed of by application code)

    • Headers are added with diagnostics about the failure

  • When using transactions, the same functionality can be achieved with the default AfterRollbackProcessor

  • You can now use the listener container factory to create any arbitrary listener container, not just containers for @KafkaListener s

    • This allows more convenient use of Spring Boot’s auto configuration properties for any container

  • @KafkaListener annotations can now override the container factory’s concurrency and autoStartup properties

  • The new ErrorhandlingDeserializer can catch deserialization exceptions which are then routed to the ErrorHandler

  • The embedded kafka broker can now be used with JUnit 5 tests

For more information see the What’s New chapter in the documentation and the change log.

In addition, Spring Integration for Apache Kafka (spring-integration-kafka) 3.1.0.RELEASE is available; it is based on Spring for Apache Kafka 2.2 and Spring Integration 5.1.

Read more...

Spring Data Lovelace SR2 released

On behalf of the Spring Data team, I’d like to announce the availability of the Lovelace SR2 maintenance release. This release builds on the just-released Spring Framework 5.1.2 service release. Lovelace SR2 is the version that you will get with Spring Boot 2.1 GA that is scheduled for the next few days. If you use Spring Boot 2.0.x and want to consume this service release, you can set the version property (spring-data-releasetrain.version) to Lovelace-SR2.

This service releases ships with 32 tickets fixed.

Read more...