Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@katima-g33k katima-g33k released this 14 Nov 13:32
· 49 commits to master since this release
1fd2052

Breaking changes

Code

  • Route functions now receive 3 arguments (responseHelper, req, res). It is no longer needed to instanciate a ResponseHelper in each route function;

Configuration

  • Most options now have default values (see documentation);
  • Allowed methods is now an array of strings;
  • Replaced customHeaderPrefix with customHeaders for more flexibility;
  • Added authPatterns to allow more flexibility with authentication methods;
  • Added responseFormatter and errorFormatter to allow plugin based data formatting;
  • Added debug flag;