All Versions
40
Latest Version
Avg Release Cycle
153 days
Latest Release
1596 days ago

Changelog History
Page 4

  • v0.5.1 Changes

    December 15, 2009
    • โž• Added "mail merge" functionality to mustache script.
    • ๐Ÿ‘Œ Support for multi-line tags (useful for comments)
    • ๐Ÿ›  Sinatra Bugfix: Use Sinatra app's view path, not Sinatra base class'.
  • v0.5.0 Changes

    November 23, 2009
    • ๐Ÿ‘ Partial classes are no longer supported. Use modules!
    • โž• Added mustache script for rendering templates on the command line.
    • ctemplate compat: Partials are indicated by >, not <
    • ๐Ÿ›  Bugfix: Context miss should return nil, not empty string. Fixes 1.9.x
  • v0.4.2 Changes

    October 28, 2009
    • ๐Ÿ›  Bugfix: Ignore bad constant names when autoloading
  • v0.4.1 Changes

    October 27, 2009
    • Partials now respect the view_namespace setting.
    • โž• Added tpl-mode.el to contrib/ for us Emacs users.
    • ๐Ÿ›  Rack::Bug bugfix: ensure benchmark is required before using it
    • Rack::Bug: truncate too-large variables (click expands them)
  • v0.4.0 Changes

    October 27, 2009
    • 0๏ธโƒฃ Stopped raising context miss exceptions by default
    • Added Mustache.raise_on_context_miss setting (defaults to false)
    • Throw Mustache::ContextMiss when raise_on_context_miss is true and we encounter a miss.
    • 0๏ธโƒฃ The default template extension is now "mustache" (instead of "html").
    • Added the view_namespace and view_path settings to Mustache
    • โž• Added Mustache.view_class method which autoloads a class using the new view_namespace and view_path settings. Should be used by plugin developers.
    • โšก๏ธ Updated the Sinatra extension to use the new view_class method
    • Unclosed sections now throw a helpful error message
    • Report line numbers on unclosed section errors
    • โž• Added Rack::Bug panel
  • v0.3.2 Changes

    October 19, 2009
    • ๐Ÿ›  Bugfix: Partials in Sinatra were using the wrong path.
  • v0.3.1 Changes

    October 19, 2009
    • โž• 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
  • v0.3.0 Changes

    October 14, 2009
    • ๐Ÿ‘€ 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
  • v0.2.2 Changes

    October 11, 2009
    • ๐Ÿ‘Œ Improved documentation
    • ๐Ÿ›  Fixed single line sections
    • Broke preserved indentation (issue #2)
  • v0.2.1 Changes

    October 11, 2009
    • 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