Releases: deligenius/view-engine
Releases · deligenius/view-engine
Release v10.6.0
v10.5.1d
v10.5.1c
Add basic eta support
usage
import { Application } from "https://deno.land/x/oak@v10.5.1/mod.ts";
import { viewEngine, ejsEngine, oakAdapter } from "https://deno.land/x/view_engine@v10.5.1c/mod.ts"
const app = new Application();
app.use(
viewEngine(oakAdapter, etaEngine, {
viewRoot: "./views/eta",
})
);
app.use(async (ctx, next) => {
ctx.render("index.ejs", { name: "John" } );
});
await app.listen({ port: 8000 });v10.5.1b
ViewEngine v10.5.1
View Engine is now matching the version of Oak
ViewEnging v10.5.1 works for Oak v10.5.1
- Remove factories, use direct engine import instead
- Remove cache
- Misc refactors
Release v1.5.0
- Use std@0.84 and it's compatible with oak@6.5.0
- Add denjucks engine back, thanks to @oscarotero, see #23
Release 1.4.5
Expose Handlebars hbs to allow registerHelper() work
Release 1.4.3
In order to sync the settings with deno.land with the newest version
Release v1.4.2
To allow deno.land release work with git, start tag with v