1. Spring and Java

>> From ChatMemory to the Session API in Spring AI 2.1 [spring.io]

ChatMemory is deprecated in Spring AI 2.1, and its replacement, the Session API, keeps the full conversation as an event log, so compaction no longer loses history. A clear migration guide, with a runnable demo. Nice.

>> Spring Boot 4.2 Is Out. What Will Change If You Just Bump the Version? [axelix.io]

What actually changes when you just bump to Boot 4.2? A good checklist before upgrading.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical & Musings

>> Native binary with LLVM: Write yourself a compiler, Part VII [nurkiewicz.com]

This compiler series produces a standalone native binary.

Also worth reading:

3. Pick of the Week

>> Slack’s Migration to a Cellular Architecture [slack.engineering]

The post Java Weekly, Issue 674 first appeared on Baeldung.