Skip to main content

v4.0.0 (2019-05-09)

The minimum runtime is raised to Java 8. Core APIs move toward standard JDK functional interfaces, with changes to Web extensions and configuration loading.

Scope

  • Java baseline, Core binding and AOP, and the Web filter chain

Changes

  • Added
    • Make @Aop and @MappingTo repeatable; allow return values from InvokerFilter and InvokerChain.
    • Add Bean creation listeners for callbacks when objects are created.
    • Support Reader and InputStream as main configuration sources, and additional sources configured in code.
  • Improved
    • Move Provider and Matcher usage toward Supplier and Predicate, respectively; upgrade ASM to 7.0.
    • Discover framework configuration through META-INF/hasor.schemas; support merging configuration indexes when packaging.
  • Fixed
    • Fix constructors handling double and long parameters, and AOP exclusions in package-info in the default package not being loaded.

Upgrade notes

  • Use Java 8 or later for compilation and runtime. Adapt custom binding and filter-chain implementations to the new signatures.
  • When merging JARs, retain the META-INF/hasor.schemas content from every module rather than only one source.