Skip to content

2.15.3-beta6

Compare
Choose a tag to compare
@k163377 k163377 released this 05 Nov 14:36
· 186 commits to main since this release
d87f1fc

Enhancements

Improve efficiency of reflection cache

The problem of infrequently used caches being retained has been eliminated, and the maximum number of records to be retained as a cache has been reduced.
See #164 for details.

Please note that the reflectionCacheSize property has been removed and split into initialCacheSize and maxCacheSize.

Improved efficiency of strictNullCheck

Previously strictNullCheck was done by Kogeras own Converter, but now JsonSetter(contentNulls = FAIL) is used.
This makes null checking more efficient and error messages clearer (from now on InvalidNullException will be thrown).

If you have implemented findSetterInfo by your own AnnotationIntrospector, or if your JsonSetter annotation has a non-DEFAULT value for contentNulls, the strictNullCheck may not work as intended.
Also, although unconfirmed, there is a possibility that the behavior may change when the Converter (Deserializer) is no longer used.
#159

Jackson version is updated

#160

Breaking changes

The JsonUnbox annotation has been renamed to the JsonKUnbox

#158

Bigfixes

Correction of ValueParameter.isPrimitive was incorrect

#162