Releases: line/armeria
Releases · line/armeria
armeria-0.6.4.Final
armeria-0.6.3.Final
armeria-0.6.2.Final
- #68 Fix a leak in a long-living HTTP/2 connection
armeria-0.6.1.Final
- #66 Handle HTTP/2 upgrade response properly so that Netty does not complain about unhandled messages
armeria-0.6.0.Final
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 theDocService
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 twoHttpService
into one. e.g.HttpFileService.for(...).orElse(TomcatService.for(...)
Core
- The name of the
Logger
returned byServiceInvocationContext.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 viaServerBuilder.service()
orVirtualHostBuilder.service()
.
- It's
- Renamed
ServiceEntry
toServiceConfig
- 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
armeria-0.5.0.Final
New features
- New Thrift protocol: TTEXT
- Useful for debugging your Thrift service, in combination with
DocService
- Useful for debugging your Thrift service, in combination with
- A
ThriftService
now handles multiple protocols based on theprotocol
parameter ofContent-Type
header.- e.g.
application/x-thrift; protocol=tcompact
- e.g.
- 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 anOptional
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.
armeria-0.4.0.Final
Initial open source release