forked from ddollar/rack-maintenance
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathUPGRADING
25 lines (15 loc) · 753 Bytes
/
UPGRADING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
******** Rack::Maintenance 3.0.0 *********
This gem now requires rack version 2.1.4 or higher.
The reason for this change is that earlier versions have
security vulnerabilities. Because of this major change, I
took the time to require up-to-date versions of all
dependencies.
Rack::Maintenance 3.0.0 should be a drop-in upgrade.
******** Rack::Maintenance 2.0.0 *********
Rack::Maintenance 2.0.0 has dropped the built-in filter for /assets.
This means that all your paths will now be blocked in maintenance
mode, unless you exclude them in the configuration.
To bring back pre-2.0.0 behaviour, configure the gem like so:
config.middleware.use 'Rack::Maintenance',
file: Rails.root.join("public", "maintenance.html"),
without: /\A\/assets/