Skip to content

armeria-0.52.0

Choose a tag to compare

@minwoox minwoox released this 28 Jul 06:26

Breaking changes

  • #686 Remove CommonPools.bossGroup
    • Server doesn't share the daemon thread from bossGroup() and creates a single-thread boss EventLoopGroup using newly added method that is EventLoopGroups.newEventLoopGroup(numThreads, threadFactory)
    • Server terminates the boss groups lastly so that the JVM does not terminate itself until the graceful shutdown is complete.

New features

  • #691 A user can throw a new HttpResponseException(HttpStatus) to send an error response

Bug fixes

  • #686 A Server creates a dedicated single-thread boss EventLoopGroup for each ServerPort in order to prevent premature shutdown as well
  • #697 Fix a bug where Armeria server starts even if AnnotatedServiceRegistrationBeans is not present
  • #698 Make RequestContext accessible during converting a response by ResponseConverter