Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 494 lines (348 sloc) 19.802 kb
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
1 = 1.0 / 2010-01-28 (prerelease)
f75bee5 @rtomayko Cleanup and refactoring after inheritance changes
rtomayko authored
2
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
3 * It's now possible to register blocks to run after each request using
4 after filters. After filters run at the end of each request, after
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
5 routes and error handlers. (Jimmy Schementi)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
6
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
7 * Sinatra now uses Tilt <http://github.com/rtomayko/tilt> for rendering
8 templates. This adds support for template caching, consistent
9 template backtraces, and support for new template engines, like
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
10 mustache and liquid. (Ryan Tomayko)
11
12 * New 'settings' method gives access to options in both class and request
13 scopes. This replaces the 'options' method. (Chris Wanstrath)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
14
f889c75 @rtomayko reload_templates setting; on by default in :development [#321]
rtomayko authored
15 * New boolean 'reload_templates' setting controls whether template files
16 are reread from disk and recompiled on each request. Template read/compile
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
17 is cached by default in all environments except development. (Ryan Tomayko)
f889c75 @rtomayko reload_templates setting; on by default in :development [#321]
rtomayko authored
18
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
19 * New 'erubis' helper method for rendering ERB template with Erubis. The
20 erubis gem is required. (Dylan Egan)
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
21
22 * New 'cache_control' helper method provides a convenient way of
23 setting the Cache-Control response header. Takes a variable number
24 of boolean directives followed by a hash of value directives, like
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
25 this: cache_control :public, :must_revalidate, :max_age => 60
26 (Ryan Tomayko)
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
27
ce3a8a8 @rtomayko rearrange a couple of bullets in CHANGES for easier reading
rtomayko authored
28 * New 'expires' helper method is like cache_control but takes an
29 integer number of seconds or Time object:
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
30 expires 300, :public, :must_revalidate
31 (Ryan Tomayko)
32
33 * New request.secure? method for checking for an SSL connection.
34 (Adam Wiggins)
ce3a8a8 @rtomayko rearrange a couple of bullets in CHANGES for easier reading
rtomayko authored
35
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
36 * Sinatra apps can now be run with a `-h <addr>` argument to specify
1b8fda8 @sr attribute to the right person
sr authored
37 the address to bind to. (Ryan Tomayko)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
38
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
39 * Rack::Session::Cookie is now added to the middleware pipeline when
40 running in test environments if the :sessions option is set.
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
41 (Simon Rozet)
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
42
f75bee5 @rtomayko Cleanup and refactoring after inheritance changes
rtomayko authored
43 * Route handlers, before filters, templates, error mappings, and
44 middleware are now resolved dynamically up the inheritance hierarchy
45 when needed instead of duplicating the superclass's version when
46 a new Sinatra::Base subclass is created. This should fix a variety
47 of issues with extensions that need to add any of these things
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
48 to the base class. (Ryan Tomayko)
f75bee5 @rtomayko Cleanup and refactoring after inheritance changes
rtomayko authored
49
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
50 * The X-Cascade response header is set to 'pass' when no matching route
51 is found or all routes pass. (Josh Peek)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
52
79a9993 @rtomayko note that Sinatra::Default is obsolete in CHANGES
rtomayko authored
53 The following Sinatra features have been obsoleted (removed entirely) in
54 the 1.0 release:
55
56 * The `sinatra/test` library is obsolete. This includes the `Sinatra::Test`
57 module, the `Sinatra::TestHarness` class, and the `get_it`, `post_it`,
58 `put_it`, `delete_it`, and `head_it` helper methods. The
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
59 [`Rack::Test` library](http://gitrdoc.com/brynary/rack-test) should
60 be used instead.
61
62 * Test framework specific libraries (`sinatra/test/spec`,
79a9993 @rtomayko note that Sinatra::Default is obsolete in CHANGES
rtomayko authored
63 `sinatra/test/bacon`,`sinatra/test/rspec`, etc.) are obsolete. See
64 http://www.sinatrarb.com/testing.html for instructions on setting up a
65 testing environment under each of these frameworks.
66
67 * `Sinatra::Default` is obsolete; use `Sinatra::Base` instead.
68 `Sinatra::Base` acts more like `Sinatra::Default` in development mode.
69 For example, static file serving and sexy development error pages are
70 enabled by default.
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
71
72 * Auto-requiring template libraries in the `erb`, `builder`, `haml`,
73 and `sass` methods is obsolete due to thread-safety issues. You must
74 require the template libraries explicitly in your app.
75
76 * The `:views_directory` option to rendering methods is obsolete; use
77 `:views` instead.
78
79 * The `:haml` and `:sass` options to rendering methods are obsolete.
80 Template engine options should be passed in the second Hash argument
81 instead.
82
f942ad7 @sr add inline_templates to CHANGES
sr authored
83 * The `use_in_file_templates` method is obsolete. Use
84 `enable :inline_templates` or `set :inline_templates, 'path/to/file'`
85
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
86 * The 'media_type' helper method is obsolete. Use 'mime_type' instead.
87
79a9993 @rtomayko note that Sinatra::Default is obsolete in CHANGES
rtomayko authored
88 * The 'mime' main and class method is obsolete. Use 'mime_type' instead.
89
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
90 * The request-level `send_data` method is no longer supported.
91
92 * The `Sinatra::Event` and `Sinatra::EventContext` classes are no longer
93 supported. This may effect extensions written for versions prior to 0.9.2.
94 See [Writing Sinatra Extensions](http://www.sinatrarb.com/extensions.html)
95 for the officially supported extensions API.
96
97 * The `set_option` and `set_options` methods are obsolete; use `set`
98 instead.
99
100 * The `:env` setting (`settings.env`) is obsolete; use `:environment`
101 instead.
102
103 * The request level `stop` method is obsolete; use `halt` instead.
104
105 * The request level `entity_tag` method is obsolete; use `etag`
106 instead.
107
108 * The request level `headers` method (HTTP response headers) is obsolete;
109 use `response['Header-Name']` instead.
110
111 * `Sinatra.application` is obsolete; use `Sinatra::Application` instead.
112
113 * Using `Sinatra.application = nil` to reset an application is obsolete.
114 This should no longer be necessary.
115
116 * Using `Sinatra.default_options` to set base configuration items is
117 obsolete; use `Sinatra::Base.set(key, value)` instead.
118
119 * The `Sinatra::ServerError` exception is obsolete. All exceptions raised
120 within a request are now treated as internal server errors and result in
121 a 500 response status.
122
3cfd06a @vangberg add :methodoverride => :method_override to CHANGES
vangberg authored
123 * The `:methodoverride' option to enable/disable the POST _method hack is
124 obsolete; use `:method_override` instead.
125
3d2988c @rtomayko Forgot to add release date for 0.9.2 in CHANGES
rtomayko authored
126 = 0.9.2 / 2009-05-18
13fc79d @rtomayko Remove support for source file reloading [#166]
rtomayko authored
127
5d6ac2a @rtomayko update CHANGES for 0.9.2 (perhaps 1.0) release
rtomayko authored
128 * This version is compatible with Rack 1.0. [Rein Henrichs]
129
130 * The development-mode unhandled exception / error page has been
131 greatly enhanced, functionally and aesthetically. The error
132 page is used when the :show_exceptions option is enabled and an
133 exception propagates outside of a route handler or before filter.
134 [Simon Rozet / Matte Noble / Ryan Tomayko]
135
136 * Backtraces that move through templates now include filenames and
137 line numbers where possible. [#51 / S. Brent Faulkner]
138
139 * All templates now have an app-level option for setting default
140 template options (:haml, :sass, :erb, :builder). The app-level
141 option value must be a Hash if set and is merged with the
142 template options specified to the render method (Base#haml,
143 Base#erb, Base#builder). [S. Brent Faulkner, Ryan Tomayko]
144
145 * The method signature for all template rendering methods has
146 been unified: "def engine(template, options={}, locals={})".
147 The options Hash now takes the generic :views, :layout, and
148 :locals options but also any template-specific options. The
149 generic options are removed before calling the template specific
150 render method. Locals may be specified using either the
151 :locals key in the options hash or a second Hash option to the
152 rendering method. [#191 / Ryan Tomayko]
153
154 * The receiver is now passed to "configure" blocks. This
155 allows for the following idiom in top-level apps:
156 configure { |app| set :foo, app.root + '/foo' }
157 [TJ Holowaychuck / Ryan Tomayko]
158
159 * The "sinatra/test" lib is deprecated and will be removed in
160 Sinatra 1.0. This includes the Sinatra::Test module and
161 Sinatra::TestHarness class in addition to all the framework
162 test helpers that were deprecated in 0.9.1. The Rack::Test
163 lib should be used instead: http://gitrdoc.com/brynary/rack-test
164 [#176 / Simon Rozet]
165
13fc79d @rtomayko Remove support for source file reloading [#166]
rtomayko authored
166 * Development mode source file reloading has been removed. The
167 "shotgun" (http://rtomayko.github.com/shotgun/) program can be
168 used to achieve the same basic functionality in most situations.
169 Passenger users should use the "tmp/always_restart.txt"
5d6ac2a @rtomayko update CHANGES for 0.9.2 (perhaps 1.0) release
rtomayko authored
170 file (http://tinyurl.com/c67o4h). [#166 / Ryan Tomayko]
171
b48ed22 @rtomayko Add note about auto-require deprecation to CHANGES
rtomayko authored
172 * Auto-requiring template libs in the erb, builder, haml, and
173 sass methods is deprecated due to thread-safety issues. You must
174 require the template libs explicitly in your app file. [Simon Rozet]
175
5d6ac2a @rtomayko update CHANGES for 0.9.2 (perhaps 1.0) release
rtomayko authored
176 * A new Sinatra::Base#route_missing method was added. route_missing
177 is sent when no route matches the request or all route handlers
178 pass. The default implementation forwards the request to the
179 downstream app when running as middleware (i.e., "@app" is
180 non-nil), or raises a NotFound exception when no downstream app
181 is defined. Subclasses can override this method to perform custom
182 route miss logic. [Jon Crosby]
183
184 * A new Sinatra::Base#route_eval method was added. The method
185 yields to the block and throws :halt with the result. Subclasses
186 can override this method to tap into the route execution logic.
187 [TJ Holowaychuck]
188
189 * Fix the "-x" (enable request mutex / locking) command line
190 argument. Passing -x now properly sets the :lock option.
191 [S. Brent Faulkner, Ryan Tomayko]
192
193 * Fix writer ("foo=") and predicate ("foo?") methods in extension
194 modules not being added to the registering class.
195 [#172 / Pat Nakajima]
196
197 * Fix in-file templates when running alongside activesupport and
198 fatal errors when requiring activesupport before sinatra
199 [#178 / Brian Candler]
200
201 * Fix various issues running on Google AppEngine.
202 [Samuel Goebert, Simon Rozet]
203
204 * Fix in-file templates __END__ detection when __END__ exists with
205 other stuff on a line [Yoji Shidara]
13fc79d @rtomayko Remove support for source file reloading [#166]
rtomayko authored
206
0f02baf @rtomayko 0.9.1.1 security release
rtomayko authored
207 = 0.9.1.1 / 2009-03-09
208
209 * Fix directory traversal vulnerability in default static files
210 route. See [#177] for more info.
211
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
212 = 0.9.1 / 2009-03-01
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
213
214 * Sinatra now runs under Ruby 1.9.1 [#61]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
215
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
216 * Route patterns (splats, :named, or Regexp captures) are now
217 passed as arguments to the block. [#140]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
218
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
219 * The "helpers" method now takes a variable number of modules
220 along with the normal block syntax. [#133]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
221
cf32f2e @rtomayko Middleware enhancements: automatic and explicit forward to downstream [#...
rtomayko authored
222 * New request-level #forward method for middleware components: passes
223 the env to the downstream app and merges the response status, headers,
0e1fd22 @rtomayko Misc additions to the CHANGES file
rtomayko authored
224 and body into the current context. [#126]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
225
cf32f2e @rtomayko Middleware enhancements: automatic and explicit forward to downstream [#...
rtomayko authored
226 * Requests are now automatically forwarded to the downstream app when
227 running as middleware and no matching route is found or all routes
228 pass.
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
229
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
230 * New simple API for extensions/plugins to add DSL-level and
231 request-level methods. Use Sinatra.register(mixin) to extend
232 the DSL with all public methods defined in the mixin module;
233 use Sinatra.helpers(mixin) to make all public methods defined
234 in the mixin module available at the request level. [#138]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
235 See http://www.sinatrarb.com/extensions.html for details.
236
237 * Named parameters in routes now capture the "." character. This makes
238 routes like "/:path/:filename" match against requests like
239 "/foo/bar.txt"; in this case, "params[:filename]" is "bar.txt".
240 Previously, the route would not match at all.
241
242 * Added request-level "redirect back" to redirect to the referring
243 URL.
244
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
245 * Added a new "clean_trace" option that causes backtraces dumped
246 to rack.errors and displayed on the development error page to
247 omit framework and core library backtrace lines. The option is
248 enabled by default. [#77]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
249
090c4d7 @rtomayko Fix weirdness with partials in ERB [#158]
rtomayko authored
250 * The ERB output buffer is now available to helpers via the @_out_buf
251 instance variable.
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
252
253 * It's now much easier to test sessions in unit tests by passing a
254 ":session" option to any of the mock request methods. e.g.,
255 get '/', {}, :session => { 'foo' => 'bar' }
256
2f377e2 @rtomayko Trim down Testing section in the README; link to doc site instead
rtomayko authored
257 * The testing framework specific files ('sinatra/test/spec',
258 'sinatra/test/bacon', 'sinatra/test/rspec', etc.) have been deprecated.
259 See http://sinatrarb.com/testing.html for instructions on setting up
260 a testing environment with these frameworks.
261
a9e9f00 @rtomayko Add send_data back in but deprecate [#143]
rtomayko authored
262 * The request-level #send_data method from Sinatra 0.3.3 has been added
263 for compatibility but is deprecated.
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
264
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
265 * Fix :provides causing crash on any request when request has no
266 Accept header [#139]
267
268 * Fix that ERB templates were evaluated twice per "erb" call.
269
270 * Fix app-level middleware not being run when the Sinatra application is
271 run as middleware.
272
273 * Fixed some issues with running under Rack's CGI handler caused by
274 writing informational stuff to stdout.
275
0e1fd22 @rtomayko Misc additions to the CHANGES file
rtomayko authored
276 * Fixed that reloading was sometimes enabled when starting from a
277 rackup file [#110]
278
279 * Fixed that "." in route patterns erroneously matched any character
280 instead of a literal ".". [#124]
281
f99015d @rtomayko Bring in CHANGES additions from 0.9.0.x branch
rtomayko authored
282 = 0.9.0.4 / 2009-01-25
283
284 * Using halt with more than 1 args causes ArgumentError [#131]
285 * using halt in a before filter doesn't modify response [#127]
286 * Add deprecated Sinatra::EventContext to unbreak plugins [#130]
287 * Give access to GET/POST params in filters [#129]
288 * Preserve non-nested params in nested params hash [#117]
289 * Fix backtrace dump with Rack::Lint [#116]
290
291 = 0.9.0.3 / 2009-01-21
292
293 * Fall back on mongrel then webrick when thin not found. [#75]
294 * Use :environment instead of :env in test helpers to
295 fix deprecation warnings coming from framework.
296 * Make sinatra/test/rspec work again [#113]
297 * Fix app_file detection on windows [#118]
298 * Fix static files with Rack::Lint in pipeline [#121]
299
300 = 0.9.0.2 / 2009-01-18
301
302 * Halting a before block should stop processing of routes [#85]
303 * Fix redirect/halt in before filters [#85]
304
968194d @rtomayko 0.9.0 release
rtomayko authored
305 = 0.9.0 / 2009-01-18
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
306
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
307 * Works with and requires Rack >= 0.9.1
308
309 * Multiple Sinatra applications can now co-exist peacefully within a
310 single process. The new "Sinatra::Base" class can be subclassed to
311 establish a blank-slate Rack application or middleware component.
312 Documentation on using these features is forth-coming; the following
313 provides the basic gist: http://gist.github.com/38605
314
1fa9807 @foca Nested params (e.g., "post[title]=Hello") [#70]
foca authored
315 * Parameters with subscripts are now parsed into a nested/recursive
316 Hash structure. e.g., "post[title]=Hello&post[body]=World" yields
317 params: {'post' => {'title' => 'Hello', 'body' => 'World'}}.
318
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
319 * Regular expressions may now be used in route pattens; captures are
320 available at "params[:captures]".
b5faa57 @rtomayko Dump backtrace to rack.errors on unhandled exception
rtomayko authored
321
38778ed @cypher Add filtering support for Accept HTTP header.
cypher authored
322 * New ":provides" route condition takes an array of mime types and
323 matches only when an Accept request header is present with a
324 corresponding type. [cypher]
325
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
326 * New request-level "pass" method; immediately exits the current block
327 and passes control to the next matching route.
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
328
329 * The request-level "body" method now takes a block; evaluation is
330 deferred until an attempt is made to read the body. The block must
331 return a String or Array.
332
333 * New "route conditions" system for attaching rules for when a route
334 matches. The :agent and :host route options now use this system.
335
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
336 * New "dump_errors" option controls whether the backtrace is dumped to
337 rack.errors when an exception is raised from a route. The option is
338 enabled by default for top-level apps.
339
340 * Better default "app_file", "root", "public", and "views" location
341 detection; changes to "root" and "app_file" automatically cascade to
342 other options that depend on them.
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
343
344 * Error mappings are now split into two distinct layers: exception
345 mappings and custom error pages. Exception mappings are registered
346 with "error(Exception)" and are run only when the app raises an
347 exception. Custom error pages are registered with "error(status_code)",
348 where "status_code" is an integer, and are run any time the response
349 has the status code specified. It's also possible to register an error
350 page for a range of status codes: "error(500..599)".
351
968194d @rtomayko 0.9.0 release
rtomayko authored
352 * In-file templates are now automatically imported from the file that
353 requires 'sinatra'. The use_in_file_templates! method is still available
354 for loading templates from other files.
355
c2849ff @rtomayko Note sinatra/test modifications in CHANGES file
rtomayko authored
356 * Sinatra's testing support is no longer dependent on Test::Unit. Requiring
357 'sinatra/test' adds the Sinatra::Test module and Sinatra::TestHarness
358 class, which can be used with any test framework. The 'sinatra/test/unit',
359 'sinatra/test/spec', 'sinatra/test/rspec', or 'sinatra/test/bacon' files
360 can be required to setup a framework-specific testing environment. See the
361 README for more information.
362
1fb5b99 @dylanegan Bacon support
dylanegan authored
363 * Added support for Bacon (test framework). The 'sinatra/test/bacon' file
364 can be required to setup Sinatra test helpers on Bacon::Context.
365
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
366 * Deprecated "set_option" and "set_options"; use "set" instead.
367
368 * Deprecated the "env" option ("options.env"); use "environment" instead.
369
370 * Deprecated the request level "stop" method; use "halt" instead.
371
372 * Deprecated the request level "entity_tag" method; use "etag" instead.
373 Both "entity_tag" and "etag" were previously supported.
374
375 * Deprecated the request level "headers" method (HTTP response headers);
376 use "response['Header-Name']" instead.
377
378 * Deprecated "Sinatra.application"; use "Sinatra::Application" instead.
379
380 * Deprecated setting Sinatra.application = nil to reset an application.
381 This should no longer be necessary.
382
383 * Deprecated "Sinatra.default_options"; use
384 "Sinatra::Default.set(key, value)" instead.
385
386 * Deprecated the "ServerError" exception. All Exceptions are now
387 treated as internal server errors and result in a 500 response
388 status.
389
91922b7 @rtomayko Deprecate get_it, post_it, etc. test helpers with warnings
rtomayko authored
390 * Deprecated the "get_it", "post_it", "put_it", "delete_it", and "head_it"
391 test helper methods. Use "get", "post", "put", "delete", and "head",
392 respectively, instead.
393
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
394 * Removed Event and EventContext classes. Applications are defined in a
395 subclass of Sinatra::Base; each request is processed within an
396 instance.
397
398 = 0.3.3 / 2009-01-06
399
400 * Pin to Rack 0.4.0 (this is the last release on Rack 0.4)
401
402 * Log unhandled exception backtraces to rack.errors.
403
404 * Use RACK_ENV environment variable to establish Sinatra
405 environment when given. Thin sets this when started with
406 the -e argument.
407
408 * BUG: raising Sinatra::NotFound resulted in a 500 response
409 code instead of 404.
410
411 * BUG: use_in_file_templates! fails with CR/LF (#45)
412
413 * BUG: Sinatra detects the app file and root path when run under
414 thin/passenger.
415
416 = 0.3.2
417
418 * BUG: Static and send_file read entire file into String before
419 sending. Updated to stream with 8K chunks instead.
420
421 * Rake tasks and assets for building basic documentation website.
422 See http://sinatra.rubyforge.org
423
424 * Various minor doc fixes.
425
426 = 0.3.1
427
428 * Unbreak optional path parameters [jeremyevans]
429
430 = 0.3.0
431
432 * Add sinatra.gemspec w/ support for github gem builds. Forks can now
433 enable the build gem option in github to get free username-sinatra.gem
434 builds: gem install username-sinatra.gem --source=http://gems.github.com/
435
436 * Require rack-0.4 gem; removes frozen rack dir.
437
438 * Basic RSpec support; require 'sinatra/test/rspec' instead of
439 'sinatra/test/spec' to use. [avdi]
440
441 * before filters can modify request environment vars used for
442 routing (e.g., PATH_INFO, REQUEST_METHOD, etc.) for URL rewriting
443 type functionality.
444
445 * In-file templates now uses @@ instead of ## as template separator.
446
447 * Top-level environment test predicates: development?, test?, production?
448
449 * Top-level "set", "enable", and "disable" methods for tweaking
450 app options. [rtomayko]
451
452 * Top-level "use" method for building Rack middleware pipelines
453 leading to app. See README for usage. [rtomayko]
454
455 * New "reload" option - set false to disable reloading in development.
456
457 * New "host" option - host/ip to bind to [cschneid]
458
459 * New "app_file" option - override the file to reload in development
460 mode [cschneid]
461
462 * Development error/not_found page cleanup [sr, adamwiggins]
463
464 * Remove a bunch of core extensions (String#to_param, String#from_param,
465 Hash#from_params, Hash#to_params, Hash#symbolize_keys, Hash#pass)
466
467 * Various grammar and formatting fixes to README; additions on
468 community and contributing [cypher]
469
470 * Build RDoc using Hanna template: http://sinatrarb.rubyforge.org/api
471
472 * Specs, documentation and fixes for splat'n routes [vic]
473
474 * Fix whitespace errors across all source files. [rtomayko]
475
476 * Fix streaming issues with Mongrel (body not closed). [bmizerany]
477
478 * Fix various issues with environment not being set properly (configure
479 blocks not running, error pages not registering, etc.) [cypher]
480
481 * Fix to allow locals to be passed to ERB templates [cschneid]
482
483 * Fix locking issues causing random errors during reload in development.
484
485 * Fix for escaped paths not resolving static files [Matthew Walker]
486
487 = 0.2.1
488
489 * File upload fix and minor tweaks.
490
491 = 0.2.0
492
493 * Initial gem release of 0.2 codebase.
Something went wrong with that request. Please try again.