Skip to content
This repository
Browse code

update CHANGES for 0.9.2 (perhaps 1.0) release

  • Loading branch information...
commit 5d6ac2a01278d4890d002d2598f29a81ee34157d 1 parent caca9ab
Ryan Tomayko authored April 26, 2009

Showing 1 changed file with 70 additions and 1 deletion. Show diff stats Hide diff stats

  1. 71  CHANGES
71  CHANGES
... ...
@@ -1,10 +1,79 @@
1 1
 = 0.9.2 / unreleased
2 2
 
  3
+ * This version is compatible with Rack 1.0. [Rein Henrichs]
  4
+
  5
+ * The development-mode unhandled exception / error page has been
  6
+   greatly enhanced, functionally and aesthetically. The error
  7
+   page is used when the :show_exceptions option is enabled and an
  8
+   exception propagates outside of a route handler or before filter.
  9
+   [Simon Rozet / Matte Noble / Ryan Tomayko]
  10
+
  11
+ * Backtraces that move through templates now include filenames and
  12
+   line numbers where possible. [#51 / S. Brent Faulkner]
  13
+
  14
+ * All templates now have an app-level option for setting default
  15
+   template options (:haml, :sass, :erb, :builder). The app-level
  16
+   option value must be a Hash if set and is merged with the
  17
+   template options specified to the render method (Base#haml,
  18
+   Base#erb, Base#builder). [S. Brent Faulkner, Ryan Tomayko]
  19
+
  20
+ * The method signature for all template rendering methods has
  21
+   been unified: "def engine(template, options={}, locals={})".
  22
+   The options Hash now takes the generic :views, :layout, and
  23
+   :locals options but also any template-specific options. The
  24
+   generic options are removed before calling the template specific
  25
+   render method. Locals may be specified using either the
  26
+   :locals key in the options hash or a second Hash option to the
  27
+   rendering method. [#191 / Ryan Tomayko]
  28
+
  29
+ * The receiver is now passed to "configure" blocks. This
  30
+   allows for the following idiom in top-level apps:
  31
+   configure { |app| set :foo, app.root + '/foo' }
  32
+   [TJ Holowaychuck / Ryan Tomayko]
  33
+
  34
+ * The "sinatra/test" lib is deprecated and will be removed in
  35
+   Sinatra 1.0. This includes the Sinatra::Test module and
  36
+   Sinatra::TestHarness class in addition to all the framework
  37
+   test helpers that were deprecated in 0.9.1. The Rack::Test
  38
+   lib should be used instead: http://gitrdoc.com/brynary/rack-test
  39
+   [#176 / Simon Rozet]
  40
+
3 41
  * Development mode source file reloading has been removed. The
4 42
    "shotgun" (http://rtomayko.github.com/shotgun/) program can be
5 43
    used to achieve the same basic functionality in most situations.
6 44
    Passenger users should use the "tmp/always_restart.txt"
7  
-   file (http://tinyurl.com/c67o4h). [#166]
  45
+   file (http://tinyurl.com/c67o4h). [#166 / Ryan Tomayko]
  46
+
  47
+ * A new Sinatra::Base#route_missing method was added. route_missing
  48
+   is sent when no route matches the request or all route handlers
  49
+   pass.  The default implementation forwards the request to the
  50
+   downstream app when running as middleware (i.e., "@app" is
  51
+   non-nil), or raises a NotFound exception when no downstream app
  52
+   is defined. Subclasses can override this method to perform custom
  53
+   route miss logic. [Jon Crosby]
  54
+
  55
+ * A new Sinatra::Base#route_eval method was added. The method
  56
+   yields to the block and throws :halt with the result. Subclasses
  57
+   can override this method to tap into the route execution logic.
  58
+   [TJ Holowaychuck]
  59
+
  60
+ * Fix the "-x" (enable request mutex / locking) command line
  61
+   argument. Passing -x now properly sets the :lock option.
  62
+   [S. Brent Faulkner, Ryan Tomayko]
  63
+
  64
+ * Fix writer ("foo=") and predicate ("foo?") methods in extension
  65
+   modules not being added to the registering class.
  66
+   [#172 / Pat Nakajima]
  67
+
  68
+ * Fix in-file templates when running alongside activesupport and
  69
+   fatal errors when requiring activesupport before sinatra
  70
+   [#178 / Brian Candler]
  71
+
  72
+ * Fix various issues running on Google AppEngine.
  73
+   [Samuel Goebert, Simon Rozet]
  74
+
  75
+ * Fix in-file templates __END__ detection when __END__ exists with
  76
+   other stuff on a line [Yoji Shidara]
8 77
 
9 78
 = 0.9.1.1 / 2009-03-09
10 79
 

1 note on commit 5d6ac2a

S. Brent Faulkner

I didn't have anything to do with this... I think it was James Tucker (raggi)

Ryan Tomayko
Owner

Cool. Someone reported it a while back and I can't remember who.

Please sign in to comment.
Something went wrong with that request. Please try again.