Permalink
Browse files

Documenting changes in CHANGELOG

  • Loading branch information...
1 parent 0a168db commit 1c5c417a117c49e8fd80891d3aca951b79745ade @aaronblohowiak aaronblohowiak committed May 11, 2011
Showing with 25 additions and 3 deletions.
  1. +22 −0 CHANGELOG.markdown
  2. +1 −1 README.markdown
  3. +2 −2 package.json
View
@@ -1,5 +1,27 @@
# HAML-JS Changelog
+- **v0.4.9**
+ Breaking Changes:
+ Made interpolation #{} escaped by default. Use !{} for unsafe interpolation.
+
+ New Features:
+ * Optionally exclude `html_escape` function definition from every template -- provide your own escape function invocation string ("MyApp.htmlEscape") and it will be used instead, dramatically shrinking template sizes.
+ * Optionally escape all output of `=` by default. Set the escapeHtmlByDefault configuration variable.
+ * New never-escaped `!=` recommended for when you **want** to output strings that contain html.
+ * More test coverage for interpolation and escaping
+
+ Bugfix: "inside" whitespace was not concatenating properly in some cases.
+
+- **v0.3.0**
+ New features:
+ * Comments -- Haml comments, HTML comments, JavaScript Comments
+ * Raw JS -- this lets you use if/else, switch, try/catch, et cetera
+ in your views (use cautiously!)
+ * Whitespace insertion -- Now, you can insert whitespace in and/or
+ around tags using < and >. Check the docs.
+ * Blank templates are now valid!
+ * More test coverage
+
- **v0.2.5** - *2010-05-06* - NPM support
Fixed to work with Node Package Manager
View
@@ -219,7 +219,7 @@ Sometimes safe:
%span= name
-The behavior of `=` depends on the setting of escapeHtml configuration variable. To make `=` safe, call Haml like this:
+The behavior of `=` depends on the setting of the `escapeHtmlByDefault` configuration variable. To make `=` safe, call Haml like this:
Haml(src, {escapeHtmlByDefault: true})
View
@@ -6,7 +6,7 @@
"main" : "./lib/haml",
"bin": {
"haml-js": "./lib/cli.js"
- },
+ }
"author": "Aaron Blohowiak <aaron.blohowiak@gmail.com>, Tim Caswell <tim@creationix.com>",
- "version": "0.3.0"
+ "version": "0.4.0"
}

0 comments on commit 1c5c417

Please sign in to comment.