4.0.0 (2025-01-02)
- chore!: update packages (587f9de)
- add https option (#30) (8a9f15f)
- make json parser non strict (#31) (e31757f)
- migrate to ESM (20bdb07)
- JS mocks and collections now use ESM by default. To keep using your previous mocks and collections, you need to change their extension from
.js
to.cjs
- requires Node >= 18
3.1.1 (2021-01-11)
- update dependencies (894de5f)
- Add CORS option (PR #11)
- Bump dependencies and fix vulnerabilities
- Require Node.js >= 10
- Bump dependencies and fix vulnerabilities
- Bump dependencies and fix vulnerabilities
- Fix route matching with empty path components
- Fix route matching when filename has no route
- Prettify recorded JSON mocks
- Fix recorded mock content type in some cases
- Change route params prefix from
:
to@
to fix Windows-naming issue Note: old syntax with:
still works, but mocks using this syntax will not be working on Windows filesystem.
- Update documentation regarding collection recording
- Add
--collection
option to allow recording to a mock collection - Add
--save-query
option to save query parameters when recording - Add
--depth
option for mock conversion - Change shorthand param for
--ignore
from-g
to-i
- Fix
--ignore
param forsmoke-conv
tool
- Add support for single file mock collections
- Add mock collection conversion utility
- Change mock set prefix to
__
- Add support for query params matching
- Add fallback proxy option
- Add support for middleware hooks
- Add mock recording
- Add support for base64 encoded body in js/json files
- Add ignore glob option
- Fix wrong argument used as base path
- Initial release