queckezz / koa-views

Template rendering middleware for koa (hbs, swig, pug, anything! :sparkles:)
MIT License
710 stars 87 forks source link

fix: render returns html #161

Closed shadowgate15 closed 2 years ago

niftylettuce commented 2 years ago

@queckezz can you please accept and then do a major semver version bump? We need this so that we can do things like const foo = await ctx.render(...) to get the raw html returned from an invocation with autoRender set to true (the default).

On a side note, I would be happy to help maintain this package. Feel free to add me as a collaborator and also on npm with npm owner add niftylettuce koa-views 🙏

niftylettuce commented 2 years ago

v8.0.0 released

https://github.com/queckezz/koa-views/releases/tag/v8.0.0

many thanks @queckezz ❤️ 🙏