We just released Sinatra 1.2.4 with the following bug fixes:
* Sinatra::Application (classic style) does not use a session secret in
development mode, so sessions are not invalidated after every request when
* The request object was shared between multiple Sinatra instances in the
same middleware chain. This caused issues if any non-sinatra routing
happend in-between two of those instances, or running a request twice
against an application (described in the README). The caching was reverted.
See GH#239 and GH#256 for more infos.
* Fixed issues where the top level DSL was interfering with method_missing
proxies. This issue surfaced when Rails 3 was used with older Sass versions
and Sinatra >= 1.2.0.
* Sinatra::Delegator.delegate is now able to delegate any method names, even
those containing special characters. This allows better integration into
other programming languages on Rubinius (probably on the JVM, too), like
* Remove HEAD request logic and let Rack::Head handle it instead.
Special thanks for helping with this release go to Gabriel Andretta, Matthew
Sullivan, Paolo "Nusco" Perrotta, Zachary Scott, Rémi Prévost and burningTyger
The Sinatra Team
Blake Mizerany, Ryan Tomayko, Simon Rozet and Konstantin Haase