armeria-0.5.0.Final
·
5105 commits
to main
since this release
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
ThriftServicenow handles multiple protocols based on theprotocolparameter ofContent-Typeheader.- 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
ThriftServiceis now instantiated via its factory methods instead of its constructors. ServiceInvocationContext.current()does not return anOptionalanymore.- 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
endpointssection lists the paths and the accepted content types of the operation. - The
debugsection allows you to invoke the service via Thrift TEXT protocol easily.
