The Spring Blog

Engineering
Releases
News and Events

Spring Boot 2.1.5 released

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Boot 2.1.5 has been released and is now available from repo.spring.io and Maven Central.

This is a maintenance release that includes a number of important dependency updates and bug fixes.

A gentle reminder that Spring Boot 1.5 will be end of life in august, so all users should now be upgrading to Spring Boot 2.1.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more...

Spring Boot 2.2 M3 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the third milestone of Spring Boot 2.2 has been released and is available from our milestone repository. This release closes over 100 issues and pull requests.

For a complete list of changes and upgrade instructions, please see the Spring Boot 2.2 Release Notes on the wiki and the updated reference documentation.

If you want to get started with 2.2 and try out the new features, you can bootstrap a new project on https://start.spring.io.

Read more...

Spring Tips: Spring Batch and Apache Kafka

Hi Spring fans! Welcome to another installment of Spring Tips (@SpringTipsLive)! In this installment we look at the just-landed community contribution in Spring Batch adding support for Apache Kafka. This new support offers some tantalizing opportunities to bridge batch and streaming workloads. Stage large writes to backend warehouses with Kafka and drain the stream with Spring Batch. Load large amounts of data from existing datastores and funnel it into stream processing pipelines. And the possibilities become even more interesting when you consider Spring Integration, Spring Cloud Stream, Spring Cloud Stream Kafka Streams, and Spring Cloud Data Flow. If you want a quick primer on Spring Batch-basics you might like this Spring Tip installment on Spring Batch from - gasp! - two years ago!

Read more...

This Week in Spring - May 14th, 2019

Hi Spring fans! Welcome to another installment of This Week in Spring! I’m in beautiful Krakow for the epic Geecon show and then I’m off to spectacular Barcelona, Spain for the Spring I/O show. I hope to see you in both locations! It’s sure to be fun. Next week it’s going to be even more crazy! Next week I’m off to Zurich, Switzerland for a visit with some customers, and then it’s off to Paris, France for the Spring One Tour event there, and then it’s off to Minsk, Belarus, for the VOXXED Days Minsk show (my first time there! I’m so excited!), and then right after that, it’s off to Barcelona, Spain for JBCN. If you’re at any of these events in the next 12 days, I’d love to chat!

Read more...

Spring Boot 1.5.21 available now

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Boot 1.5.21 has been released and is now available from repo.spring.io and Maven Central.

Spring Boot 1.5.21 is a maintenance release that includes 9 dependency updates and selected bug fixes.

If you haven’t already upgraded to Spring Boot 2, please consider doing so as support for 1.x will end on August 1st 2019.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more...

Spring Data Moore M4, Lovelace SR8 and Ingalls SR22 released

I am pleased to announce the availability of Spring Data releases Moore M4, Lovelace SR8, and Ingalls SR22. Our releases build on the most recent Spring Framework releases and are going to be picked up by Spring Boot 2.2 M3, 2.1.5 and 1.5.21 respectively.

Moore M4 is also a pre-requisite for Spring Data R2DBC 1.0 M2. It ships with 70 tickets fixed. There are a few notable new features amongst these:

  • Support for reactive transaction management for MongoDB
  • Annotation-based Collation support for MongoDB
  • Reactive Index Operations in Elasticsearch and delete by query
Read more...

Spring Integration 5.2 Milestone 2 Available

On behalf of Spring Integration team I am pleased to announce that Spring Integration 5.2.0.M2 is available.

It can be downloaded from our milestone repository:

compile "org.springframework.integration:spring-integration-core:5.2.0.M2"

Highlights

  • The RSocket channel adapters are available now for full reactive network interaction between client and server. See spring-integration-rsocket module and RSocketInboundGateway & RSocketOutboundGateway JavaDocs, respectively

  • Kotlin Jsr223 scripting support has been added into spring-integration-scripting module

  • The CacheRequestHandlerAdvice was introduced to perform caching operations on the handleRequestMessage() method in the AbstractReplyProducingMessageHandler implementations

  • The RateLimiterRequestHandlerAdvice is also available for limiting access to the handleRequestMessage() method logic

  • The Splitter component now can be configured with a discardChannel to send those request messages for which a splitting function returns empty collection

  • The MailReceiver implementations can now be configured with the autoCloseFolder = false option to not close the mail folder just after fetching, allowing a proper mail message multi-part content processing

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

Any feedback, feature ideas, critics, bug reports and questions are welcome via appropriate communication channels:

Read more...

Spring for Apache Kafka 2.3 Milestone 2

We are pleased to announce the availability of the second milestone of the Spring for Apache Kafka 2.3 release - 2.3.0.M2.

Highlights

  • SeekToCurrentErrorHandler can be configured to not retry certain exceptions.

  • The new RecoveringDeserializationExceptionHandler can recover from failed deserialization operations in Kafka Streams applications, for example to send the failed message to a dead-letter topic.

  • The new HeaderEnricher transformer can be added to a Kafka Streams topology to add headers.

  • The new MessagingTransformer can be used to invoke a Spring Integration flow within a Kafka Streams topology.

  • The new AggregatingReplyingKafkaTemplate can send a record and wait for responses from multiple consumers.

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

In addition, Spring Integration for Apache Kafka (spring-integration-kafka) 3.2.0.M2 is available; it is based on Spring for Apache Kafka 2.3 and Spring Integration 5.2.

  • The KafkaMessageSource consumer can now be paused/resumed.

  • The KafkaMessageSource consumer can now be configured to retrieve multiple records on each poll.

  • XML configuration is now available for all components.

See the Spring Integration Chapter for more information.

Read more...

Spring AMQP (Spring for RabbitMQ) 2.2 Milestone 2

We are pleased to announce the availability of the second milestone of the Spring AMQP 2.2 release - 2.2.0.M2.

Highlights

  • Spring Data "Projection Interfaces" are now supported by the Jackson message converter.

  • @RabbitListener methods can now receive batched messages as a List<?> instead of one-at-a-time.

  • You can now override the default acknowledge mode and executor directly on the @RabbitListener annotation.

For more information, see the What’s New chapter and the change logs.

Read more...

Spring Batch 4.2.0.M2 available now!

I am pleased to announce that Spring Batch 4.2.0.M2 is available now from our milestone repository.

What’s new?

This release adds a new item reader and a new item writer for Apache Kafka:

  • KafkaItemReader can read messages from a single partition or multiple partitions of the same topic. This reader stores message offsets in the ExecutionContext to support restart.
  • KafkaItemWriter uses a KafkaTemplate from the Spring for Apache Kafka project to send messages to a given topic.

I would like to thank Mathieu Ouellet for his amazing contribution in adding support for Apache Kafka in Spring Batch!

Read more...