- [IMPROVEMENT] Remove annoying printfs
- [IMPROVEMENT] Iterate map keys in ordered fashion
- [IMPROVEMENT] Add
RemoveHelper
andRemoveAllHelpers
functions
- [IMPROVEMENT] Add the #equal helper (#7)
- [IMPROVEMENT] Add struct tag template variable support (#8)
- [BUGFIX] Removes data races #3 - Thanks @markbates
-
[BUGFIX] Fixes passing of context in helper options #2 - Thanks @GhostRussia
-
[BREAKING] Renames and unexports constants:
handlebars.DUMP_TPL
lexer.ESCAPED_ESCAPED_OPEN_MUSTACHE
lexer.ESCAPED_OPEN_MUSTACHE
lexer.OPEN_MUSTACHE
lexer.CLOSE_MUSTACHE
lexer.CLOSE_STRIP_MUSTACHE
lexer.CLOSE_UNESCAPED_STRIP_MUSTACHE
lexer.DUMP_TOKEN_POS
lexer.DUMP_ALL_TOKENS_VAL
- Permits templates references with lowercase versions of struct fields.
- Adds
ParseFile()
function. - Adds
RegisterPartialFile()
,RegisterPartialFiles()
andClone()
methods onTemplate
. - Helpers can now be struct methods.
- Ensures safe concurrent access to helpers and partials.
- This is the first release. Raymond supports almost all handlebars features. See https://github.com/aymerick/raymond#limitations for a list of differences with the javascript implementation.