- Breaking change: remove
headers
option: use a function with req as parameter instead - Document how to configure stub-server both for stubs and as a proxy
- Bind to 0.0.0.0 address
- Improve documentation
- Rework CommonJS and ESM modules, https://github.com/rollup/rollup/wiki/pkg.module
- Update npm packages
- Breaking change: CLI config path is now an argument instead of an option
- Breaking change: remove CLI short options
- New CLI option --no-delay
- Fix express peer dependency
- Improve documentation (JSDoc)
- Update npm packages
- Improve internal algorithm & unit tests
- In proxy mode:
- rewrite cookie domain
- fix request body
- remove Secure from Set-Cookie header
- Breaking change: remove lower case HTTP request methods
- Update npm packages
- Test with Node.js 16 (GitHub CI)
- Improve documentation
- Better error handling (#31)
- Update npm packages
- New option to customize HTTP headers
- Update npm packages
- Update npm packages
- Update npm packages
- Use eslint-plugin-unicorn
- Update npm packages
- Fix ESLint rules
- Improve documentation
- Update npm packages
- Switch to upper case HTTP verbs (still compatible with lower case HTTP verbs)
- Update npm packages
- Support CLI options in bin/stub-server.js thx to Commander.js
- Replace express-http-proxy with node-http-proxy
- Enable CORS in bin/stub-server.js
- CLI thx to bin/stub-server.js
- First official version