Skip to content

Releases: line/armeria

armeria-0.19.0.Final

26 May 09:08
Compare
Choose a tag to compare

New features

  • #177 Add support for unions to Thrift TText protocol

Improvements

  • #175 Support string values for enums in Thrift TText protocol

Bug fixes

  • #179 Fix NoSuchMethodError when using Tomcat 7 Connector

armeria-0.18.0.Final

24 May 09:13
Compare
Choose a tag to compare

New features

  • #144 Preliminary client-side load balancer
    • The first non-trivial external contribution for Armeria; thank you, @shelocks!
    • Note that this feature is not complete. More changes will follow.

Improvements

  • #170 Upgrade tcnative-boringssl to the latest version

Bug fixes

  • #171 Fix broken interface discovery for Thrift services in DocService
  • #173 Fix incomplete TTextProtocol.reset()

armeria-0.17.0.Final

17 May 09:33
Compare
Choose a tag to compare

New features

  • #156 Add 'the number of active requests' to metrics
    • You will see a new property activeRequests if you are using DropwizardMetricConsumer.
  • #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 the META-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() and Server.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.

Improvements

  • #169 Log meaningful identifier of embedded Tomcat

Bug fixes

  • #163 #167 TomcatService does not call Server.destroy() when it stops.
  • #166 Do not propagate IdleStateEvent to suppress misleading 'unexpected user event' message.

Clean-ups

  • #164 Add missing license files and notices
  • #165 Reduce the amount of log messages while testing

armeria-0.16.1.Final

06 May 06:17
Compare
Choose a tag to compare

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 to true.

armeria-0.16.0.Final

28 Apr 05:53
Compare
Choose a tag to compare

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

  • #151 Use SessionProtocolNegotiationException when protocol upgrade fails due to timeout
  • #155 Do not send duplicate DNS queries when the same one is in progress
  • #157 Fix the broken links for classes in DocService

armeria-0.15.0.Final

21 Apr 10:01
Compare
Choose a tag to compare

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 the HEAD 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 to false. You can also change the default value of this option from true to false by setting the system property com.linecorp.armeria.defaultUseHttp2Preface to `false.

armeria-0.14.0.Final

20 Apr 08:37
Compare
Choose a tag to compare

New features

  • #139 Add circuit breaker metrics

Improvements

  • #145 Add more debug information to HTTP/2 GOAWAY frame

Bug fixes

  • #147 Fix NPE when Server startup fails
  • #146 Make Tomcat allow a .JAR file that contains a webapp

Clean-up

  • #143 Upgrade dependencies

armeria-0.13.4.Final

12 Apr 05:18
Compare
Choose a tag to compare

Bug fixes

  • #140 Add 'Content-Length' header to the last response
  • #141 Do not attempt to send a response to a closed connection/stream

armeria-0.13.3.Final

12 Apr 05:17
Compare
Choose a tag to compare

Bug fixes

  • #138 Fix delayed notification of session creation failure and log GOAWAY frames

armeria-0.13.2.Final

05 Apr 06:16
Compare
Choose a tag to compare

Bug fixes

  • #136 Use singleton list instead of array list for SimpleHttpInvocation.params()
  • #131 Fix 'exceptionCaught/inbound message reached at the tail of the pipeline' warnings