This release enhances the framework’s flexibility and performance by introducing a sophisticated frame-based Hint mechanism and intelligent database routing for MyBatis and JPA. Additionally, it strengthens modern architectural standards through the standardization of core interfaces and the adoption of Primary-Replica terminology.
✨ New Features
- Advanced Hint Mechanism with Frame-based Isolation
- Introduced a sophisticated Hint system to convey execution “intents” from business logic to framework modules without tight coupling.
- Implemented a logical “call frame” structure to strictly control hint visibility and isolation across nested method calls.
- Added a
propagatedattribute to the@Hintannotation to manage whether a hint leaks into nested frames. - Enhanced traceability by capturing and logging the origin (source method) of each hint, helping developers trace where execution intents are coming from.
- Database Routing Capabilities for MyBatis and JPA
- Introduced intelligent routing of
SqlSessionandEntityManageroperations between read-write and read-only contexts. - Added
RoutingSqlSessionAgentandRoutingEntityQueryto support modern Primary-Replica architectures. - Implemented fail-fast constraints to prevent unauthorized data modification when a read-only transactional hint is present.
- Introduced intelligent routing of
- Enhanced InstantActivity and InstantTranslet Support
- Introduced
InstantTransletto provide a Translet context in non-translet environments, significantly increasing framework flexibility and component reusability.
- Introduced
🚀 Improvements
- Standardization of Core Interfaces and Terminology
- Renamed rule management interfaces (e.g.,
HasAttributestoHasAttributeRules,HasParameterstoHasParameterRules) to clarify their responsibilities. - Replaced
Master-Slaveterminology withPrimary-Replicaacross all components and documentation to align with modern inclusive standards.
- Renamed rule management interfaces (e.g.,
- Enhanced Test Infrastructure and Code Quality
- Simplified test configurations and ensured consistency by adopting the
@AspectranTestannotation and migrating test resources to dedicated packages. - Added comprehensive test cases for
AnnotatedMethodInvokerto verify various parameter binding and type conversion scenarios.
- Simplified test configurations and ensured consistency by adopting the
🛠️ Dependency Upgrades
- JLine (4.0.12)
- Jetty (12.1.8)
- Lettuce (7.5.1.RELEASE)
- OGNL (3.4.11)
- Hibernate Core (7.3.1.Final)
Juho Jeong NEWS
Release