Skip to content

Releases: muratcorlu/connect-api-mocker

1.3.5

12 Jan 14:42
Compare
Choose a tag to compare

Features:

  • Body Parser added as a internal dependency. So if you can read json body from request objects without any hassle.

1.3.4

04 Oct 12:47
Compare
Choose a tag to compare

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

29 Aug 18:03
Compare
Choose a tag to compare

Features:

  • XML Support added with the type config parameter (Fixes #11)

1.3.2

15 Aug 14:21
Compare
Choose a tag to compare

Improvements:

  • Base url may be root path now.

1.3.1

03 Aug 15:03
Compare
Choose a tag to compare

1.3.1 (2017-08-03)

Fixes:

  • Checking for wildcard folders fail when no mocks folder exits

1.3.0

24 Jul 15:06
Compare
Choose a tag to compare

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

24 Mar 10:20
Compare
Choose a tag to compare

Fixes:

  • Target path doesn't ignore leading slash