Releases: jordanwalsh23/postman-local-mock-server
Releases · jordanwalsh23/postman-local-mock-server
v0.2.4
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
Full Changelog: v0.2.3...v0.2.4
v0.2.3
What's Changed
- Create node-tests.yml by @jordanwalsh23 in #28
- Update node versions in CI tests workflow by @jordanwalsh23 in #29
- Remove deprecated versions of node by @jordanwalsh23 in #30
- Create npm-publish.yml by @jordanwalsh23 in #27
- Feat/cache reset endpoint by @jordanwalsh23 in #26
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
- Update readme.md by @jordanwalsh23 in #24
- Fix/error with no path by @jordanwalsh23 in #25
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- Feat/add levenshtein distance calculations by @jordanwalsh23 in #23
Full Changelog: v0.2.0...v0.2.1
v0.2.0
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
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
- added ability to match headers when x-mock headers aren't used by @jordanwalsh23 in #1
- added support for x-mock-match-request-body by @jordanwalsh23 in #2
- Npm badge by @jordanwalsh23 in #3
- Add variable replacement code by @jordanwalsh23 in #4
- Fixed a bug with shared express servers. by @jordanwalsh23 in #5
- fix(server): set response code only if is defined in collection by @d0whc3r in #6
- Minor fixes by @jordanwalsh23 in #7
- added support for cli interaction by @jordanwalsh23 in #8
- removed boxen and chalk by @jordanwalsh23 in #9
- Update readme.md by @jordanwalsh23 in #10
- Improve response matching by @jordanwalsh23 in #11
- Fix/path matching by @jordanwalsh23 in #12
- Fix/log messages by @jordanwalsh23 in #13
- removed duplicate routes from log statement by @jordanwalsh23 in #14
- Support http(s) URLs to point to collections by @jonico in #15
- Value match counts twice by @jonico in #16
- Documented limitations of current request matching algorithm by @jonico in #17
- Feat: Added support for TLS endpoints by @jordanwalsh23 in #19
- Feat: Add a caching layer for GET requests. by @jordanwalsh23 in #18
- removed a debug statment by @jordanwalsh23 in #20
New Contributors
- @jordanwalsh23 made their first contribution in #1
- @d0whc3r made their first contribution in #6
- @jonico made their first contribution in #15
Full Changelog: https://github.com/jordanwalsh23/postman-local-mock-server/commits/v0.1.1