Skip to content

armeria-0.36.0

Choose a tag to compare

@trustin trustin released this 16 Feb 09:07
· 4389 commits to main since this release

Breaking changes

  • #392 #398 #402 Move Thrift support from com.linecorp.armeria:armeria to com.linecorp.armeria:armeria-thrift
    • You need to add armeria-thrift to your dependencies if you are using Thrift.
    • The following types had tight coupling with Thrift, and thus had to be changed in a backward-incompatible way:
      • SessionProtocol and SerializationFormat are not enums anymore.
        • HTTP-related constants in SessionProtocol have been deprecated. Use HttpSessionProtocols.* instead.
        • Thrift-related constants in SerializationFormat have been deprecated. Use ThriftSerializationFormats.* instead.
      • The constructor signature of DocService has been changed.
        • You cannot specify the sample TBase requests anymore. We are going to add this feature back in less intrusive way in the future.
        • The type of sample HTTP headers is now Multimap<Class<?>, HttpHeaders>.
  • #388 Add protocol-agnostic request/response content to RequestLog
    • RequestLog.request/responseContent() returns RpcRequest and RpcResponse rather than ThriftCall and ThriftReply.
    • To get ThriftCall or ThriftReply, use RequestLog.rawRequest/ResponseLog().
    • RequestLogBuilder.request/responseContent(...) now requires 2 parameters - one for RpcRequest/Response and the other for ThriftCall/Reply.
  • #390 Make DynamicHttpService asynchronous
  • #393 Make authorization predicates asynchronous in HttpAuthService
  • (potentially breaking) #389 Update Guava to 0.21
    • You will have a problem if you depend on other 3rd party project that depends on Guava and it uses the Guava class or method that was removed in 0.21.
    • We will try to solve this issue in the next release.

Improvements

  • #355 Support application/vnd.apache.thrift.* media types in THttpService
  • #399 #401 Prefer Ascii.toLower/UpperCase/equalsIgnoreCase() to String.toLower/UpperCase/equalsIgnoreCase()

Bug fixes

  • #391 #406 Fix incorrect inter-module dependency scope in POM
  • #394 #405 Do not log Tomcat versions twice