Version 0.9.16
Released on 2015-04-29.
The 0.9.16 release is the release of dependency upgrades! Pretty much all of the dependencies that Ratpack and its modules have are now upgraded to their latest versions. This includes Groovy, Reactive Streams, RxJava, Hystrix, Pac4j, Jackson, Handlebars......
As well as the dependency upgrades there has been some other good stuff going on too.
The format of the built-in metric names has changed and you can now "collapse" metrics into groups based on regular expressions. For example, instead of reporting metrics for book.1.update.get-requests
, book.2.update.get-requests
etc, you could group them to report as update.get-requests
. You can see an example of how to do this in example-books. New count metrics have also been added for response status codes and metric filtering has been extended to the websocket reporter.
The session storage api is now async, which clears the path to integrating with new stores in the future such has Hazlecast and Redis. A cookie based session store has also been added as an alternative to the memory based one.
Also of note, startup and shutdown services are now asynchronous and health checks now have access to the registry.
There were also great contribution from Robert Zakrzewski (cookie session support, Javascript warning fix), Steve Anderson (documentation improvements), Tom Akehurst (Thymeleaf template fragment support), Danny Kirchmeier (Csv metric reporter improvements)
We hope you enjoy this Ratpack release.
-- Team Ratpack
Links
Pull Requests (7)
- [663] - Cookie Session max inactivity interval - change type to java.time.Duration (zedar)
- [661] - ratpack-manual: fix warnings from javascript minification (zedar)
- [656] - Cookie session support for Path, Domain and max cookie size (partitions). (zedar)
- [652] - Update 02-quick-start.md (saanvik)
- [648] - Add support for specifying Thymeleaf template fragments (tomakehurst)
- [647] - Support for extended list of encryption algorithms used by cookie-sessions (zedar)
- [616] - CsvReporter should only be provided when configuration is valid (danthegoodman)
Resolved Issues (32)
- [662] - Renderable decorators should be able to perform async ops
- [659] - Streams does not canceled when sse connection is closed (prematurely).
- [654] - Lazybones template needs a newer springloaded version
- [644] - Blocking throws NPE outside of execution
- [641] - Health checks should receive a registry
- [640] - Allow startup/shutdown services to be asynchronous
- [638] - Upgrade reactive-streams to 1.0.0.RC5
- [637] - Upgrade reactor to version 1.1.6.RELEASE
- [636] - Upgrade H2 to version 1.4.186
- [635] - Upgrade HikariCP to version 2.3.5
- [634] - Upgrade javassist to 3.19.0-GA
- [633] - Upgrade Thymeleaf to 2.1.4.RELEASE
- [632] - Upgrade NewRelic to 3.15.0
- [631] - Hystrix - Filter out thread pools from metrics stream that have had no commands executed on them
- [630] - Add a filter publisher to streams
- [629] - Upgrade RxJava to 1.0.7
- [628] - Upgrade pac4j to 1.7.0
- [627] - Upgrade Groovy to 2.4.3
- [626] - Upgrade Codahale Metrics to 3.1.1
- [625] - Upgrade Guava to 18.0
- [624] - Upgrade Jackson to 2.5.2
- [623] - Upgrade SLF4J to 1.7.12
- [620] - NettyHandlerAdapter.sendError doesn't actually send the error
- [610] - Exception when launching from jar and using CodaHaleMetricsModule
- [606] - Registry caching means prototypical providers are treated as singletons
- [602] - Request metrics timer name
- [596] - Upgrade to Hystrix 1.4.3
- [590] - Update Handlebars to 2.0
- [589] - Streams/Promise wiretap result terminology
- [550] - Implicitly use all ExecInterceptor implementations found in the application registry
- [447] - Improve session support to be more friendly to persistent and expensive stores.
- [446] - Dependency cycle between modules