Skip to content

Latest commit

 

History

History
154 lines (111 loc) · 4.82 KB

CHANGELOG.md

File metadata and controls

154 lines (111 loc) · 4.82 KB

v2.4.1: 2016-05-24

  • Added LICENSE file to release package
  • Various documentation improvements (@RyanZim)
  • Better line-numbers in errors (@dgofman)

v2.4.1: 2016-01-23

  • Strict-mode support (@mde)
  • Express 4 support (@mde)
  • Configurable localsName option (@mde)

v2.3.4: 2015-09-04

  • Whitespace slurp tag syntax -- <%_ _%> (@andidev)

v2.3.3: 2015-07-11

  • Fixed false positives for old include preprocessor directive (@mde)

v2.3.2: 2015-06-28

  • Do not require semicolons in <%- %> (@TimothyGu)
  • Use __append instead of pushToOutput (@dominykas)
  • Cache the character-encoding function (@alubbe)
  • Correctly specify execution context with opts.context (@mde)

v2.3.1: 2015-02-22

  • Stop deferring execution of renderFile callback, revert to sync execution (@mde)
  • Generated template functions are now prettier (@whitneyit)
  • Add official documentation for EJS syntax (#9) (@TimothyGu)
  • Add inline JSDoc-style documentation for public functions (#9) (@TimothyGu)
  • Add a new dynamic client-side template compilation example in examples/client-compile.html (@TimothyGu)
  • Fix running on Node.js v0.8. Note that we still do not support 0.8 officially, but if you found something that can be fixed easily please point it out. (#57) (@TimothyGu)
  • Do not trim newlines at the end of files. This might be considered incompatible by some, but the new behavior is the correct one, and is consistent with EJS v1. (#60) (@TimothyGu)
  • Readd deprecation warning for scope option that was removed in v2.2.4. It never caused any problems with Express or anything else so its removal was a mistake. (@TimothyGu)
  • Always rethrow the error from new Function() (@TimothyGu)

v2.2.4: 2015-02-01

  • Ability to customize name of the locals object with ejs.localsName (@mde)
  • Ability to override resolveInclude for include-path lookup (@olivierkaisin)
  • Only bundle rethrow() in client scripts when compileDebug is enabled (@TimothyGu)
  • Copy _with from locals object to options object (@TimothyGu)
  • Removed deprecation warnings (@mde)
  • Significantly increased performance (@TimothyGu)
  • Defer execution for renderFile callback, ensure async (@TimothyGu)

v2.2.3: 2015-01-23

  • Better filtering for deprecation notice when called from Express (@mde)

v2.2.2: 2015-01-21

  • Fix handling of variable output containing semicolons (@TimothyGu)
  • Fix included files caching (@TimothyGu)
  • Simplified caching routine (@TimothyGu)
  • Filter out deprecation warning for renderFile when called from Express (@mde)

v2.2.1: 2015-01-19

  • 4x faster HTML escaping function, especially beneficial if you use lots of escaped locals (@TimothyGu)
  • Up to 4x faster compiled functions in addition to above (@TimothyGu)
  • Caching mode regression test coverage (@TimothyGu)
  • Fix // in an expanded string (@TimothyGu)
  • Fix literal mode without an end tag (@TimothyGu)
  • Fix setting options to renderFile() through the legacy 3-argument interface (as is the case for Express.js) (@TimothyGu)
  • Added version string to exported object for use in browsers (@mde)

v2.1.4: 2015-01-12

  • Fix harmony mode (@mde)

v2.1.3: 2015-01-11

  • Fix debug option (@TimothyGu)
  • Fix two consecutive tags together (@TimothyGu)

v2.1.2: 2015-01-11

  • Fix scope option handling
  • Improve testing coverage (@TimothyGu)

v2.1.1: 2015-01-11

  • Add _with option to control whether or not to use with() {} constructs (@TimothyGu)
  • Improve test coverage (@mde & @TimothyGu)
  • Add a few more metadata fields to package.json (@TimothyGu)
  • Revert hack for Etherpad Lite (@TimothyGu)
  • Do not claim node < 0.10.0 support (@TimothyGu)
  • Pin dependencies more loosely (@TimothyGu)
  • Fix client function generation without using locals (@TimothyGu)
  • Fix error case where the callback be called twice (@TimothyGu)
  • Add "use strict"; to all JS files (@TimothyGu)
  • Fix absolute path inclusion (@TimothyGu) (#11)

v2.0.8: 2015-01-06

  • Fix crash on missing file

v2.0.7: 2015-01-05

  • Linting and cosmetics

v2.0.6: 2015-01-04

  • Temporary hack for Etherpad Lite. It will be removed soon.

v2.0.5: 2015-01-04

  • Fix leaking global fn

v2.0.4: 2015-01-04

  • Fix leaking global includeSource
  • Update client-side instructions

v2.0.3: 2015-01-04

  • Add Travis CI support
  • Add LICENSE file
  • Better compatibility with EJS v1 for options
  • Add debug option
  • Fix typos in examples in README

v2.0.2: 2015-01-03

  • Use lowercase package name in package.json

v2.0.1: 2015-01-02

  • Completely rewritten
  • Single custom delimiter (e.g., ?) with delimiter option instead of open/close options
  • include now runtime function call instead of preprocessor directive
  • Variable-based includes now possible
  • Comment tag support (<%#)
  • Data and options now separate params (i.e., render(str, data, options);)
  • Removed support for filters