Released on 2020-04-27.
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
HttpClient can now be configured to utilize a proxy server when sending requests using the
HttpClientSpec. proxy method. Configuring the proxy requires specifying the
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.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.
Pull Requests (12)
-  - ability to specify a predicate for retries (drmaas)
-  - Throw exception on DefaultCrypto trying to use NoPadding ciphers in ClientSession (michaelschlies)
-  - Replace referencecs to Ratpack's @Nullable with jetbrains (michaelschlies)
-  - Remove sleep for 500ms and replace with additional latch.countDown()s (michaelschlies)
-  - Add path traversal verification tests (JLLeitschuh)
-  - Documentation of async logging configuration (jonnybbb)
-  - [#1496] fixed lazybones template zip archive file name (wololock)
-  - Http client proxy (johnrengelman)
-  - Upgrade vulnerable dependencies (jdbevan)
-  - Add Promise.onComplete. (johnrengelman)
-  - executingSingle with registry (annamalai87)
-  - Added definition of portFile configuration property into ServerConfig (andsel)