-
Notifications
You must be signed in to change notification settings - Fork 249
/
CHANGELOG
71 lines (43 loc) · 1.41 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
4.0.3
* Change secure headers to lowercase.
3.9.0
* Cache regular expressions.
3.8.1
* Remove requirement on Time.
3.8.0
* Change gemspec to allow Rack 2.
3.7.0
* Add syntactic sugar for matching all HTTP methods.
3.6.0
* Set Strict-Transport-Security to a better default.
3.5.0
* Add `not_found` hook for customizing the 404 error.
* Remove undocumented `header` matcher.
* Depend explicitly on Rack 1.6.x.
* Experimental feature: `param` now accepts a second parameter
with a default value.
3.4.0
* Add `Cuba::Safe` plugin. This plugin contains security related
defaults.
3.3.0
* Restrict when to add the default content type.
3.2.0
* Return 404 when status is not explicitly set and body is empty.
3.1.1
* Add support for custom default layouts.
3.1.0
* Do a deep clone of the settings object during inheritance.
* Start namespacing plugins (i.e. settings[:render]).
* Use rack/test when doing `require 'cuba/test'`.
* Capybara available via `require 'cuba/capybara'`.
* Use a default hash for the render plugin.
* Allow the use of custom Request and Response objects.
3.0.0
* Remove Cuba.build. Use subclassing instead.
* Remove warnings.
* Use Cuba::Response instead of Rack::Response.
* Integrate Cuba.plugin and Cuba.settings.
* Remove Cuba::VERSION.
* Rename _call to call! (inspired from Sinatra).
* Fix a memory leak with the caching used in Tilt.
* Adding syntax highlighting to the README Code blocks.