- 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)