Skip to content

Releases: line/armeria

armeria-0.6.4.Final

22 Dec 04:58
Compare
Choose a tag to compare
  • #73 Redirect from /path to /path/
  • #74 Fix missing query string conversion in TomcatService
  • #75 Pass through non-200 HTTP responses for SimpleHttpClient
  • #76 Fix wrong call depth in TomcatService.forCurrentClassPath()

armeria-0.6.3.Final

18 Dec 08:06
Compare
Choose a tag to compare
  • #70 Fix NPE in HttpServerHandler.exceptionCaught()
  • #71 Fix missing HTTP request content in TomcatService
  • #72 Add a getter for EventLoopGroup to RemoteInvokerFactory

armeria-0.6.2.Final

10 Dec 08:01
Compare
Choose a tag to compare
  • #68 Fix a leak in a long-living HTTP/2 connection

armeria-0.6.1.Final

09 Dec 12:39
Compare
Choose a tag to compare
  • #66 Handle HTTP/2 upgrade response properly so that Netty does not complain about unhandled messages

armeria-0.6.0.Final

08 Dec 07:49
Compare
Choose a tag to compare

Visit the milestone page for the detailed change list.

Debug form (DocService)

  • Sending a debug form in a DocService page will add a URL hash which contains the content of the debug form to the current browser location. A user could share the URL, so that the recipient sees a pre-populated debug form.
  • A user can specify sample Thrift arguments when constructing a DocService so that the DocService can populate a better JSON template in a debug form.

Server-side metrics

  • Added MetricCollectingService as a preparatory step for implementing concrete metrics support

HttpService

  • Added HttpService.orElse() that allows combining two HttpService into one. e.g. HttpFileService.for(...).orElse(TomcatService.for(...)

Core

  • The name of the Logger returned by ServiceInvocationContext.logger() has changed.
    • It's armeria.services.<service_path_prefix> by default. e.g. armeria.services.hello.thrift for /hello/thrift
    • The service logger name can be customized via ServerBuilder.serviceLoggerNamePrefix() and by specifying the logger name when binding a service via ServerBuilder.service() or VirtualHostBuilder.service().
  • Renamed ServiceEntry to ServiceConfig
  • Added parent getter methods to the configuration classes for better user experience:
    • ServiceConfig.virtualHost()
    • ServiceConfig.server()
    • VirtualHost.server()
    • ServerConfig.server()
  • The signatures of the following methods have been changed:
    • Service.serviceAdded(ServiceConfig)
    • ServiceCodec.decodeRequest(ServiceConfig, ...)
    • ServiceCodec.codecAdded(ServiceConfig)
    • ServiceHandler.handlerAdded(ServiceConfig)

armeria-0.5.1.Final

01 Dec 06:04
Compare
Choose a tag to compare
  • #48: Fix the compatibility issues with the clients that send incorrect or missing Content-Type and Accept headers
  • #44: Do not send a debug request when the textarea contains an invalid JSON value

armeria-0.5.0.Final

30 Nov 06:37
Compare
Choose a tag to compare

New features

  • New Thrift protocol: TTEXT
    • Useful for debugging your Thrift service, in combination with DocService
  • A ThriftService now handles multiple protocols based on the protocol parameter of Content-Type header.
    • e.g. application/x-thrift; protocol=tcompact
  • Better interoperability with other HTTP/2 implementations
    • Now works with Jetty and cURL
  • Upgraded to Netty 4.1.0.Beta8

Breaking changes

  • A ThriftService is now instantiated via its factory methods instead of its constructors.
  • ServiceInvocationContext.current() does not return an Optional anymore.
    • It just raises an exception when context is unavailable.
    • Use mapCurrent() if you do not want an exception.

Documentation service changes

The operations exposed by the documentation service now have 'endpoints' and 'debug' section.

  • The endpoints section lists the paths and the accepted content types of the operation.
  • The debug section allows you to invoke the service via Thrift TEXT protocol easily.

af0a75ac-9575-11e5-9913-b5112af906eb

armeria-0.4.0.Final

30 Nov 06:24
Compare
Choose a tag to compare

Initial open source release