Skip to content

Releases: gerkon/gerkon

Extended response objects

Choose a tag to compare

@frux frux released this 03 Mar 08:48
  • Following methods were added to the response object: res.sendCode, res.file, res.send
  • Added static files support

Gerkon 2.0

Choose a tag to compare

@frux frux released this 20 Feb 08:04
  • 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

Choose a tag to compare

@frux frux released this 15 Dec 11:14

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'.

First release

Choose a tag to compare

@frux frux released this 10 Dec 13:35
v1.0.0

v1.0.0