- Unclosed sections now throw a helpful error message
- Report line numbers on unclosed section errors
- Bugfix: Partials in Sinatra were using the wrong path.
- Added mustache.vim to contrib/ (Thanks Juvenn Woo!)
- Support string keys in contexts (not just symbol keys).
- Bugfix: # and / were not permitted in tag names. Now they are.
- Bugfix: Partials in Sinatra needed to know their extension and path
- Bugfix: Using the same boolean section twice was failing
- Set Delimiter tags are now supported. See the README
- Improved error message when an enumerable section did not return all hashes.
- Added a shortcut: if a section's value is a single hash, treat is as a one element array whose value is the hash.
- Bugfix: String templates set at the class level were not compiled
- Added a class-level
compiled?
method for checking if a template has been compiled. - Added an instance-level
compiled?
method. - Cache template compilation in Sinatra
- Improved documentation
- Fixed single line sections
- Broke preserved indentation (issue #2)
- Mustache.underscore can now be called without an argument
- Settings now mostly live at the class level, excepting
template
- Any setting changes causes the template to be recompiled