Ratpack v1.8.0 Release Notes

Release Date: 2020-04-27 // almost 4 years ago
  • Ratpack 1.8.0 is now available!

    ๐Ÿš€ This release adds support for configuring a proxy to utilize with the HttpClient for outgoing requests, additional convenience methods for Promise.retry, a number of dependency updates, and other improvements .

    โฌ†๏ธ The following core dependencies have been upgraded:

    • Netty 4.1.37.Final โ†’ 4.1.48.Final
    • Netty TCNative 2.0.25.Final โ†’ 2.0.30.Final
    • Jackson 2.9.8 โ†’ 2.10.3
    • Slf4j 1.7.25 โ†’ 1.7.30
    • Guava 21.0 โ†’ 28.2-jre
    • โฌ‡๏ธ Dropwizard Metrics 4.0.5 โ†’ 4.1.6
    • Log4j 2.6.2 โ†’ 2.13.1
    • Caffeine 2.6.2 โ†’ 2.8.1
    • Retrofit 2.4.0 โ†’ 2.8.1

    Ratpack's HttpClient can now be configured to utilize a proxy server when sending requests using the HttpClientSpec. proxy method. Configuring the proxy requires specifying the host and port of the proxy. Optionally, the configured proxy can be bypassed for a set of destinations. This set uses the same pattern matching utilized by the core Java libraries and specified here: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html. It should be noted that the HttpClient does not respect the http.proxyHost, http.proxyPort, and http.nonProxyHosts system properties.

    ๐Ÿš€ In this release, Promise.retry has been extended to allow for specifying a Predicate to indicate when the RetryPolicy should be evaluated.

    โœ… There are also a few other new convenience methods added to support easier development and testing of Ratpack applications.
    Thanks to all who contributed.

    We hope you enjoy Ratpack 1.8.

    --

    Team Ratpack