Releases: sanchezzzhak/node-moleculer-web
Releases · sanchezzzhak/node-moleculer-web
1.1.7
Remove cache for route option
Added settings for send statics files and fix cork.write
Full Changelog: 1.1.6...1.1.7
1.1.6
Update jsDocs
Added JWT component to AbstractController
Update dependencies: uWebSockets.js to v20.48.0 version
Full Changelog: 1.1.5...1.1.6
1.1.5
Full Changelog: 1.1.3...1.1.5
1.1.3
fix get cookie value
Full Changelog: 1.1.2...1.1.3
1.1.2
feat: added cookie read and write for controller
example:
class Home extends AbstractController {
async write() {
this.initRequest();
this.cookieData.set('my-cookie-value', 'Jon')
return this.asJson({
name: this.cookieData.get('my-cookie-value')
})
}
async read() {
this.initRequest();
return this.asJson({
name: this.cookieData.get('my-cookie-value', 'not set cookie name')
})
}
}
fix: method asJson
feat: update types-script annotations
1.1.1
Full Changelog: 1.1.0...1.1.1
1.1.0
added support nested query for this.requestData.query object
Full Changelog: 1.0.0...1.1.0
Version 1.0.0
fix typo package name