Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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