Ratpack v1.7.0 Release Notes
Release Date: 2019-07-14 // almost 5 years ago-
Ratpack 1.7.0 is now available!
๐ This release adds support of idle timeouts when using connection pooling inHttpClient
, an improvedPromise.retry
interface, a few dependency updates, deprecation of theratpack-pac4j
,ratpack-rx
, andratpack-thymeleaf
modules and other improvements and bug fixes.โฌ๏ธ The following core dependencies have been upgraded:
- Netty 4.1.32.Final โ 4.1.37.Final
- Gradle 4.10 โ 5.1.1
- Groovy 2.4.15 โ 2.5.4
- โฌ๏ธ Dropwizard Metrics 3.1.1 โ 4.0.5
- Spock 1.1-groovy-2.4 โ 1.3-groovy-2.5
- ๐ Handlebars 4.0.7 โ 4.1.2
๐ง The idle timeout for Ratpack's
HttpClient
can now be configured using theHttpClientSpec.idleTimeout
method. Specifying a non-zero value for this timeout will allow Ratpack to close unused connections.๐ The new
Promsie.retry
method provides a mechanism for encoding complex retry logic inPromise
behavior. With the addition of this method, the previousretry
methods have been deprecated.Ratpack will now use the native
OpenSSL
libraries if available on the runtime system.โ The new
MockApi
andHandlerFactory
classes provided additional fixtures for writing tests for Ratpack applications. Combined with a mocking framework such as Spock, they allow for declaring remote API behaviors for an application, inline to a test.๐ As of this release the
ratpack-pac4j
library that is released as part of this project is officially deprecated and will be removed in Ratpack 2.0. Support for the latest version of Pac4j are provided via theratpack-pac4j
module maintained by the Pac4j team.๐ As of this release the
ratpack-rx
andratpack-thymeleaf
libraries that are released as part of this project are officially deprecated and will be removed in Ratpack 2.0. Users should migrate to theratpack-rx2
andratpack-thymeleaf3
libraries.๐ There are also many other new convenience methods, bug fixes and generally cool stuff added in this release.
Thanks to all who contributed.We hope you enjoy Ratpack 1.7.
--
Team Ratpack