Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 862 lines (605 sloc) 35.738 kB
59381b5 @rkh mind readme and changes
rkh authored
1 = 1.3.0 / Not Yet Released
2
3 * Added support for HTTP PATCH requests. (Konstantin Haase)
4
9ce9e54 @rkh add support for creole templates
rkh authored
5 * Support for Creole templates, Creole is a standardized wiki markup,
6 supported by many wiki implementations. (Konstanin Haase)
7
b69917f @rkh update changes
rkh authored
8 * The `erubis` method has been deprecated. If Erubis is available, Sinatra
9 will automatically use it for rendering ERB templates. `require 'erb'`
10 explicitly to prevent that behavior. (Magnus Holm, Ryan Tomayko, Konstantin
11 Haase)
12
206ee80 @rkh note changed url matching in changes
rkh authored
13 * Patterns now match against the escaped URLs rather than the unescaped
14 version. This makes Sinatra confirm with RFC 2396 section 2.2 and RFC 2616
15 section 3.2.3 (escaped reserved characters should not be treated like the
16 unescaped version), meaning that "/:name" will also match `/foo%2Fbar`, but
17 not `/foo/bar`. To avoid incompatibility, pattern matching has been adjusted.
18 Moreover, since we do no longer need to keep an unescaped version of
19 path_info around, we handle all changes to `env['PATH_INFO']` correctly.
20 (Konstantin Haase)
21
db761b8 @rkh let app_file default to the file subclassing Sinatra::Base in modular…
rkh authored
22 * `settings.app_file` now defaults to the file subclassing `Sinatra::Base` in
23 modular applications. (Konstantin Haase)
24
8adf3ca @rkh mind the changes
rkh authored
25 * Set up `Rack::Logger` or `Rack::NullLogger` depending on whether logging
26 was enabled or not. Also, expose that logger with the `logger` helper
27 method. (Konstantin Haase)
28
0c9e3d8 @rkh accept a hash as sessions setting
rkh authored
29 * The sessions setting now may be an options hash. (Konstantin Haase)
30
e9a8163 @rkh update changes
rkh authored
31 * Important: 1.8.6 support has been dropped. (Konstantin Haase)
eb28713 @rkh mention dropping 1.8.6 in CHANGES
rkh authored
32
e0e4388 @rkh typo
rkh authored
33 * It is now possible to use a different target class for the top level DSL (aka
a6cf359 @rkh add Sinatra::Delegator.target and actually test delegation
rkh authored
34 classic style) than `Sinatra::Application` by setting `Delegator.target`.
35 This was mainly introduced to ease testing. (Konstantin Haase)
36
ec5f606 @rkh document request.accept, request.accept? and request.preferred_type
rkh authored
37 * Added `request.accept?` and `request.preferred_type` to ease dealing with
38 `Accept` headers. (Konstantin Haase)
39
7d238c9 @rkh use secure random
rkh authored
40 * Uses SecureRandom to generate default session secret. (Konstantin Haase)
41
f1f56be @rkh add 1.2.7 to changes
rkh authored
42 = 1.2.7 (backports release) / Not Yet Released
43
1f26984 @rkh update changes
rkh authored
44 * Fix Ruby 1.8.6 issue with Accept header parsing. (Konstantin Haase)
45
f1f56be @rkh add 1.2.7 to changes
rkh authored
46 * `Sinatra.run!` now prints to stderr rather than stdout. (Andrew Armenia)
47
48 * Automatic `app_file` detection now works in directories containing brackets
49 (Konstantin Haase)
50
51 * Improved documentation. (Emanuele Vicentini, Peter Higgins, Takanori
52 Ishikawa, Konstantin Haase)
53
a059c19 @rkh update changes
rkh authored
54 = 1.2.6 / 2011-05-01
55
56 * Fix broken delegation, backport delegation tests from Sinatra 1.3.
57 (Konstantin Haase)
58
59 = 1.2.5 / 2011-04-30
60
61 * Restore compatibility with Ruby 1.8.6. (Konstantin Haase)
62
f42edbf @rkh add 1.2.4 release date
rkh authored
63 = 1.2.4 / 2011-04-30
59e8698 @rkh update changes (some commits backported to 1.2.x)
rkh authored
64
f000983 @rkh update CHANGES
rkh authored
65 * Sinatra::Application (classic style) does not use a session secret in
66 development mode, so sessions are not invalidated after every request when
67 using Shotgun. (Konstantin Haase)
68
c7601fc @rkh don't cache request object in env, fixes #239
rkh authored
69 * The request object was shared between multiple Sinatra instances in the
70 same middleware chain. This caused issues if any non-sinatra routing
8823dbe @rkh update changes
rkh authored
71 happend in-between two of those instances, or running a request twice
72 against an application (described in the README). The caching was reverted.
73 See GH#239 and GH#256 for more infos. (Konstantin Haase)
c7601fc @rkh don't cache request object in env, fixes #239
rkh authored
74
f000983 @rkh update CHANGES
rkh authored
75 * Fixes issues where the top level DSL was interfering with method_missing
76 proxies. This issue surfaced when Rails 3 was used with older Sass versions
77 and Sinatra >= 1.2.0. (Konstantin Haase)
78
8823dbe @rkh update changes
rkh authored
79 * Sinatra::Delegator.delegate is now able to delegate any method names, even
80 those containing special characters. This allows better integration into
81 other programming languages on Rubinius (probably on the JVM, too), like
82 Fancy. (Konstantin Haase)
83
501c3c3 @rkh update changes
rkh authored
84 * Remove HEAD request logic and let Rack::Head handle it instead. (Paolo
85 "Nusco" Perrotta)
86
a7e7639 @rkh update changes
rkh authored
87 = 1.2.3 / 2011-04-13
c72fe5a @rkh update CHANGES
rkh authored
88
89 * This release is compatible with Tilt 1.3, it will still work with Tilt 1.2.2,
90 however, if you want to use a newer Tilt version, you have to upgrade to at
91 least this version of Sinatra. (Konstantin Haase)
92
7e48254 @rkh accept values pretending to be a Numeric (like ActiveSupport::Duratio…
rkh authored
93 * Helpers dealing with time, like `expires`, handle objects that pretend to be
730eb45 @rkh typo
rkh authored
94 numbers, like `ActiveSupport::Duration`, better. (Konstantin Haase)
7e48254 @rkh accept values pretending to be a Numeric (like ActiveSupport::Duratio…
rkh authored
95
aad6efa @rkh update CHANGES
rkh authored
96 = 1.2.2 / 2011-04-08
df1d7db @rkh backported to 1.2.x
rkh authored
97
08901b5 @rkh update changes
rkh authored
98 * The `:provides => :js` condition now matches both `application/javascript`
99 and `text/javascript`. The `:provides => :xml` condition now matches both
100 `application/xml` and `text/xml`. The `Content-Type` header is set
101 accordingly. If the client accepts both, the `application/*` version is
102 preferred, since the `text/*` versions are deprecated. (Konstantin Haase)
103
104 * The `provides` condition now handles wildcards in `Accept` headers correctly.
105 Thus `:provides => :html` matches `text/html`, `text/*` and `*/*`.
106 (Konstantin Haase)
107
108 * When parsing `Accept` headers, `Content-Type` preferences are honored
109 according to RFC 2616 section 14.1. (Konstantin Haase)
110
bdbe700 @rkh fix indentation
rkh authored
111 * URIs passed to the `url` helper or `redirect` may now use any schema to be
112 identified as absolute URIs, not only `http` or `https`. (Konstantin Haase)
df1d7db @rkh backported to 1.2.x
rkh authored
113
914db7e @rkh Handles `Content-Type` strings that already contain parameters correc…
rkh authored
114 * Handles `Content-Type` strings that already contain parameters correctly in
115 `content_type` (example: `content_type "text/plain; charset=utf-16"`).
116 (Konstantin Haase)
117
49d4702 @rkh handle empty route patterns as expected without breaking rails 3 comp…
rkh authored
118 * If a route with an empty pattern is defined (`get("") { ... }`) requests with
4477215 @rkh typo
rkh authored
119 an empty path info match this route instead of "/". (Konstantin Haase)
49d4702 @rkh handle empty route patterns as expected without breaking rails 3 comp…
rkh authored
120
238eede @rkh use proper links to images on error pages
rkh authored
121 * In development environment, when running under a nested path, the image URIs
122 on the error pages are set properly. (Konstantin Haase)
123
62fa2cd @rkh 1.2.1 release
rkh authored
124 = 1.2.1 / 2011-03-17
85a63b0 @rkh mind the changes
rkh authored
125
93d6e1f @rkh Switch back to Rack::Session::Cookie, but generate a secret.
rkh authored
126 * Use a generated session secret when using `enable :sessions`. (Konstantin
127 Haase)
85a63b0 @rkh mind the changes
rkh authored
128
62fa2cd @rkh 1.2.1 release
rkh authored
129 * Fixed a bug where the wrong content type was used if no content type was set
130 and a template engine was used with a different engine for the layout with
131 different default content types, say Less embedded in Slim. (Konstantin
132 Haase)
133
134 * README translations improved (Gabriel Andretta, burningTyger, Sylvain Desvé,
135 Gregor Schmidt)
aeeb84d @rkh fix Content Type handling with layout_engine
rkh authored
136
57f34d2 @rkh prepare release
rkh authored
137 = 1.2.0 / 2011-03-03
09626e8 @rkh Update CHANGES.
rkh authored
138
9dada69 @rkh Update CHANGES.
rkh authored
139 * Added `slim` rendering method for rendering Slim templates. (Steve
140 Hodgkiss)
09626e8 @rkh Update CHANGES.
rkh authored
141
0ff41a6 @rkh Add support for passing a block to the markaby method:
rkh authored
142 * The `markaby` rendering method now allows passing a block, making inline
143 usage possible. Requires Tilt 1.2 or newer. (Konstantin Haase)
144
398d7c3 @rkh update CHANGES
rkh authored
145 * All render methods now take a `:layout_engine` option, allowing to use a
146 layout in a different template language. Even more useful than using this
147 directly (`erb :index, :layout_engine => :haml`) is setting this globally for
148 a template engine that otherwise does not support layouts, like Markdown or
149 Textile (`set :markdown, :layout_engine => :erb`). (Konstantin Haase)
150
151 * Before and after filters now support conditions, both with and without
152 patterns (`before '/api/*', :agent => /Songbird/`). (Konstantin Haase)
153
9db223e @rkh update CHANGES
rkh authored
154 * Added a `url` helper method which constructs absolute URLs. Copes with
155 reverse proxies and Rack handlers correctly. Aliased to `to`, so you can
156 write `redirect to('/foo')`. (Konstantin Haase)
157
158 * If running on 1.9, patterns for routes and filters now support named
159 captures: `get(%r{/hi/(?<name>[^/?#]+)}) { "Hi #{params['name']}" }`.
160 (Steve Price)
161
8ca5fa5 @rkh Add :scope to CHANGES. Fixes #156.
rkh authored
162 * All rendering methods now take a `:scope` option, which renders them in
163 another context. Note that helpers and instance variables will be
164 unavailable if you use this feature. (Paul Walker)
165
9db223e @rkh update CHANGES
rkh authored
166 * The behavior of `redirect` can now be configured with `absolute_redirects`
167 and `prefixed_redirects`. (Konstantin Haase)
168
398d7c3 @rkh update CHANGES
rkh authored
169 * `send_file` now allows overriding the Last-Modified header, which defaults
170 to the file's mtime, by passing a `:last_modified` option. (Konstantin Haase)
171
9f3cfc4 @rkh update CHANGES
rkh authored
172 * You can use your own template lookup method by defining `find_template`.
173 This allows, among other things, using more than one views folder.
174 (Konstantin Haase)
175
9db223e @rkh update CHANGES
rkh authored
176 * Largely improved documentation. (burningTyger, Vasily Polovnyov, Gabriel
177 Andretta, Konstantin Haase)
178
9f3cfc4 @rkh update CHANGES
rkh authored
179 * Improved error handling. (cactus, Konstantin Haase)
180
9db223e @rkh update CHANGES
rkh authored
181 * Skip missing template engines in tests correctly. (cactus)
182
183 * Sinatra now ships with a Gemfile for development dependencies, since it eases
184 supporting different platforms, like JRuby. (Konstantin Haase)
185
f1f56be @rkh add 1.2.7 to changes
rkh authored
186 = 1.1.4 (backports release) / 2011-04-13
a7e7639 @rkh update changes
rkh authored
187
188 * Compatible with Tilt 1.3. (Konstantin Haase)
189
1461f61 @rkh add 1.1.3 release date to changes
rkh authored
190 = 1.1.3 / 2011-02-20
9db223e @rkh update CHANGES
rkh authored
191
192 * Fixed issues with `user_agent` condition if the user agent header is missing.
193 (Konstantin Haase)
194
195 * Fix some routing tests that have been skipped by accident (Ross A. Baker)
196
197 * Fix rendering issues with Builder and Nokogiri (Konstantin Haase)
198
199 * Replace last_modified helper with better implementation. (cactus,
200 Konstantin Haase)
201
202 * Fix issue with charset not being set when using `provides` condition.
203 (Konstantin Haase)
204
205 * Fix issue with `render` not picking up all alternative file extensions for
206 a rendering engine - it was not possible to register ".html.erb" without
207 tricks. (Konstantin Haase)
208
398d7c3 @rkh update CHANGES
rkh authored
209 = 1.1.2 / 2010-10-25
210
211 Like 1.1.1, but with proper CHANGES file.
212
213 = 1.1.1 / 2010-10-25
9dada69 @rkh Update CHANGES.
rkh authored
214
215 * README has been translated to Russian (Nickolay Schwarz, Vasily Polovnyov)
216 and Portuguese (Luciano Sousa).
09626e8 @rkh Update CHANGES.
rkh authored
217
218 * Nested templates without a `:layout` option can now be used from the layout
219 template without causing an infinite loop. (Konstantin Haase)
220
9dada69 @rkh Update CHANGES.
rkh authored
221 * Inline templates are now encoding aware and can therefore be used with
222 unicode characters on Ruby 1.9. Magic comments at the beginning of the file
223 will be honored. (Konstantin Haase)
224
225 * Default `app_file` is set correctly when running with bundler. Using
226 bundler caused Sinatra not to find the `app_file` and therefore not to find
227 the `views` folder on it's own. (Konstantin Haase)
228
229 * Better handling of Content-Type when using `send_file`: If file extension
230 is unknown, fall back to `application/octet-stream` and do not override
231 content type if it has already been set, except if `:type` is passed
232 explicitly (Konstantin Haase)
233
09626e8 @rkh Update CHANGES.
rkh authored
234 * Path is no longer cached if changed between handlers that do pattern
9dada69 @rkh Update CHANGES.
rkh authored
235 matching. This means you can change `request.path_info` in a pattern
236 matching before filter. (Konstantin Haase)
09626e8 @rkh Update CHANGES.
rkh authored
237
238 * Headers set by cache_control now always set max_age as an Integer, making
239 sure it is compatible with RFC2616. (Konstantin Haase)
240
398d7c3 @rkh update CHANGES
rkh authored
241 * Further improved handling of string encodings on Ruby 1.9, templates now
242 honor default_encoding and URLs support unicode characters. (Konstantin
243 Haase)
244
ad648be @rkh 1.1.0 release
rkh authored
245 = 1.1.0 / 2010-10-24
4cab214 @rkh Changelog for 1.1
rkh authored
246
fa15c4d @rkh Readjust latest changelog entries.
rkh authored
247 * Before and after filters now support pattern matching, including the
248 ability to use captures: "before('/user/:name') { |name| ... }". This
249 avoids manual path checking. No performance loss if patterns are avoided.
250 (Konstantin Haase)
4cab214 @rkh Changelog for 1.1
rkh authored
251
fa15c4d @rkh Readjust latest changelog entries.
rkh authored
252 * It is now possible to render SCSS files with the `scss` method, which
253 behaves exactly like `sass` except for the different file extension and
254 assuming the SCSS syntax. (Pedro Menezes, Konstantin Haase)
4cab214 @rkh Changelog for 1.1
rkh authored
255
7149810 @rkh Add recent changes to CHANGES.
rkh authored
256 * Added `liquid`, `markdown`, `nokogiri`, `textile`, `rdoc`, `radius`,
257 `markaby`, and `coffee` rendering methods for rendering Liquid, Markdown,
258 Nokogiri, Textile, RDoc, Radius, Markaby and CoffeeScript templates.
259 (Konstantin Haase)
260
eafe40d @rkh reorder changes
rkh authored
261 * Now supports byte-range requests (the HTTP_RANGE header) for static files.
262 Multi-range requests are not supported, however. (Jens Alfke)
263
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
264 * You can now use #settings method from class and top level for convenience.
4cab214 @rkh Changelog for 1.1
rkh authored
265 (Konstantin Haase)
266
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
267 * Setting multiple values now no longer relies on #to_hash and therefore
268 accepts any Enumerable as parameter. (Simon Rozet)
4cab214 @rkh Changelog for 1.1
rkh authored
269
7149810 @rkh Add recent changes to CHANGES.
rkh authored
270 * Nested templates default the `layout` option to `false` rather than `true`.
271 This eases the use of partials. If you wanted to render one haml template
272 embedded in another, you had to call `haml :partial, {}, :layout => false`.
273 As you almost never want the partial to be wrapped in the standard layout
274 in this situation, you now only have to call `haml :partial`. Passing in
275 `layout` explicitly is still possible. (Konstantin Haase)
276
277 * If a the return value of one of the render functions is used as a response
278 body and the content type has not been set explicitly, Sinatra chooses a
279 content type corresponding to the rendering engine rather than just using
280 "text/html". (Konstantin Haase)
281
a8a95ad @rkh Update CHANGES
rkh authored
282 * README is now available in Chinese (Wu Jiang), French (Mickael Riga),
283 German (Bernhard Essl, Konstantin Haase, burningTyger), Hungarian (Janos
284 Hardi) and Spanish (Gabriel Andretta). The extremely outdated Japanese
285 README has been updated (Kouhei Yanagita).
4cab214 @rkh Changelog for 1.1
rkh authored
286
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
287 * It is now possible to access Sinatra's template_cache from the outside.
288 (Nick Sutterer)
4cab214 @rkh Changelog for 1.1
rkh authored
289
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
290 * The `last_modified` method now also accepts DateTime instances and makes
291 sure the header will always be set to a string. (Konstantin Haase)
4cab214 @rkh Changelog for 1.1
rkh authored
292
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
293 * 599 now is a legal status code. (Steve Shreeve)
4cab214 @rkh Changelog for 1.1
rkh authored
294
295 * This release is compatible with Ruby 1.9.2. Sinatra was trying to read
1c82b9d @burningTyger Fixed typos in CHANGES.
burningTyger authored
296 non existent files Ruby added to the call stack. (Shota Fukumori,
8a3aea1 @rkh add Shota Fukumori to the change log
rkh authored
297 Konstantin Haase)
4cab214 @rkh Changelog for 1.1
rkh authored
298
1c82b9d @burningTyger Fixed typos in CHANGES.
burningTyger authored
299 * Prevents a memory leak on 1.8.6 in production mode. Note, however, that
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
300 this is due to a bug in 1.8.6 and request will have the additional overhead
301 of parsing templates again on that version. It is recommended to use at
302 least Ruby 1.8.7. (Konstantin Haase)
303
1a6bea5 @rkh Mention last_modified changes in README.
rkh authored
304 * Compares last modified date correctly. `last_modified` was halting only
305 when the 'If-Modified-Since' header date was equal to the time specified.
306 Now, it halts when is equal or later than the time specified (Gabriel
307 Andretta).
308
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
309 * Sinatra is now usable in combination with Rails 3. When mounting a Sinatra
310 application under a subpath in Rails 3, the PATH_INFO is not prefixed with
311 a slash and no routes did match. (José Valim)
312
a8a95ad @rkh Update CHANGES
rkh authored
313 * Better handling of encodings in 1.9, defaults params encoding to UTF-8.
e51bb77 @rkh Update CHANGES.
rkh authored
314 (Konstantin Haase)
315
3ae524e @rkh Update CHANGES: show_exception behavior changed and we no longer chec…
rkh authored
316 * `show_exeptions` handling is now triggered after custom error handlers, if
317 it is set to `:after_handlers`, thus not disabling those handler in
318 development mode. (pangel, Konstantin Haase)
7149810 @rkh Add recent changes to CHANGES.
rkh authored
319
da346eb @rkh Reorganize CHANGES and add Spanish/French READMEs to it.
rkh authored
320 * Added ability to handle weighted HTTP_ACCEPT headers. (Davide D'Agostino)
321
322 * `send_file` now always respects the `:type` option if set. Previously it
323 was discarded if no matching mime type was found, which made it impossible
324 to directly pass a mime type. (Konstantin Haase)
325
326 * `redirect` always redirects to an absolute URI, even if a relative URI was
327 passed. Ensures compatibility with RFC 2616 section 14.30. (Jean-Philippe
328 Garcia Ballester, Anthony Williams)
329
330 * Broken examples for using Erubis, Haml and Test::Unit in README have been
331 fixed. (Nick Sutterer, Doug Ireton, Jason Stewart, Eric Marden)
332
4cab214 @rkh Changelog for 1.1
rkh authored
333 * Sinatra now handles SIGTERM correctly. (Patrick Collison)
334
335 * Fixes an issue with inline templates in modular applications that manually
336 call `run!`. (Konstantin Haase)
337
f96c6ef @rkh Add latest changes to changelog.
rkh authored
338 * Spaces after inline template names are now ignored (Konstantin Haase)
339
4cab214 @rkh Changelog for 1.1
rkh authored
340 * It's now possible to use Sinatra with different package management
341 systems defining a custom require. (Konstantin Haase)
342
343 * Lighthouse has been dropped in favor of GitHub issues.
344
f96c6ef @rkh Add latest changes to changelog.
rkh authored
345 * Tilt is now a dependency and therefore no longer ships bundled with
346 Sinatra. (Ryan Tomayko, Konstantin Haase)
347
7149810 @rkh Add recent changes to CHANGES.
rkh authored
348 * Sinatra now depends on Rack 1.1 or higher. Rack 1.0 is no longer supported.
349 (Konstantin Haase)
350
37eb3a7 @rtomayko correct release date in CHANGES file
rtomayko authored
351 = 1.0 / 2010-03-23
f75bee5 @rtomayko Cleanup and refactoring after inheritance changes
rtomayko authored
352
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
353 * It's now possible to register blocks to run after each request using
354 after filters. After filters run at the end of each request, after
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
355 routes and error handlers. (Jimmy Schementi)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
356
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
357 * Sinatra now uses Tilt <http://github.com/rtomayko/tilt> for rendering
358 templates. This adds support for template caching, consistent
359 template backtraces, and support for new template engines, like
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
360 mustache and liquid. (Ryan Tomayko)
361
f5efc37 @rtomayko add a note about template compilation to CHANGES
rtomayko authored
362 * ERB, Erubis, and Haml templates are now compiled the first time
363 they're rendered instead of being string eval'd on each invocation.
364 Benchmarks show a 5x-10x improvement in render time. This also
365 reduces the number of objects created, decreasing pressure on Ruby's
366 GC. (Ryan Tomayko)
367
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
368 * New 'settings' method gives access to options in both class and request
369 scopes. This replaces the 'options' method. (Chris Wanstrath)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
370
f889c75 @rtomayko reload_templates setting; on by default in :development [#321]
rtomayko authored
371 * New boolean 'reload_templates' setting controls whether template files
372 are reread from disk and recompiled on each request. Template read/compile
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
373 is cached by default in all environments except development. (Ryan Tomayko)
f889c75 @rtomayko reload_templates setting; on by default in :development [#321]
rtomayko authored
374
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
375 * New 'erubis' helper method for rendering ERB template with Erubis. The
376 erubis gem is required. (Dylan Egan)
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
377
378 * New 'cache_control' helper method provides a convenient way of
379 setting the Cache-Control response header. Takes a variable number
380 of boolean directives followed by a hash of value directives, like
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
381 this: cache_control :public, :must_revalidate, :max_age => 60
382 (Ryan Tomayko)
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
383
ce3a8a8 @rtomayko rearrange a couple of bullets in CHANGES for easier reading
rtomayko authored
384 * New 'expires' helper method is like cache_control but takes an
385 integer number of seconds or Time object:
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
386 expires 300, :public, :must_revalidate
387 (Ryan Tomayko)
388
389 * New request.secure? method for checking for an SSL connection.
390 (Adam Wiggins)
ce3a8a8 @rtomayko rearrange a couple of bullets in CHANGES for easier reading
rtomayko authored
391
4d61607 @sr update README/CHANGES re. -o
sr authored
392 * Sinatra apps can now be run with a `-o <addr>` argument to specify
1b8fda8 @sr attribute to the right person
sr authored
393 the address to bind to. (Ryan Tomayko)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
394
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
395 * Rack::Session::Cookie is now added to the middleware pipeline when
396 running in test environments if the :sessions option is set.
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
397 (Simon Rozet)
e3a9f9e @rtomayko update CHANGES file with recent changes
rtomayko authored
398
f75bee5 @rtomayko Cleanup and refactoring after inheritance changes
rtomayko authored
399 * Route handlers, before filters, templates, error mappings, and
400 middleware are now resolved dynamically up the inheritance hierarchy
401 when needed instead of duplicating the superclass's version when
402 a new Sinatra::Base subclass is created. This should fix a variety
403 of issues with extensions that need to add any of these things
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
404 to the base class. (Ryan Tomayko)
f75bee5 @rtomayko Cleanup and refactoring after inheritance changes
rtomayko authored
405
4e71959 @rtomayko error handlers always override raise_errors option
rtomayko authored
406 * Exception error handlers always override the raise_errors option now.
407 Previously, all exceptions would be raised outside of the application
408 when the raise_errors option was enabled, even if an error handler was
409 defined for that exception. The raise_errors option now controls
410 whether unhandled exceptions are raised (enabled) or if a generic 500
411 error is returned (disabled). (Ryan Tomayko)
412
45ba561 @rtomayko attribute people in CHANGES
rtomayko authored
413 * The X-Cascade response header is set to 'pass' when no matching route
414 is found or all routes pass. (Josh Peek)
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
415
f6fc751 @sr update CHANGES re. filters and static files
sr authored
416 * Filters do not run when serving static files anymore. (Ryan Tomayko)
417
8a7dd92 mention pass blocks in CHANGES
Blake Mizerany authored
418 * pass takes an optional block to be used as the route handler if no
419 subsequent route matches the request. (Blake Mizerany)
420
79a9993 @rtomayko note that Sinatra::Default is obsolete in CHANGES
rtomayko authored
421 The following Sinatra features have been obsoleted (removed entirely) in
422 the 1.0 release:
423
424 * The `sinatra/test` library is obsolete. This includes the `Sinatra::Test`
425 module, the `Sinatra::TestHarness` class, and the `get_it`, `post_it`,
426 `put_it`, `delete_it`, and `head_it` helper methods. The
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
427 [`Rack::Test` library](http://gitrdoc.com/brynary/rack-test) should
428 be used instead.
429
430 * Test framework specific libraries (`sinatra/test/spec`,
79a9993 @rtomayko note that Sinatra::Default is obsolete in CHANGES
rtomayko authored
431 `sinatra/test/bacon`,`sinatra/test/rspec`, etc.) are obsolete. See
432 http://www.sinatrarb.com/testing.html for instructions on setting up a
433 testing environment under each of these frameworks.
434
435 * `Sinatra::Default` is obsolete; use `Sinatra::Base` instead.
436 `Sinatra::Base` acts more like `Sinatra::Default` in development mode.
437 For example, static file serving and sexy development error pages are
438 enabled by default.
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
439
440 * Auto-requiring template libraries in the `erb`, `builder`, `haml`,
441 and `sass` methods is obsolete due to thread-safety issues. You must
442 require the template libraries explicitly in your app.
443
444 * The `:views_directory` option to rendering methods is obsolete; use
445 `:views` instead.
446
447 * The `:haml` and `:sass` options to rendering methods are obsolete.
448 Template engine options should be passed in the second Hash argument
449 instead.
450
f942ad7 @sr add inline_templates to CHANGES
sr authored
451 * The `use_in_file_templates` method is obsolete. Use
452 `enable :inline_templates` or `set :inline_templates, 'path/to/file'`
453
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
454 * The 'media_type' helper method is obsolete. Use 'mime_type' instead.
455
79a9993 @rtomayko note that Sinatra::Default is obsolete in CHANGES
rtomayko authored
456 * The 'mime' main and class method is obsolete. Use 'mime_type' instead.
457
e14c700 @rtomayko Update CHANGES with new features and obsoletions
rtomayko authored
458 * The request-level `send_data` method is no longer supported.
459
460 * The `Sinatra::Event` and `Sinatra::EventContext` classes are no longer
461 supported. This may effect extensions written for versions prior to 0.9.2.
462 See [Writing Sinatra Extensions](http://www.sinatrarb.com/extensions.html)
463 for the officially supported extensions API.
464
465 * The `set_option` and `set_options` methods are obsolete; use `set`
466 instead.
467
468 * The `:env` setting (`settings.env`) is obsolete; use `:environment`
469 instead.
470
471 * The request level `stop` method is obsolete; use `halt` instead.
472
473 * The request level `entity_tag` method is obsolete; use `etag`
474 instead.
475
476 * The request level `headers` method (HTTP response headers) is obsolete;
477 use `response['Header-Name']` instead.
478
479 * `Sinatra.application` is obsolete; use `Sinatra::Application` instead.
480
481 * Using `Sinatra.application = nil` to reset an application is obsolete.
482 This should no longer be necessary.
483
484 * Using `Sinatra.default_options` to set base configuration items is
485 obsolete; use `Sinatra::Base.set(key, value)` instead.
486
487 * The `Sinatra::ServerError` exception is obsolete. All exceptions raised
488 within a request are now treated as internal server errors and result in
489 a 500 response status.
490
3cfd06a @vangberg add :methodoverride => :method_override to CHANGES
vangberg authored
491 * The `:methodoverride' option to enable/disable the POST _method hack is
492 obsolete; use `:method_override` instead.
493
3d2988c @rtomayko Forgot to add release date for 0.9.2 in CHANGES
rtomayko authored
494 = 0.9.2 / 2009-05-18
13fc79d @rtomayko Remove support for source file reloading [#166]
rtomayko authored
495
5d6ac2a @rtomayko update CHANGES for 0.9.2 (perhaps 1.0) release
rtomayko authored
496 * This version is compatible with Rack 1.0. [Rein Henrichs]
497
498 * The development-mode unhandled exception / error page has been
499 greatly enhanced, functionally and aesthetically. The error
500 page is used when the :show_exceptions option is enabled and an
501 exception propagates outside of a route handler or before filter.
502 [Simon Rozet / Matte Noble / Ryan Tomayko]
503
504 * Backtraces that move through templates now include filenames and
505 line numbers where possible. [#51 / S. Brent Faulkner]
506
507 * All templates now have an app-level option for setting default
508 template options (:haml, :sass, :erb, :builder). The app-level
509 option value must be a Hash if set and is merged with the
510 template options specified to the render method (Base#haml,
511 Base#erb, Base#builder). [S. Brent Faulkner, Ryan Tomayko]
512
513 * The method signature for all template rendering methods has
514 been unified: "def engine(template, options={}, locals={})".
515 The options Hash now takes the generic :views, :layout, and
516 :locals options but also any template-specific options. The
517 generic options are removed before calling the template specific
518 render method. Locals may be specified using either the
519 :locals key in the options hash or a second Hash option to the
520 rendering method. [#191 / Ryan Tomayko]
521
522 * The receiver is now passed to "configure" blocks. This
523 allows for the following idiom in top-level apps:
524 configure { |app| set :foo, app.root + '/foo' }
525 [TJ Holowaychuck / Ryan Tomayko]
526
527 * The "sinatra/test" lib is deprecated and will be removed in
528 Sinatra 1.0. This includes the Sinatra::Test module and
529 Sinatra::TestHarness class in addition to all the framework
530 test helpers that were deprecated in 0.9.1. The Rack::Test
531 lib should be used instead: http://gitrdoc.com/brynary/rack-test
532 [#176 / Simon Rozet]
533
13fc79d @rtomayko Remove support for source file reloading [#166]
rtomayko authored
534 * Development mode source file reloading has been removed. The
535 "shotgun" (http://rtomayko.github.com/shotgun/) program can be
536 used to achieve the same basic functionality in most situations.
537 Passenger users should use the "tmp/always_restart.txt"
5d6ac2a @rtomayko update CHANGES for 0.9.2 (perhaps 1.0) release
rtomayko authored
538 file (http://tinyurl.com/c67o4h). [#166 / Ryan Tomayko]
539
b48ed22 @rtomayko Add note about auto-require deprecation to CHANGES
rtomayko authored
540 * Auto-requiring template libs in the erb, builder, haml, and
541 sass methods is deprecated due to thread-safety issues. You must
542 require the template libs explicitly in your app file. [Simon Rozet]
543
5d6ac2a @rtomayko update CHANGES for 0.9.2 (perhaps 1.0) release
rtomayko authored
544 * A new Sinatra::Base#route_missing method was added. route_missing
545 is sent when no route matches the request or all route handlers
546 pass. The default implementation forwards the request to the
547 downstream app when running as middleware (i.e., "@app" is
548 non-nil), or raises a NotFound exception when no downstream app
549 is defined. Subclasses can override this method to perform custom
550 route miss logic. [Jon Crosby]
551
552 * A new Sinatra::Base#route_eval method was added. The method
553 yields to the block and throws :halt with the result. Subclasses
554 can override this method to tap into the route execution logic.
555 [TJ Holowaychuck]
556
557 * Fix the "-x" (enable request mutex / locking) command line
558 argument. Passing -x now properly sets the :lock option.
559 [S. Brent Faulkner, Ryan Tomayko]
560
561 * Fix writer ("foo=") and predicate ("foo?") methods in extension
562 modules not being added to the registering class.
563 [#172 / Pat Nakajima]
564
565 * Fix in-file templates when running alongside activesupport and
566 fatal errors when requiring activesupport before sinatra
567 [#178 / Brian Candler]
568
569 * Fix various issues running on Google AppEngine.
570 [Samuel Goebert, Simon Rozet]
571
572 * Fix in-file templates __END__ detection when __END__ exists with
573 other stuff on a line [Yoji Shidara]
13fc79d @rtomayko Remove support for source file reloading [#166]
rtomayko authored
574
0f02baf @rtomayko 0.9.1.1 security release
rtomayko authored
575 = 0.9.1.1 / 2009-03-09
576
577 * Fix directory traversal vulnerability in default static files
578 route. See [#177] for more info.
579
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
580 = 0.9.1 / 2009-03-01
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
581
582 * Sinatra now runs under Ruby 1.9.1 [#61]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
583
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
584 * Route patterns (splats, :named, or Regexp captures) are now
585 passed as arguments to the block. [#140]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
586
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
587 * The "helpers" method now takes a variable number of modules
588 along with the normal block syntax. [#133]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
589
cf32f2e @rtomayko Middleware enhancements: automatic and explicit forward to downstream…
rtomayko authored
590 * New request-level #forward method for middleware components: passes
591 the env to the downstream app and merges the response status, headers,
0e1fd22 @rtomayko Misc additions to the CHANGES file
rtomayko authored
592 and body into the current context. [#126]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
593
cf32f2e @rtomayko Middleware enhancements: automatic and explicit forward to downstream…
rtomayko authored
594 * Requests are now automatically forwarded to the downstream app when
595 running as middleware and no matching route is found or all routes
596 pass.
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
597
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
598 * New simple API for extensions/plugins to add DSL-level and
599 request-level methods. Use Sinatra.register(mixin) to extend
600 the DSL with all public methods defined in the mixin module;
601 use Sinatra.helpers(mixin) to make all public methods defined
602 in the mixin module available at the request level. [#138]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
603 See http://www.sinatrarb.com/extensions.html for details.
604
605 * Named parameters in routes now capture the "." character. This makes
606 routes like "/:path/:filename" match against requests like
607 "/foo/bar.txt"; in this case, "params[:filename]" is "bar.txt".
608 Previously, the route would not match at all.
609
610 * Added request-level "redirect back" to redirect to the referring
611 URL.
612
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
613 * Added a new "clean_trace" option that causes backtraces dumped
614 to rack.errors and displayed on the development error page to
615 omit framework and core library backtrace lines. The option is
616 enabled by default. [#77]
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
617
090c4d7 @rtomayko Fix weirdness with partials in ERB [#158]
rtomayko authored
618 * The ERB output buffer is now available to helpers via the @_out_buf
619 instance variable.
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
620
621 * It's now much easier to test sessions in unit tests by passing a
622 ":session" option to any of the mock request methods. e.g.,
623 get '/', {}, :session => { 'foo' => 'bar' }
624
2f377e2 @rtomayko Trim down Testing section in the README; link to doc site instead
rtomayko authored
625 * The testing framework specific files ('sinatra/test/spec',
626 'sinatra/test/bacon', 'sinatra/test/rspec', etc.) have been deprecated.
627 See http://sinatrarb.com/testing.html for instructions on setting up
628 a testing environment with these frameworks.
629
a9e9f00 @rtomayko Add send_data back in but deprecate [#143]
rtomayko authored
630 * The request-level #send_data method from Sinatra 0.3.3 has been added
631 for compatibility but is deprecated.
41c8aeb @rtomayko Bring CHANGES file up to date with last week of stuff
rtomayko authored
632
987d622 @rtomayko Bump version to 0.9.1 and update CHANGES file
rtomayko authored
633 * Fix :provides causing crash on any request when request has no
634 Accept header [#139]
635
636 * Fix that ERB templates were evaluated twice per "erb" call.
637
638 * Fix app-level middleware not being run when the Sinatra application is
639 run as middleware.
640
641 * Fixed some issues with running under Rack's CGI handler caused by
642 writing informational stuff to stdout.
643
0e1fd22 @rtomayko Misc additions to the CHANGES file
rtomayko authored
644 * Fixed that reloading was sometimes enabled when starting from a
645 rackup file [#110]
646
647 * Fixed that "." in route patterns erroneously matched any character
648 instead of a literal ".". [#124]
649
f99015d @rtomayko Bring in CHANGES additions from 0.9.0.x branch
rtomayko authored
650 = 0.9.0.4 / 2009-01-25
651
652 * Using halt with more than 1 args causes ArgumentError [#131]
653 * using halt in a before filter doesn't modify response [#127]
654 * Add deprecated Sinatra::EventContext to unbreak plugins [#130]
655 * Give access to GET/POST params in filters [#129]
656 * Preserve non-nested params in nested params hash [#117]
657 * Fix backtrace dump with Rack::Lint [#116]
658
659 = 0.9.0.3 / 2009-01-21
660
661 * Fall back on mongrel then webrick when thin not found. [#75]
662 * Use :environment instead of :env in test helpers to
663 fix deprecation warnings coming from framework.
664 * Make sinatra/test/rspec work again [#113]
665 * Fix app_file detection on windows [#118]
666 * Fix static files with Rack::Lint in pipeline [#121]
667
668 = 0.9.0.2 / 2009-01-18
669
670 * Halting a before block should stop processing of routes [#85]
671 * Fix redirect/halt in before filters [#85]
672
968194d @rtomayko 0.9.0 release
rtomayko authored
673 = 0.9.0 / 2009-01-18
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
674
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
675 * Works with and requires Rack >= 0.9.1
676
677 * Multiple Sinatra applications can now co-exist peacefully within a
678 single process. The new "Sinatra::Base" class can be subclassed to
679 establish a blank-slate Rack application or middleware component.
680 Documentation on using these features is forth-coming; the following
681 provides the basic gist: http://gist.github.com/38605
682
1fa9807 @foca Nested params (e.g., "post[title]=Hello") [#70]
foca authored
683 * Parameters with subscripts are now parsed into a nested/recursive
684 Hash structure. e.g., "post[title]=Hello&post[body]=World" yields
685 params: {'post' => {'title' => 'Hello', 'body' => 'World'}}.
686
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
687 * Regular expressions may now be used in route pattens; captures are
688 available at "params[:captures]".
b5faa57 @rtomayko Dump backtrace to rack.errors on unhandled exception
rtomayko authored
689
38778ed @cypher Add filtering support for Accept HTTP header.
cypher authored
690 * New ":provides" route condition takes an array of mime types and
691 matches only when an Accept request header is present with a
692 corresponding type. [cypher]
693
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
694 * New request-level "pass" method; immediately exits the current block
695 and passes control to the next matching route.
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
696
697 * The request-level "body" method now takes a block; evaluation is
698 deferred until an attempt is made to read the body. The block must
699 return a String or Array.
700
701 * New "route conditions" system for attaching rules for when a route
702 matches. The :agent and :host route options now use this system.
703
17cb177 @cypher README and CHANGES tweaks for 0.9.0 release (#63)
cypher authored
704 * New "dump_errors" option controls whether the backtrace is dumped to
705 rack.errors when an exception is raised from a route. The option is
706 enabled by default for top-level apps.
707
708 * Better default "app_file", "root", "public", and "views" location
709 detection; changes to "root" and "app_file" automatically cascade to
710 other options that depend on them.
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
711
712 * Error mappings are now split into two distinct layers: exception
713 mappings and custom error pages. Exception mappings are registered
714 with "error(Exception)" and are run only when the app raises an
715 exception. Custom error pages are registered with "error(status_code)",
716 where "status_code" is an integer, and are run any time the response
717 has the status code specified. It's also possible to register an error
718 page for a range of status codes: "error(500..599)".
719
968194d @rtomayko 0.9.0 release
rtomayko authored
720 * In-file templates are now automatically imported from the file that
721 requires 'sinatra'. The use_in_file_templates! method is still available
722 for loading templates from other files.
723
c2849ff @rtomayko Note sinatra/test modifications in CHANGES file
rtomayko authored
724 * Sinatra's testing support is no longer dependent on Test::Unit. Requiring
725 'sinatra/test' adds the Sinatra::Test module and Sinatra::TestHarness
726 class, which can be used with any test framework. The 'sinatra/test/unit',
727 'sinatra/test/spec', 'sinatra/test/rspec', or 'sinatra/test/bacon' files
728 can be required to setup a framework-specific testing environment. See the
729 README for more information.
730
1fb5b99 @dylanegan Bacon support
dylanegan authored
731 * Added support for Bacon (test framework). The 'sinatra/test/bacon' file
732 can be required to setup Sinatra test helpers on Bacon::Context.
733
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
734 * Deprecated "set_option" and "set_options"; use "set" instead.
735
736 * Deprecated the "env" option ("options.env"); use "environment" instead.
737
738 * Deprecated the request level "stop" method; use "halt" instead.
739
740 * Deprecated the request level "entity_tag" method; use "etag" instead.
741 Both "entity_tag" and "etag" were previously supported.
742
743 * Deprecated the request level "headers" method (HTTP response headers);
744 use "response['Header-Name']" instead.
745
746 * Deprecated "Sinatra.application"; use "Sinatra::Application" instead.
747
748 * Deprecated setting Sinatra.application = nil to reset an application.
749 This should no longer be necessary.
750
751 * Deprecated "Sinatra.default_options"; use
752 "Sinatra::Default.set(key, value)" instead.
753
754 * Deprecated the "ServerError" exception. All Exceptions are now
755 treated as internal server errors and result in a 500 response
756 status.
757
91922b7 @rtomayko Deprecate get_it, post_it, etc. test helpers with warnings
rtomayko authored
758 * Deprecated the "get_it", "post_it", "put_it", "delete_it", and "head_it"
759 test helper methods. Use "get", "post", "put", "delete", and "head",
760 respectively, instead.
761
ccb653f @rtomayko Update CHANGES file with hoboken notes
rtomayko authored
762 * Removed Event and EventContext classes. Applications are defined in a
763 subclass of Sinatra::Base; each request is processed within an
764 instance.
765
766 = 0.3.3 / 2009-01-06
767
768 * Pin to Rack 0.4.0 (this is the last release on Rack 0.4)
769
770 * Log unhandled exception backtraces to rack.errors.
771
772 * Use RACK_ENV environment variable to establish Sinatra
773 environment when given. Thin sets this when started with
774 the -e argument.
775
776 * BUG: raising Sinatra::NotFound resulted in a 500 response
777 code instead of 404.
778
779 * BUG: use_in_file_templates! fails with CR/LF (#45)
780
781 * BUG: Sinatra detects the app file and root path when run under
782 thin/passenger.
783
784 = 0.3.2
785
786 * BUG: Static and send_file read entire file into String before
787 sending. Updated to stream with 8K chunks instead.
788
789 * Rake tasks and assets for building basic documentation website.
790 See http://sinatra.rubyforge.org
791
792 * Various minor doc fixes.
793
794 = 0.3.1
795
796 * Unbreak optional path parameters [jeremyevans]
797
798 = 0.3.0
799
800 * Add sinatra.gemspec w/ support for github gem builds. Forks can now
801 enable the build gem option in github to get free username-sinatra.gem
802 builds: gem install username-sinatra.gem --source=http://gems.github.com/
803
804 * Require rack-0.4 gem; removes frozen rack dir.
805
806 * Basic RSpec support; require 'sinatra/test/rspec' instead of
807 'sinatra/test/spec' to use. [avdi]
808
809 * before filters can modify request environment vars used for
810 routing (e.g., PATH_INFO, REQUEST_METHOD, etc.) for URL rewriting
811 type functionality.
812
813 * In-file templates now uses @@ instead of ## as template separator.
814
815 * Top-level environment test predicates: development?, test?, production?
816
817 * Top-level "set", "enable", and "disable" methods for tweaking
818 app options. [rtomayko]
819
820 * Top-level "use" method for building Rack middleware pipelines
821 leading to app. See README for usage. [rtomayko]
822
823 * New "reload" option - set false to disable reloading in development.
824
825 * New "host" option - host/ip to bind to [cschneid]
826
827 * New "app_file" option - override the file to reload in development
828 mode [cschneid]
829
830 * Development error/not_found page cleanup [sr, adamwiggins]
831
832 * Remove a bunch of core extensions (String#to_param, String#from_param,
833 Hash#from_params, Hash#to_params, Hash#symbolize_keys, Hash#pass)
834
835 * Various grammar and formatting fixes to README; additions on
836 community and contributing [cypher]
837
838 * Build RDoc using Hanna template: http://sinatrarb.rubyforge.org/api
839
840 * Specs, documentation and fixes for splat'n routes [vic]
841
842 * Fix whitespace errors across all source files. [rtomayko]
843
844 * Fix streaming issues with Mongrel (body not closed). [bmizerany]
845
846 * Fix various issues with environment not being set properly (configure
847 blocks not running, error pages not registering, etc.) [cypher]
848
849 * Fix to allow locals to be passed to ERB templates [cschneid]
850
851 * Fix locking issues causing random errors during reload in development.
852
853 * Fix for escaped paths not resolving static files [Matthew Walker]
854
855 = 0.2.1
856
857 * File upload fix and minor tweaks.
858
859 = 0.2.0
860
861 * Initial gem release of 0.2 codebase.
Something went wrong with that request. Please try again.