Skip to content

armeria-0.40.0

Choose a tag to compare

@trustin trustin released this 17 Mar 05:21
· 4350 commits to main since this release

New features

  • #423 Add service documentation support for GRPC to DocService
    • See here to learn how to show the docstrings of your .proto file with DocService.
  • #423 Add an HTTP content decoding client decorator - HttpDecodingClient
  • #446 Add MediaTypeSet which provides the methods useful for HTTP content negotiation
    • SerializationFormat.mediaTypes() now returns MediaTypeSet instead of Set<MediaType>. It should be OK because MediaTypeSet implements Set<MediaType>.
  • #449 Add an option to enable or disable HTTP/1 pipelining - SessionOption.USE_HTTP1_PIPELINING
    • HTTP/1 pipelining is enabled by default. To turn it off:
      • Add the -Dcom.linecorp.armeria.defaultUseHttp1Pipelining=false option to JVM or
      • Set the SessionOption.USE_HTTP1_PIPELINING option to false when creating an AllInOneClientFactory.

Improvements

  • #448 Add more sanity checks for Thrift replies to THttpClient
    • All Thrift clients now reject the Thrift reply with mismatching sequence ID.

Bug fixes

  • #443 #446 THttpService does not handle HTTP accept header correctly.
  • #447 RequestLog.statusCode() is not set on server-side timeout.
  • #449 Fix various issues with client-side HTTP/1 connection management and protocol encoding