Spring for Apache Pulsar 1.2.0-M1 is now available

Releases | Chris Bono | August 20, 2024 | ...

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring for Apache Pulsar 1.2.0-M1 has been released and is now available from https://repo.spring.io/milestone.

The release will be included in the upcoming Spring Boot 3.4.0-M2 release.

This release includes numerous enhancements, documentation improvements, bug fixes, and dependency upgrades.

Notable new features include:

  • Custom Object Mapper - you can provide your own Jackson ObjectMapper that Pulsar will use when producing and consuming JSON messages (more details)

  • Default Tenant and Namespace - you can specify a default tenant and/or namespace to use when producing or consuming messages against a non-fully-qualified topic URL (more details)

  • Updates to next minor version of Spring, Reactor, and Micrometer libraries

Spring AI with NVIDIA LLM API

Engineering | Christian Tzolov | August 20, 2024 | ...

Spring AI now supports NVIDIA's Large Language Model API, offering integration with a wide range of models. By leveraging NVIDIA's OpenAI-compatible API, Spring AI allows developers to use NVIDIA's LLMs through the familiar Spring AI API.

SpringAI-NVIDIA-API-5

We'll explore how to configure and use the Spring AI OpenAI chat client to connect with NVIDIA LLM API.

  • The demo application code is available in the nvidia-llm GitHub repository.
  • The SpringAI / NVIDIA integration documentation.

Prerequisite

  • Create NVIDIA account with sufficient credits.
  • Select your preferred LLM model from NVIDIA's offerings. Like the meta/llama-3.1-70b-instruct in the screenshot below.
  • From the model's page, obtain the API key for your chosen model.

Spring Data 2024.0.3 and 2023.1.9 released

Releases | Jens Schauder | August 19, 2024 | ...

On behalf of the team and everyone who has contributed, I’m pleased to announce the availability of 2024.0.3 and 2023.1.9 service releases. These releases ship with dependency upgrades, fixes for regressions and selected improvements.

The upcoming Spring Boot releases 3.3.3, respective 3.2.9 will pick up the above releases by next week.

2024.0.3

Spring Framework 6.1.12, 6.0.23, and 5.3.39 Available Now

Releases | Stéphane Nicoll | August 14, 2024 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Framework 6.1.12, 6.0.23 and 5.3.39 are available now. While 5.3.38 has also been released, it got superseded by 5.3.39.

Please note that OSS support for 5.3.x and 6.0.x ends on August 31, 2024. As such, 5.3.39 and 6.0.23 are meant to be the last OSS releases. Commercial support is available

Spring Framework 6.2.0-M7 Available Now

Releases | Simon Baslé | August 14, 2024 | ...

We are happy to announce the availability of the seventh milestone of Spring Framework 6.2. We shipped quite a few features since the last M6 release.

Spring Framework 6.2.0-M7 is available from repo.spring.io/milestone now, check out the detailed changelog for this version.

Core and Native Support

This release contains various improvements in the core of the framework, including to the cache abstraction's error handling. It adds a flexible multi-unit format to the previously introduced Duration parsing/printing support.

On the topic of Native Support, it is now possible to ignore bean registration during AOT processing thanks to a newly introduced attribute. Beans registered with the Kotlin DSL

Spring Framework Releases Fixes for CVE-2024-38808 and CVE-2024-38809

Releases | Rossen Stoyanchev | August 14, 2024 | ...

The Spring Framework has released versions 5.3.39, 6.0.23, and 6.1.12 that contain fixes for CVE-2024-38809, DoS via conditional HTTP requests.

The 5.3.39 release contains an additional fix for CVE-2024-38808, DoS via SpEL expression.

Note that version 5.3.39 has fixes for both CVEs. Version 5.3.38 was released earlier on the same day, and it contains the fix for CVE-2024-38809 but not CVE-2024-38808.

Upgrading Your Project

Commercial customers using Spring Boot 2.7, 3.0, or 3.1 can make use of Spring Boot Hotfix releases 2.7.21.1, 3.0.16.1, and 3.1.12.1. Releases are available now on the Spring commercial artifact repository and can be accessed with a Spring Enterprise Subscription

This Week in Spring - August 13th, 2024

Engineering | Josh Long | August 13, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's Tuesday and work is well underway to prepare for the huge SpringOne event in Las Vegas in just a few short week's time! I'm elated! So, let's get this roundup on the road so I can get back to the preparation frenzy...

Spring AI Embraces OpenAI's Structured Outputs: Enhancing JSON Response Reliability

Engineering | Christian Tzolov | August 09, 2024 | ...

OpenAI recently introduced a powerful feature called Structured Outputs, which ensures that AI-generated responses adhere strictly to a predefined JSON schema. This feature significantly improves the reliability and usability of AI-generated content in real-world applications. Today, we're excited to announce that Spring AI (1.0.0-SNAPSHOT) has fully integrated support for OpenAI's Structured Outputs, bringing this capability to Java developers in a seamless, Spring-native way.

Following diagram shows how the new Structured Outputs feature extends the OpenAI Chat API:

Restored Spring AI (2)

Note: Spring AI already provides a powerful, Model-agnostic Structured Output utilities that can be use with various AI models including the OpenAI. The OpenAI Structured Outputs feature offers an additional, consistent, but a model specific solution, currently available only to the gpt-4o, gpt-4o-mini and later models.

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