Skip to content

Releases: mde/ejs

v2.7.1

20 Nov 15:29
Compare
Choose a tag to compare

Deprecated:

  • Added deprecation notice for use of require.extensions (@mde)

v2.6.2

15 Jun 15:30
@mde mde
Compare
Choose a tag to compare
  • Correctly pass custom escape function to includes (@alecgibson)
  • Fixes for rmWhitespace (@nwoltman)
  • Examples for client-side EJS compiled with Express middleware (@mjgs)
  • Make Template constructor public (@ThisNameWasTaken)
  • Added remove function to cache (@S2-)
  • Recognize both 'Nix and Windows absolute paths (@mde)

v2.5.8

26 Mar 00:41
@mde mde
Compare
Choose a tag to compare
  • Add filename to error when include file cannot be found (@leon)
  • Node v9 in CI (@thomas)
  • Fixed special case for Express caching (@mde)
  • Added Promise/async-await support to renderFile (@mde)
  • Added notes on IDE support to README (@Betanu701)

v2.5.7

30 Jul 03:34
@mde mde
Compare
Choose a tag to compare
  • Pass configured escape function to rethrow (@straker)
  • Added vulnerabilities info into README (@mde)
  • Avoid creating function object in hot execution path (@User4martin)

v2.5.6

25 Feb 20:50
@mde mde
Compare
Choose a tag to compare
  • Use configured escape function for filenames in errors (@mde)
  • Make file-loader configurable to allow template pre-processing (@hacke2)
  • Improved renderFile performance (@nwoltman)

v2.5.5

06 Dec 08:09
@mde mde
Compare
Choose a tag to compare
  • Allow 'filename' for opts-in-data, but sanitize when rendered (@mde)

v2.5.4

05 Dec 22:12
@mde mde
Compare
Choose a tag to compare
  • Blackist more options from opts-in-data (@mde)
  • Allow trailing comments in output modes (@mde)
  • Added 'name' attribute for easy identification (@designfrontier)

v2.5.3

28 Nov 21:21
@mde mde
Compare
Choose a tag to compare
  • Blackist 'root' option from opts-in-data (@mde)

v2.5.2

07 Sep 14:54
@mde mde
Compare
Choose a tag to compare
  • Added link to EJS Playground (@RyanZim)
  • Revert express auto 'root' option (@RyanZim)

v2.5.1

25 Jul 17:23
@mde mde
Compare
Choose a tag to compare
  • Output literal %> with %%> (Roy Miloh)
  • Allow setting project root for includes (@cnwhy)
  • UMD support for the browser (@RyanZim)
  • Exported escapeXML method to allow manual escaping of output
  • Tests for strict mode (@RyanZim, @mde)
  • Added ESLint for project source code (@mde)
  • Whitespace slurp in preprocessor include (@mmis1000)
  • Improved line-number handling in errors (@Spikef)
  • Various doc improvements (@RyanZim, Ionică Bizău)