Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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