Permalink
Browse files

Log recent changes.

  • Loading branch information...
1 parent aecc05f commit 614a493640cc9cfb2aeafc860b6bbb44209aa274 @blambeau committed Jun 13, 2012
Showing with 12 additions and 2 deletions.
  1. +12 −2 CHANGELOG.md
View
14 CHANGELOG.md
@@ -1,8 +1,18 @@
# 2.1.0 / FIX ME
-## Changes to private APIs
+## Enhancements
-* RootScope as been renamed to NullScope, Scope.root to Scope.null accordingly
+* The scoping mechanism has been clarified and enhanced (mostly private APIs).
+ In particular,
+ * Template#render and Dialect#render now accepts multiple scoping objects and chain them
+ as a unique scope. The latter is branched with template locals, which are always the
+ most-specific and therefore have highest priority.
+ * RootScope as been renamed to NullScope, Scope.root to Scope.null accordingly
+ * ProxyScope has been removed to keep scopes linear chains.
+
+* Added Dialect#context, which allows knowing the subject of the less specific scope, that
+ is the first argument of Dialect#render and Template#render. In Sinatra/Tilt situation,
+ this simply correspond to the `scope`, typically the Sinatra app.
# 2.0.1 / 2012-06-12

0 comments on commit 614a493

Please sign in to comment.