Releases: line/armeria
Releases · line/armeria
armeria-0.19.0.Final
armeria-0.18.0.Final
armeria-0.17.0.Final
New features
- #156 Add 'the number of active requests' to metrics
- You will see a new property
activeRequests
if you are usingDropwizardMetricConsumer
.
- You will see a new property
- #159 Add doc strings to the JSON data generated by
DocService
DocService
will provide the comments in the IDL files if you put the.json
files produced by the nightly build of the official Thrift compiler into theMETA-INF/armeria/thrift
directory.- Note the comments are not visible in your browser yet. This is only a preparatory step for it.
- #160 Add
JettyService
- You can now embed Jetty as well as Tomcat!
- #163 Add
VirtualHost.defaultHostname()
andServer.defaultHostname()
- Try using
Server.defaultHostname()
to get the hostname of your machine reliably. TomcatService.forConnector()
does not require hostname anymore thanks to this new feature.
- Try using
Improvements
- #169 Log meaningful identifier of embedded Tomcat
Bug fixes
- #163 #167
TomcatService
does not callServer.destroy()
when it stops. - #166 Do not propagate
IdleStateEvent
to suppress misleading 'unexpected user event' message.
Clean-ups
armeria-0.16.1.Final
Bug fixes
- #158 Fix backward compatibility with old Armeria servers
- An Armeria client uses a
HEAD / HTTP/1.1
upgrade request for H1C-to-H2C upgrade by default again. - To use the HTTP/2 connection preface string as the default, set
com.linecorp.armeria.defaultUseHttp2Preface
totrue
.
- An Armeria client uses a
armeria-0.16.0.Final
Features
- #152 Give full control over the metric name of Dropwizard Metrics integration
-
NB: This breaks the API backward compatibility of the
newDropwizardDecorator()
method.// Before: MetricCollectingClient.newDropwizardDecorator("serviceName", registry); MetricCollectingService.newDropwizardDecorator("serviceName", registry); // After: import static com.codahale.metrics.MetricRegistry.name; MetricCollectingClient.newDropwizardDecorator(registry, name("client", "serviceName")); MetricCollectingService.newDropwizardDecorator(registry, name("server", "serviceName"));
-
Bug fixes
armeria-0.15.0.Final
New features
- #149 #142 Use
PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n
for h1c-to-h2c upgrade- An Armeria client now by default sends the HTTP/2 preface string instead of the traditional HTTP/1 upgrade request when HTTP/2 is preferred. This is because sending many
HEAD / HTTP/1.1
requests can cause unexpected load on an Armeria server if a user bound a service at/
and the service does not handle theHEAD
method specially. - Upgrade your Armeria servers before upgrading your Armeria clients so that all servers are ready to handle the new upgrade mechanism.
- If you prefer the old upgrade mechanism, you can set
RemoteInvokerOption.USE_HTTP2_PREFACE
option tofalse
. You can also change the default value of this option fromtrue
tofalse
by setting the system propertycom.linecorp.armeria.defaultUseHttp2Preface
to `false.
- An Armeria client now by default sends the HTTP/2 preface string instead of the traditional HTTP/1 upgrade request when HTTP/2 is preferred. This is because sending many
armeria-0.14.0.Final
armeria-0.13.4.Final
armeria-0.13.3.Final
Bug fixes
- #138 Fix delayed notification of session creation failure and log GOAWAY frames