Skip to main content

v4.1.2 (2020-03-04)

<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-all</artifactId>
<version>4.1.2</version>
</dependency>

Scope​

  • Web response rendering and forwarding, and Core type creation

Changes​

  • Added
    • Add @RenderType, @ForwardTo, and @RedirectTo to declare a renderer, request forwarding, and redirection, respectively.
    • Add a JSON renderer and a resource filter.
  • Improved
    • Add type checking and composition to TypeSupplier.

Upgrade notes​

  • Remove RenderEngine.initEngine; adapt custom renderers to the interface change. Set response types through Invoker.contentType.