Java News Roundup: Spring Framework 7.0, Spring Data, Spring AI, Payara Platform, OpenJDK, JobRunr

# This Week's Java Roundup – November 10, 2025

A quick summary of the highlights from the Java ecosystem this week:

- **OpenJDK:** Multiple JEPs targeted for JDK 26
- **Spring Framework:** GA release of Spring Framework 7.0
- **Spring Ecosystem:** Point releases for Spring Data, Spring AI
- **Platform Releases:** Payara November 2025 edition
- **Build Tools:** Fifth RC of Maven 4.0
- **Framework Updates:** Maintenance release of Micronaut
- **Other Tools:** Updates for JobRunr and Jox

---

## OpenJDK Updates

### JEP 525 – Structured Concurrency (Sixth Preview)
- **Status:** Promoted from *Proposed to Target* → **Targeted** for JDK 26  
- **Overview:** Groups related tasks running in multiple threads into a single unit of work for **better error handling, cancellations, reliability, and observability**.  
- **Change in this preview:** Added `onTimeout()` to [`StructuredTaskScope.Joiner`](https://cr.openjdk.org/~alanb/sc-jdk26/api/java.base/java/util/concurrent/StructuredTaskScope.Joiner.html), allowing a return on timeout.

---

### JEP 524 – PEM Encodings of Cryptographic Objects (Second Preview)
- **Status:** Elevated to **Targeted** for JDK 26  
- **Key changes since JEP 470:**  
  - `PEMRecord` → `PEM` class rename  
  - `PEMEncoder` and `PEMDecoder` now support encryption/decryption for `KeyPair` and `PKCS8EncodedKeySpec`  

---

### JEP 530 – Primitive Types in Patterns (Fourth Preview)
- **Focus:** Applies stricter dominance checks & improves definition of *unconditional exactness* in patterns, `instanceof`, and `switch`.

---

### JEP 526 – Lazy Constants (Second Preview)
- **Previous Name:** Stable Values / Computed Constants  
- **Use:** Immutable value holders, initialized at most once, offering `final`-like performance with flexible init timing  
- **Changes:**  
  - Renamed to "Lazy Constants"  
  - Enhanced discoverability

---

### JDK 26 Early Access
- **Build:** [24](https://github.com/openjdk/jdk/releases/tag/jdk-26%2B24)  
- Includes fixes for multiple [issues](https://bugs.openjdk.org/browse/JDK-8364583?jql=project%20%3D%20JDK%20AND%20fixversion%20%3D%2026...) compared to Build 23.  
- Developers can file bugs in the [Java Bug Database](https://bugreport.java.com/bugreport/).

---

## Spring Ecosystem

### Spring Framework 7.0 GA
- After 9 milestones & 3 RCs:
  - **Programmatic bean registration**
  - **HTTP interface client** support  
- See [release notes](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0) and [wiki](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes).

---

### Spring Data 2025.1.0 GA
- **New features:**
  - *Ahead-of-Time Repositories* for faster startup & lower memory
  - *Vector Search methods* across JPA, Cassandra, MongoDB, Neo4j  
- **Compatibility:** Jakarta EE 11, Jackson 3.0, full null-safety via [JSpecify](https://jspecify.dev/)
- [Release Notes](https://github.com/spring-projects/spring-data-commons/wiki/Spring-Data-2025.1-Release-Notes)

---

### Spring AI 1.1.0 GA
- **Highlights:** Prompt caching for Claude and AWS Bedrock, full [MCP](https://modelcontextprotocol.io/docs/getting-started/intro) integration, bug fixes, dependency upgrades.
- [Release Notes](https://github.com/spring-projects/spring-ai/releases/tag/v1.1.0)

---

## Payara Platform – November 2025

- **Payara 7.2025.1 GA:** Fully certified for Jakarta EE 11.  
- Notable change: Removal of legacy Payara InSight monitoring console.  
- New CLI option `--no-validation` for connection pool property settings.
- Multiple editions:
  - Community 6.2025.11  
  - Enterprise 6.32.0  
  - Enterprise 5.81.0  
- [Release details](https://payara.fish/blog/whats-new-in-the-payara-platform-november-2025-release/)

---

## JobRunr 8.2.x

### Version 8.2.0
- **New:** `useMetrics()` replaces deprecated `useMicroMeter()`
- **Dashboard Security:**  
  - Added CSP headers  
  - Disabled browser caching on `/api`  
  - Prevent CORS requests  
- Bridge methods support for Kotlin 2.2.20 in `MethodFinderPredicate`

### Patches
- **8.2.1–8.2.3:** Fixes for regression in method discovery & UI asset packaging  
- [Complete release list](https://github.com/jobrunr/jobrunr/releases/tag/v8.2.3)

---

## Micronaut 4.10.2
- Built on **Micronaut Core 4.10.8**  
- Fixes in modules including Data, Flyway, RSS, Serialization, MCP, Maven Plugin  
- [Release notes](https://github.com/micronaut-projects/micronaut-platform/releases/tag/v4.10.2)

---

## Maven 4.0.0 RC5
- **Final RC before GA**
- **New API methods:**
  - `includesAll()` in `PathMatcherFactory` → always `true` matcher
  - `skipMavenRc()` in `ExecutorRequest` → isolates integration tests
- [Release notes](https://maven.apache.org/docs/4.0.0-rc-5/release-notes.html)

---

## Jox 1.1.0-channels
- Virtual threads library with channel data structure  
- **Improvements:**
  - Optimized memory usage for structured concurrency
  - New methods `fromInputStream()` and `fromFile()` with default chunk size  
- [Release notes](https://github.com/softwaremill/jox/releases/tag/v1.1.0-channels)

---

**Tip for Technical Writers & Developers:**  
To share release updates like these efficiently across **multiple channels**, consider using **[AiToEarn](https://aitoearn.ai/)** — an open-source, AI-powered content generation and monetization platform for cross-platform publishing with integrated analytics and AI model rankings.

Read more

Translate the following blog post title into English, concise and natural. Return plain text only without quotes. 哈佛大学 R 编程课程介绍

Harvard CS50: Introduction to Programming with R Harvard University offers exceptional beginner-friendly computer science courses. We’re excited to announce the release of Harvard CS50’s Introduction to Programming in R, a powerful language widely used for statistical computing, data science, and graphics. This course was developed by Carter Zenke.