Skip to main content

v2.0.0 (2015-11-27)

Scope

  • Core injection, lifecycle, and the Web module boundary

Changes

  • Added
    • Add @Inject and @Init for annotation-based injection and initialization.
    • Add a JVM shutdown hook and WebApiBinderWrap.
    • Introduce JSON utilities and upgrade ASM to 5.0 to support Java 8 class files.
  • Improved
    • Rename StartModule to LifeModule, add onStop, and adjust the timing of onStart and container startup events.
    • Allow Settings to be passed to environment initialization and constructors.
    • Remove ResultModule, separate the MVC plugin, and move the MVC framework to haweb.
  • Fixed
    • Fix bytecode handling of long, float, and double; exclude classes in java and javax packages from AOP.

Upgrade notes

  • StartModule is renamed to LifeModule; update lifecycle implementations to add or adapt onStop.