From e3a9f9e3b816fddbe7f7705e3ac9a0fd1507a8ab Mon Sep 17 00:00:00 2001 From: Ryan Tomayko Date: Sun, 11 Oct 2009 21:39:55 -0700 Subject: [PATCH] update CHANGES file with recent changes --- CHANGES | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGES b/CHANGES index ed069026..c34861ab 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,23 @@ = 1.0 / unreleased + * Sinatra now uses Tilt for rendering + templates. This adds support for template caching, consistent + template backtraces, and support for new template engines, like + markaby and liquid. + + * New 'expires' helper method is like cache_control but takes an + integer number of seconds or Time object: + expires 300, :public, :must_revalidate + + * New 'cache_control' helper method provides a convenient way of + setting the Cache-Control response header. Takes a variable number + of boolean directives followed by a hash of value directives, like + this: + cache_control :public, :must_revalidate, :max_age => 60 + + * Rack::Session::Cookie is now added to the middleware pipeline when + running in test environments if the :sessions option is set. + * Route handlers, before filters, templates, error mappings, and middleware are now resolved dynamically up the inheritance hierarchy when needed instead of duplicating the superclass's version when