- development: @andybrown Supports node-sass 3.0
- enhancement: @kingcody Supports less 2.0
- enhancement: @remicastaing Allow using import in scss files
- enhancement: [@kewisch][kewisch] Allow passing options to juice
- enhancement: @jeduan Migrates back to Juice to support Node.js 0.12
- enhancement: @jeduan Uses consolidate.js
- enhancement: [@gierschv][gierschv] Uses node-sass 2.0
- enhancement: @DesignByOnyx: Add support for filename prefix
- enhancement: @skimmmer: Add dust-linkedin template engine
- enhancement: @anotherjazz: Add emblem template engine
- development: @jksdua: Update node-sass version
- bugfix: @jscharlach: Fix template scope issues
- development: @jasonsims: Update all project dependencies
- development: @jasonsims: Drop support for node v0.8.x
- development: @jonkemp: Switch to Juice2
- enhancement: @nikuph: Add support for LESS @import statement
- development: @jasonsims: Add test coverage for LESS @import
- enhancement: @antoinepairet: Add support for
.scss
file extension - development: Moved changelog to CHANGELOG.md
- development: @jasonsims: Added [TravisCI][travisci] integration [travisci]: https://travis-ci.org/niftylettuce/node-email-templates
- development: @jasonsims: Deprecated windows branch and module
- bugfix: @miguelmota: Batch templateName issue
- bugfix: Misc bugfixes to main
- development: @jasonsims: Abstracted templateManager
- development: @jasonsims: Added integration tests
- development: @jasonsims: Added unit tests
- enhancement: @jasonsims: Added support for various CSS pre-processors
- enhancement: @jasonsims: Added support for multiple HTML template engines
- bugfix: Long path issue for Windows
- bugfix: Batch documentation issue
- bugfix: Juice dependency issue
- enhancement: Minor updates
- enhancement: @nicjansma: Added support for ejs's include directive
- bugfix: @vekexasia: Fixed batch problem (...has no method slice)
-
enhancement: Added support for an optional zlib compression type. You can now return compressed html/text buffer for db storage
template('newsletter', locals, 'deflateRaw', function(err, html, text) { // The `html` and `text` are buffers compressed using zlib.deflateRaw // <http://nodejs.org/docs/latest/api/zlib.html#zlib_zlib_deflateraw_buf_callback> // **NOTE**: You could also pass 'deflate' or 'gzip' if necessary, and it works with batch rendering as well })
- enhancement: Removed requirement for style.css and text.ejs files with compatibility in node v0.6.x to v0.8.x. It now utilizes path.exists instead of fs.exists respectively.