diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e465ff..f4afa00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ -## HEAD (unreleased) - - Improve message when Terminate on Timeout is used on a platform that does not support it (eg. Windows or JVM) - - Honor an `X-Request-Start` header with the `t=` format, to allow using `wait_timeout` functionality with Apache +## 0.7.0 + + - Honor an `X-Request-Start` header with the `t=` format, to allow using `wait_timeout` functionality with Apache (https://github.com/zombocom/rack-timeout/pull/210) + - Improve message when Terminate on Timeout is used on a platform that does not support it (eg. Windows or JVM) (https://github.com/zombocom/rack-timeout/pull/192) + - Fix a thread safety issue for forks that are not on the main thread (https://github.com/zombocom/rack-timeout/pull/212) + - Add compatibility with frozen_string_literal: true (https://github.com/zombocom/rack-timeout/pull/196) + - Fix if Rails is defined but Rails::VERSION is not defined (https://github.com/zombocom/rack-timeout/pull/191) ## 0.6.3 diff --git a/doc/settings.md b/doc/settings.md index 359c660..fca84dd 100644 --- a/doc/settings.md +++ b/doc/settings.md @@ -33,10 +33,10 @@ The way we're able to infer a request's start time, and from that its wait time, Compatible header string formats are: -- `seconds.milliseconds`, e.g. `1700173924.763` - 10.3 digits, nginx standard format -- `t=seconds.milliseconds`, e.g. `t=1700173924.763` - 10.3 digits, nginx standard format with [New Relic recommended][new-relic-recommended-format] `t=` prefix -- `milliseconds`, e.g. `1700173924763` - 13 digits, Heroku standard format -- `t=microseconds`, e.g. `t=1700173924763384` - 16 digits with `t=` prefix, Apache standard format +- `seconds.milliseconds`, e.g. `1700173924.763` - 10.3 digits (nginx format) +- `t=seconds.milliseconds`, e.g. `t=1700173924.763` - 10.3 digits, nginx format with [New Relic recommended][new-relic-recommended-format] `t=` prefix +- `milliseconds`, e.g. `1700173924763` - 13 digits (Heroku format) +- `t=microseconds`, e.g. `t=1700173924763384` - 16 digits with `t=` prefix (Apache format) [new-relic-recommended-format]: https://docs.newrelic.com/docs/apm/applications-menu/features/request-queue-server-configuration-examples/ diff --git a/rack-timeout.gemspec b/rack-timeout.gemspec index 18da507..cd7396f 100644 --- a/rack-timeout.gemspec +++ b/rack-timeout.gemspec @@ -1,4 +1,4 @@ -RACK_TIMEOUT_VERSION = "0.6.3" +RACK_TIMEOUT_VERSION = "0.7.0" Gem::Specification.new do |spec| spec.name = "rack-timeout"