Skip to content

SpringFlow v0.4.0 - Spring Boot 4.0.1 + Java 25

Choose a tag to compare

@tky0065 tky0065 released this 27 Dec 21:02
· 90 commits to main since this release

🚀 Major Framework Upgrade

Complete migration to Spring Boot 4.0.1 and Java 25 with enhanced compatibility and performance.

What's New

  • Spring Boot 4.0.1 - Latest Spring Boot with Jakarta EE 11 and native compilation support
  • Java 25 - Minimum version (backwards compatible to Java 17) with virtual threads support
  • ByteBuddy 1.17.0 - Java 25 module system support with ASM 9.8
  • SpringDoc 2.8.14 - Jackson 3 compatible
  • Kotlin 2.2.0 - Latest version for Spring Boot 4.0
  • MapStruct 1.6.3 - Improved performance

Key Enhancements

✅ Java 25 module system support with --add-opens flags
✅ Enhanced JVM configuration for dynamic class loading
✅ GitHub Actions CI testing on Java 17, 21, and 25
✅ lombok-mapstruct-binding for better Lombok compatibility
✅ Fixed Spring Data JPA API changes (Specification vs PredicateSpecification)

Tested & Working

✅ REST API endpoints
✅ ByteBuddy dynamic controller generation
✅ DTO mapping with depth control
✅ Pagination & filtering
✅ Soft delete
✅ GraphQL schema generation
✅ Swagger UI

Installation

Maven:

<dependency>
    <groupId>io.github.tky0065</groupId>
    <artifactId>springflow-starter</artifactId>
    <version>0.4.0</version>
</dependency>

Gradle:

implementation 'io.github.tky0065:springflow-starter:0.4.0'

Migration from 0.3.x

  1. Update Java to 25 (or stay on 17/21)
  2. Update SpringFlow to 0.4.0
  3. Add JVM flags if using Java 25 (see documentation)
  4. Rebuild: ./mvnw clean install

Known Issues

⚠️ GraphQL controller generation has annotation copying issue (REST fully functional)
⚠️ 4 test files temporarily disabled pending Spring Boot 4.0 test framework updates

Fully backward compatible with v0.3.2 - No breaking changes


📖 Full Changelog
🐛 Report Issues
💬 Discussions