File: UPGRADING.md

package info (click to toggle)
ruby-rack-timeout 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: ruby: 515; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upgrading
=========

From 0.4 or older
-----------------

- Removal of the class setters, such as `Rack::Timeout.timeout = 5`, may
  lead to an error when upgrading. To fix this, remove these setters and
  instead use either the [environment variables][config-env],
  `RACK_TIMEOUT_*`, or [insert the middleware manually][config-insert]
  and configure the middleware as desired when inserting.

[config-env]: README.md#configuring
[config-insert]: README.md#rails-apps-manually

- The Rollbar support was removed; a deprecation warning will be emitted
  if you are using this module. The recommendation is to use Rollbar's
  custom fingerprinting. A recommendation is provided in
  [doc/rollbar.md](doc/rollbar.md).