rtomayko (owner)

Revisions

gist: 117563 Download_button fork
public
Description:
Sinatra 1.0 Obsolete Features
Public Clone URL: git://gist.github.com/117563.git
Embed All Files: show embed
Text only #
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
Sinatra 1.0 Obsolete Features
 
= 0.9.2 / 2009-05-18
 
 * The "sinatra/test" lib is deprecated and will be removed in
   Sinatra 1.0. This includes the Sinatra::Test module and
   Sinatra::TestHarness class in addition to all the framework
   test helpers that were deprecated in 0.9.1. The Rack::Test
   lib should be used instead: http://gitrdoc.com/brynary/rack-test
   [#176 / Simon Rozet]
 
 * Auto-requiring template libs in the erb, builder, haml, and
   sass methods is deprecated due to thread-safety issues. You must
   require the template libs explicitly in your app file. [Simon Rozet]
 
= 0.9.1 / 2009-03-01
 
 * The testing framework specific files ('sinatra/test/spec',
   'sinatra/test/bacon', 'sinatra/test/rspec', etc.) have been deprecated.
   See http://sinatrarb.com/testing.html for instructions on setting up
   a testing environment with these frameworks.
 
 * The request-level #send_data method from Sinatra 0.3.3 has been added
   for compatibility but is deprecated.
 
= 0.9.0 / 2009-01-18
 
 * Add deprecated Sinatra::EventContext to unbreak plugins [#130]
 
 * Deprecated "set_option" and "set_options"; use "set" instead.
 
 * Deprecated the "env" option ("options.env"); use "environment" instead.
 
 * Deprecated the request level "stop" method; use "halt" instead.
 
 * Deprecated the request level "entity_tag" method; use "etag" instead.
   Both "entity_tag" and "etag" were previously supported.
 
 * Deprecated the request level "headers" method (HTTP response headers);
   use "response['Header-Name']" instead.
 
 * Deprecated "Sinatra.application"; use "Sinatra::Application" instead.
 
 * Deprecated setting Sinatra.application = nil to reset an application.
   This should no longer be necessary.
 
 * Deprecated "Sinatra.default_options"; use
   "Sinatra::Default.set(key, value)" instead.
 
 * Deprecated the "ServerError" exception. All Exceptions are now
   treated as internal server errors and result in a 500 response
   status.
 
 * Deprecated the "get_it", "post_it", "put_it", "delete_it", and "head_it"
   test helper methods. Use "get", "post", "put", "delete", and "head",
   respectively, instead.
 
 * Removed Event and EventContext classes. Applications are defined in a
   subclass of Sinatra::Base; each request is processed within an
   instance.