diff --git a/CHANGES b/CHANGES index 0d67f5c5..f77d6db4 100644 --- a/CHANGES +++ b/CHANGES @@ -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.