Releases: muratcorlu/connect-api-mocker
Releases · muratcorlu/connect-api-mocker
1.3.5
Features:
- Body Parser added as a internal dependency. So if you can read json body from request objects without any hassle.
1.3.4
Features:
- Custom middlewares will not cached anymore. So you don't need to restart your server when you changed your custom middlewares.
1.3.3
1.3.2
Improvements:
- Base url may be root path now.
1.3.1
1.3.1 (2017-08-03)
Fixes:
- Checking for wildcard folders fail when no mocks folder exits
1.3.0
Breaking Changes:
- speedLimit feature removed
- Setting multiple routes at once feature removed
Features:
baseUrl
can be set in outside of api mocker. For example, these are valid usage examples:
app.use('/api', apiMocker('target/path'));
// or
app.use('/api/v[1-9]{1,2}/', apiMoker({
target: 'target/path',
nextOnNotFound: true
}));
- Wildcards in paths #6
1.2.3
Fixes:
- Target path doesn't ignore leading slash