Skip to content

Commit

Permalink
Reorganize CHANGES and add Spanish/French READMEs to it.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Sep 21, 2010
1 parent 3a25d98 commit da346eb
Showing 1 changed file with 34 additions and 33 deletions.
67 changes: 34 additions & 33 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
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)

* 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)
Expand All @@ -19,38 +13,55 @@
`coffee` rendering methods for rendering Liquid, Markdown, Textile, RDoc,
Radius, Markaby and CoffeeScript templates (Konstantin Haase)

* Broken examples for using Erubis, Haml and Test::Unit in README have been
fixed. (Nick Sutterer, Doug Ireton, Jason Stewart, Eric Marden)

* Sinatra is now able to use Tilt versions including numbers > 9, as in 0.10.
* You can now use #settings method from class and top level for convenience.
(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)
* Setting multiple values now no longer relies on #to_hash and therefore
accepts any Enumerable as parameter. (Simon Rozet)

* `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)
* README is now available in French (Mickael Riga), German (Bernhard Essl,
Konstantin Haase) and Spanish (Gabriel Andretta).

* `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)
* It is now possible to access Sinatra's template_cache from the outside.
(Nick Sutterer)

* Added ability to handle weighted HTTP_ACCEPT headers. (Davide D'Agostino)
* The `last_modified` method now also accepts DateTime instances and makes
sure the header will always be set to a string. (Konstantin Haase)

* README is now available in German. (Bernhard Essl, Konstantin Haase)
* 599 now is a legal status code. (Steve Shreeve)

* This release is compatible with Ruby 1.9.2. Sinatra was trying to read
none existent files Ruby added to the call stack. (Shota Fukumori,
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)

* Sinatra is now usable in combination with Rails 3. When mounting a Sinatra
application under a subpath in Rails 3, the PATH_INFO is not prefixed with
a slash and no routes did match. (José Valim)

* Better handling of encodings in 1.9, defaults params encoding to UTF-8 and
respects Encoding.default_internal and Encoding.default_external.
(Konstantin Haase)

* This release is now usable in combination with Rails 3. When mounting
a Sinatra application under a subpath in Rails 3, the PATH_INFO is not
prefixed with a slash and no routes did match. (José Valim)
* Added ability to handle weighted HTTP_ACCEPT headers. (Davide D'Agostino)

* `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)

* Broken examples for using Erubis, Haml and Test::Unit in README have been
fixed. (Nick Sutterer, Doug Ireton, Jason Stewart, Eric Marden)

* Sinatra is now able to use Tilt versions including numbers > 9, as in 0.10.
(Konstantin Haase)

* Sinatra now handles SIGTERM correctly. (Patrick Collison)

Expand All @@ -62,16 +73,6 @@
* It's now possible to use Sinatra with different package management
systems defining a custom require. (Konstantin Haase)

* You can now use #settings method from class and top 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)

* 599 now is a legal status code. (Steve Shreeve)

* Lighthouse has been dropped in favor of GitHub issues.

* Tilt is now a dependency and therefore no longer ships bundled with
Expand Down

0 comments on commit da346eb

Please sign in to comment.