Skip to content

3.0.0.1-RELEASE

Compare
Choose a tag to compare
@T-baby T-baby released this 24 May 09:44
· 101 commits to master since this release
69d9868
  • Health Check plugin moved to a separate package.
  • Refactored EventBus.
  • Added a new Before and After RouteHandler mechanism. Any annotation that declares @before or @after in it and declares the - corresponding implementation handler class will automatically implement an AOP-like interception mechanism depending on whether it is Before or After.
  • @AfterEvent is implemented using the new After RouteHandler mechanism.
  • Removed the valid attribute from the previous HttpMethod annotations of the route (e.g. @get, @post).
  • Added a new @validator annotation, also implemented using the new After RouteHandler mechanism.
  • Adjusted the directory structure and naming of a large number of files.
  • All interceptions such as Handler, Intercept, and Before RouteHandler now automatically shift to 500 when an error occurs, and can now be intercepted with an error interceptor.
  • Because of the tweaks to the implementation of method-level validators, the way the health check automatically registers password validators has been rewritten.
  • EventBus supports using different implementation classes by name.
  • EventBus adds RedisMQ implementation class.
  • Fix the bug that the endHandler still tries to close the response.
  • All annotations under web package are moved to a unified folder.
  • Support registering routes manually via NextServer.registerResourceTable().
  • Optimized automatic route registration logic, reusing NextServer.registerResourceTable().
  • Optimized health plugin's route registration logic, reused NextServer.registerResourceTable().
  • Resource add responseBody variable to store the body in response.
  • Add @Cacheable annotation to the cache plugin.
  • Upgrade netty dependency to 4.1.65.Final.
  • hibernate-validator has been upgraded to 6.2.0.