Changes:
- Support Crystal v0.20.0.
Changes:
- Support Crysyal v0.17.0.
Changes:
- Added type annotations to instance variables to follow Crystal v0.16.0 changes.
- Fixed
Crustache::Contexttype for above.
Changes:
- Fixed type annotated default argument syntax, follow Crystal v0.14.1 changes.
Changes:
- Use
Util.escapeinstead ofHTML.escapefor Mustache spec compatibility.
Features:
- Rename
embed_mustacheandmustache_filetoMustache#.embedandMustahce#.def_to_s, follow Crystal v0.12.0 changes.
Features:
- Added ECR compatible macros,
embed_mustacheandmustache_file.
Changes:
- Fixed a bug to represent
SectionandInvertbyto_codeincorrectly.
Features:
- Support compile time template parsing.
- Added
Crustache::parse_file_staticto parse Mustache file on compile time. - Added
Crustache::loaderto createFileSystemobject to useCrustache::Engine. - Added
Crustache::loader_static, it is compile time version ofCrustache::loader.
Changes:
- Add type annotation to class constructors for Crystal next compiler.
Changes:
- Support Crystal v0.10.1.
- Implemented
IO#read(slice : Slice(UInt8))inIndentIO.
- Implemented
Changes:
- Support Crystal v0.10.0.
MemoryIO#clearraised an error when it is not resizable. Fixed it.- Fixed JSON type.
Changes:
- Replaced from
StringIOtoMemoryIOfor Crystal v0.9.0 (see manastech/crystal@9b8e6c7) - Support shards.
- Support semver to release.
Changes:
- Replaced
#lengthto#sizefor Crystal HEAD (see manastech/crystal#1363)89ade1a - Fixed arguments of
IO#writefor Crystal v0.7.7b972686 - Refactored
Crustache::Context#lookupfdd2b22
Features:
- Used
Enumerableinstead ofArrayas model typec91d35f
Changes:
- Removed
Crustache::Templatetypeef6931c - Moved
Crustache's class methods to some files to fix circular referencea507890
Features:
- Added
Crustache::Contextfor solving complex model type (see #1)e41a453 - Added
Crustache::DEFAULT_FILENAME2d80f1c
Changes:
- Remove some type restrictions (see #1)
0b10d98 - Fixed the name of
Crustache.parse_filefromCrustahce.parseFile(mismatch naming)53dfd00 - Rename from
src/crustache/tree.crtosrc/crustache/syntax.crf860a5a
becauseCrustache::Treeis renamed toCrustache::Syntax
Features:
- Added
extensionargument forCrustache::ViewLoader. It specify filename extensions of implicit loading8c69afc
Changes:
- Added
spec/spec.crfor running specsdb86034
Features:
- Added
Crustache::Engine. It is a wrapper class for typical usaged813bd2 - Added
Crustache::FileSystem#load!. It is a strict versionload8a8683b
Changes:
- Now,
Crustache::Rendereris generic class, so you can use many model types in a programee5e258 - Fixed
Crustache.render's argumentfs's bug0f97690
Features:
- Added
Crustache::ViewLoader - Added
Crustache.parseFile
Changes:
- Move
Crustache::Dataand this subclasses underCrustache::Tree
Features:
- Added implementation of Mustache v1.1.2+λ
- Added support flexible contexts (but type is complex!)