- Added 'verbosity' option to control overall log level and json-server's messages about accessed routes.
- Removed 'debug' option.
- Fixing issue with missing files in the npm package.
- Whole plugin redesigned to meet the requirements of gulp plugin guidelines.
- Added ability to pipe files to the plugin.
- 'data' and 'deferredStart' removed.
- 'debug', 'cumulative' and 'cumulativeSession' options added.
- Plugin do not take objects as input anymore, start() and reload() methods removed, the only way to pass data to plugin is via pipeline.
- Added ability to add rewrite rules to static files.
- Added ability to use custom routes (reflect json-server changes)
- Use body-parser to parse req.body (allows to use req.body f.e. with custom routes).
- Forced hotfix because previous not properly published to NPM because of bug in
npm pack
.
- Added
static
option to serve static files using json-server. - Starting to use semantic versioning.
- Fixed typo in server reloading sample and updated sample itself.
- Added reloading functionality. Now DB could be easily reloaded either from file or from object.
- Added ability to kill the server.
- Added deferredStart option, allowing to define server instance, but start it later.
- The
id
key, used to match objects in collections now could be changed usingid
parameter in options. Useful to simulate other DBs, for example MongoDB's_id
.
- Added ability to change server's base URL.
- Added ability to use rewrite rules.
Basic version of plugin with ability to start json-server from specified file or object, on specific port.
MIT © 2016 Nikita Ivanov