Skip to content

Releases: jordanwalsh23/postman-local-mock-server

v0.2.4

22 Jul 04:17
fdcfa29
Compare
Choose a tag to compare

What's Changed

  • Update npm-publish.yml by @jordanwalsh23 in #33
  • chore(enhancement): query param value matches on decodedURI value set by @Xyedo in #32

New Contributors

  • @Xyedo made their first contribution in #32

Full Changelog: v0.2.3...v0.2.4

v0.2.3

19 Jul 03:34
b6da22e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

12 Jul 03:50
d342093
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1

05 Jul 12:45
d553021
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

02 Jul 12:09
c1051f8
Compare
Choose a tag to compare

What's Changed

This is a major refactor to the way the local mock server was working. Instead of generating the supported paths based on the responses in the collection, we now support any path in the server and use the inbound information to try and find a response.

This changes the logic to match the Postman's mock matching algorithm more closely.

  • Realigned the logic to follow the same matching logic process as Postman.
  • Added support for wildcard variables.
  • Added new tests for wildcards and folder level validations.

See #21 for more information.

Full Changelog: v0.1.1...v0.2.0

v0.1.1

15 Apr 04:15
8d5c638
Compare
Choose a tag to compare

New Features

  • Added TLS support with key/cert file parameters.
  • Added local caching layer using apicache-extra.

Breaking Changes

  • Constructor arguments are now merged into an options object. Previous code will not work in this version as the constructor has completely changed.

Previous - no longer supported:

let server = new PostmanLocalMockServer(PORT, collection);

As of v0.1.1:

let options = {
   port: 3000,
   collection: collection
};

let server = new PostmanLocalMockServer(options);

Changelog

New Contributors

Full Changelog: https://github.com/jordanwalsh23/postman-local-mock-server/commits/v0.1.1