Releases: mde/ejs
Releases · mde/ejs
v2.4.2
v2.4.1
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.2.4
- 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
v2.2.2
- 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
- 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)
- 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)