Skip to content

armeria-0.50.0

Choose a tag to compare

@trustin trustin released this 28 Jun 02:54

Breaking changes

  • #616 Renamed RetryRequestStrategy to RetryStrategy.

  • #616 Renamed Backoff.nextIntervalMillis() to nextDelayMillis().

  • #631 Removed .http. from the package names. Use the following command for migration:

    find -name '*.java' -exec perl -pi -e \
        's/(com\.linecorp\.armeria\.(?:client|common|server|internal)\.)http\./$1/g' {} ';'
  • #631 HttpSessionProtocols, which was deprecated in 0.49.0, has been removed.

New features

  • #616 Added RetryingHttpClient

    HttpClient client = new ClientBuilder("none+http://example.com/")
            .decorator(HttpRequest.class, HttpResponse.class,
                       new RetryingHttpClientBuilder(...)...build())
            .build(HttpClient.class);

Bug fixes

  • #633 Fixed a memory leak which can occur when an HTTP client gets a ResponseTimeoutException.
  • #638 #641 Fixed a bug where an HTTP client does not send an HTTP/2 GOAWAY frame when closing an idle connection
  • #640 Removed noisy debug-level error messages from Reflections
  • #643 Fixed incorrect Spring annotation in MonitoringConfiguration