Version 4.0.0
Version 4.0.0
Every public API element now has javadoc.
This version was released to Maven Central (as opposed to previous versions).
Major:
-
Proxy
- Simplify
ProxyBuilder
. It is builder pattern separated from actual proxy instantiation byProxyService
. - Cleanup LazyInitialization
- Invocation was completely reworked. It is now a functional interface that has a MethodReference as an base
implementation. - Mark proxy services as non-public
- Simplify
-
Query
- Restrict extensions to package for queries
- Allow filtering
AnnotationQuery
by unrelated type - Set filtering elements of query by
Type
, notClass
- TypeFilter now accepts Type instead of Class
- Remove barely used
RelatedTypeQuery
- Change
GenericsQuery
into more readableTypeView
-
Other
- Rename classes in .bean package with better names
- Remove
ObjectMethods#REGISTER_NATIVES
- Copy property values only to beans
- Remove
referencedMethodName
from functional introspection - Extract
FunctionalReference.Introspection
implementation as separate class - Redesign parameter type and annotations access for
FunctionalReference
- Rename
ClassQuery
instantiation for classpath, fix non-URLClassLoader
Minor:
- Add
FieldIntrospection#typeView
- Allow unrolling repeatable annotations in
AnnotationQuery
AnnotationBuilder
is now immutable- Allow compilation in JDK 11
- Add adapter from list of annotations to query
- Allow replacement of method and arguments in
MethodInvocation