Skip to content

Releases: nivertius/introspectable

5.0.0

13 Jul 10:57
v5.0.0
Compare
Choose a tag to compare

Introspectable now requires Java 11 for build. It is still targeting Java 8. It is also now possible to compile the project with Java 17.

Changes:

  • Change upper bound of Invocation parameter to Exception

Version 4.0.2

18 Apr 16:06
v4.0.2
Compare
Choose a tag to compare
  • Change license to Apache 2.0
  • Use MethodHandles#privateLookupIn rather than private Lookup
    constructor

Version 4.0.1

16 Apr 08:24
v4.0.1
Compare
Choose a tag to compare
  • Fix MethodInvocation handle creation under Java 14
  • Allow compilation/testing under Java 14

Version 4.0.0

15 Apr 16:11
v4.0.0
Compare
Choose a tag to compare

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