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