Skip to content

armeria-0.25.0.Final

Choose a tag to compare

@trustin trustin released this 10 Sep 01:58
· 4615 commits to main since this release

New features

  • #251 Add the getter for SSLSession to ServiceRequestContext

    • A user can get the information about the current TLS session via ServiceRequestContext.sslSession().
  • #252 Add HttpObject.isEndOfStream()

  • #254 Fluent API for building virtual hosts with ServerBuilder

    ServerBuilder sb = new ServerBuilder();
    sb.serviceAt(...) // default virtual host service 1
      .serviceUnder(...) // default virtual host service 2
      .withVirtualHost("*.foo.com")
      .serviceAt(...) // virtual host service 1
      .serviceUnder(...) // virtual host service 2
      .and().build();
    
  • #260 Add support for server-side TMultiplexedProtocol

    THttpService.of(ImmutableMap.of(
            "", (Iface) name -> "none:" + name, // default service
            "foo", (Iface) name -> "foo:" + name, // service 'foo'
            "bar", (Iface) name -> "bar:" + name)) // service 'bar'
    
  • #261 Change metric name of http request/response

    • GET/POST to ${path}#GET/${path}#POST

Improvements

  • #256 Update Netty to 4.1.5.Final
  • #262 Include server-side stack trace in a Thrift client exception

Bug fixes

  • #262 Fix ClassCastException when using Thrift binary type
  • #264 Use daemon threads for default ClientFactory threads
  • #265 Fix NPE in HttpFileServiceTest for files without a detectable mime type
  • #268 Do not set 'connection' header for HTTP/2 messages
  • #269 Do not close Http2ObjectEncoder on an HTTP/2 SETTINGS frame
  • #270 Change user-agent header to be overridable by request

Documentation

  • #257 Fix invalid regular expression in example gradle script