Releases: tuftjs/view-responder
Releases · tuftjs/view-responder
View Responder 2.0.1
View Responder 2.0.0
- The EJS and Pug template engines are now listed as peer dependences and must be installed manually.
- View Responder no longer exports a function named
createViewResponder
. - View Responder now exports two named functions called
createEjsResponder
andcreatePugResponder
.
Starting from version 2.0.0, utilize the EJS responder by importing createEjsResponder
and calling it using the await
keyword. For Pug, import createPugResponder
, also calling it with the await
keyword.
View Responder 1.1.1
File extensions are no longer required when setting the value of render
.
For an EJS responder, the example below:
{ render: 'index' }
Is equivalent to this:
{ render: 'index.ejs' }
View Responder 1.0.1
Added a .npmignore
file.
View Responder 1.0.0
This is the initial release of View Responder, a Tuft extension that adds template engine support.