Releases: gerkon/gerkon
Releases · gerkon/gerkon
Release list
Extended response objects
Gerkon 2.0
- Server.js included in index.js.
- Logs module was deleted. Now there is no logging by default. If you need one feel free to use another specialised modules (e.g., winston, bunyan, etc).
- Third argument (next) in middlewares not only resolves current middleware but also returns promise which will be resolved after request completion.
- Added ability to provide array of controllers for route instead of providing each one separately. They will be executed by the order.
- Fixed trouble with unable to use one rule for different request types.
- Added codestyle and pre-push linting.
- Some small improvements.
Logs in JSON format
Now Gerkon supports logs in JSON format. It mights be necessary if you're going to parse your logs automatically.
To use JSON logs set param logs to 'json'.