Changelog
The version update history of
KavaRefis recorded here.
Pay Attention
We will only maintain the latest API version. If you are using an outdated API version, you voluntarily renounce any possibility of maintenance.
Notice
To avoid translation time consumption, Changelog will use Google Translation from Chinese to English, please refer to the original text for actual reference.
Time zone of version release date: UTC+8
1.1.0 | 2026.06.06 latest
kavaref-core
- Added platform base module integration while keeping the core API unchanged. Add kavaref-android or kavaref-jvm according to the target platform
- Added
MethodCondition.genericReturnType(...)andMethodCondition.defaultValue(...)conditions - Adjusted the internal implementation of
ExecutableConditionto avoid directly depending onExecutableon lower Android versions - Moved platform-specific member access, accessibility, annotation, and generic handling to platform base modules
kavaref-android
- Added Android platform base module with support for using
KavaRefin environments with Min SDK 21 - Added Android Lint rules
- Added R8/ProGuard configuration and Android platform logging implementation
kavaref-jvm
- Added JVM platform base module with full JVM reflection support
- Added JVM platform logging implementation while keeping the original JVM usage experience
kavaref-extension
- Optimized constructor argument matching in
createInstance()for lower Android version compatibility - Optimized the type resolution implementation of
Type.toClass()
1.0.3 | 2026.05.28 stale
kavaref-core
- Unified the member accessibility handling of
MethodResolver,FieldResolver, andConstructorResolver - Optimized annotation handling in
MemberProcessorand improved condition mismatch messages - Fixed an issue where failed string type resolution in optional mode could incorrectly match
Any
kavaref-extension
- Adjusted the behavior of
makeAccessible(), which now returnsBooleanto indicate whether succeeded, and supports usingtrySetAccessible()to set accessibility - Optimized the constructor cache logic of
createInstance()and added constructor accessibility checks
Historical Versions
kavaref-core
1.0.2 | 2025.09.23 stale
- Remove the
org.slf4j:slf4j-simpledependency to fix conflict issues in SpringBoot projects - Remove the deprecated
T.resolve()method to avoid its scope contamination. If you still haven't migrated, please follow the documentation instructions to migrate toT.asResolver()
1.0.1 | 2025.07.06 stale
T.resolve()has been deprecated because it has namespace pollution problems. It is now recommended to migrate toT.asResolver()- Removed the residual
blockmethod inKavaRef. If this method is used, you can manually implement it withapply
1.0.0 | 2025.06.25 stale
- The first version is submitted to Maven
kavaref-extension
1.0.2 | 2025.12.13 stale
- Added
TypeReffeature, which can be used to preserve generic information at runtime
1.0.1 | 2025.07.06 stale
- Fixed an issue where the return type of
loadOrNullisClass<*>?instead ofClass<Any>?inVariousClass
1.0.0 | 2025.06.25 stale
- The first version is submitted to Maven