Skip to content

Version 4.0.0

Compare
Choose a tag to compare
@nivertius nivertius released this 15 Apr 16:11
· 60 commits to master since this release
v4.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 by ProxyService.
    • 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
  • Query

    • Restrict extensions to package for queries
    • Allow filtering AnnotationQuery by unrelated type
    • Set filtering elements of query by Type, not Class
    • TypeFilter now accepts Type instead of Class
    • Remove barely used RelatedTypeQuery
    • Change GenericsQuery into more readable TypeView
  • 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