1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Readjust latest changelog entries.

This commit is contained in:
Konstantin Haase 2010-09-10 16:42:40 +02:00
parent e51bb77bd0
commit fa15c4d4ee

41
CHANGES
View file

@ -1,18 +1,19 @@
= 1.1 / Not Yet Released = 1.1 / Not Yet Released
* Before and after filters now support pattern matching, including the ability * Before and after filters now support pattern matching, including the
to use captures: "before('/user/:name') { |name| ... }". This avoids manual ability to use captures: "before('/user/:name') { |name| ... }". This
path checking. No performance loss if patterns are avoided. (Konstantin Haase) avoids manual path checking. No performance loss if patterns are avoided.
(Konstantin Haase)
* Setting multiple values now no longer relies on #to_hash and therefore accepts * Setting multiple values now no longer relies on #to_hash and therefore
any Enumerable as parameter. (Simon Rozet) accepts any Enumerable as parameter. (Simon Rozet)
* It is now possible to access Sinatra's template_cache from the outside. * It is now possible to access Sinatra's template_cache from the outside.
(Nick Sutterer) (Nick Sutterer)
* It is now possible to render SCSS files with the `scss` method, which behaves * It is now possible to render SCSS files with the `scss` method, which
exactly like `sass` except for the different file extension and assuming the behaves exactly like `sass` except for the different file extension and
SCSS syntax. (Pedro Menezes, Konstantin Haase) assuming the SCSS syntax. (Pedro Menezes, Konstantin Haase)
* Broken examples for using Erubis and Haml in README have been fixed. * Broken examples for using Erubis and Haml in README have been fixed.
(Nick Sutterer, Doug Ireton, Jason Stewart) (Nick Sutterer, Doug Ireton, Jason Stewart)
@ -20,16 +21,16 @@
* Sinatra is now able to use Tilt versions including numbers > 9, as in 0.10. * Sinatra is now able to use Tilt versions including numbers > 9, as in 0.10.
(Konstantin Haase) (Konstantin Haase)
* The `last_modified` method now also accepts DateTime instances and makes sure * The `last_modified` method now also accepts DateTime instances and makes
the header will always be set to a string. (Konstantin Haase) sure the header will always be set to a string. (Konstantin Haase)
* `send_file` now always respects the `:type` option if set. Previously it was * `send_file` now always respects the `:type` option if set. Previously it
discarded if no matching mime type was found, which made it impossible to was discarded if no matching mime type was found, which made it impossible
directly pass a mime type. (Konstantin Haase) to directly pass a mime type. (Konstantin Haase)
* `redirect` always redirects to an absolute URI, even if a relative URI was passed. * `redirect` always redirects to an absolute URI, even if a relative URI was
Ensures compatibility with RFC 2616 section 14.30. passed. Ensures compatibility with RFC 2616 section 14.30. (Jean-Philippe
(Jean-Philippe Garcia Ballester, Anthony Williams) Garcia Ballester, Anthony Williams)
* Added ability to handle weighted HTTP_ACCEPT headers. (Davide D'Agostino) * Added ability to handle weighted HTTP_ACCEPT headers. (Davide D'Agostino)
@ -58,10 +59,10 @@
* You can now use #settings from class level for convenience. * You can now use #settings from class level for convenience.
(Konstantin Haase) (Konstantin Haase)
* Prevents a memory leak on 1.8.6 is production mode. Note, however, that this * Prevents a memory leak on 1.8.6 is production mode. Note, however, that
is due to a bug in 1.8.6 and request will have the additional overhead of this is due to a bug in 1.8.6 and request will have the additional overhead
parsing templates again on that version. It is recommended to use at least of parsing templates again on that version. It is recommended to use at
Ruby 1.8.7. (Konstantin Haase) least Ruby 1.8.7. (Konstantin Haase)
* Lighthouse has been dropped in favor of GitHub issues. * Lighthouse has been dropped in favor of GitHub issues.