Releases: mrak/stubby4node
5.1.0
5.0.0
- BREAKING CHANGES from 4.x
- The exit code for the
stubbybin script will reflect the expected/error
state of stubby.
- The exit code for the
- Dependencies have been updated to prevent vulnerabilities.
acornupdated from 7.0.0 to 7.1.1- updated node versions for testing
- lodash updated from 4.17.15 to 4.17.19
4.1.1
4.1.0
4.0.0
This project has been stable for some time, best we move to actual semver and
not prerelease versioning. This release on the old versioning system would have been release 0.4.0. It is now 4.0.0 instead.
-
BREAKING CHANGES from 0.3.x
- The
muteoption has been renamedquietto be more consistent with other cli tools
- The
-
New features
- Adds
hitsto the endpoint data that is returned from the admin portal that represents the amount of times that endpoint has been hit from the stubs portal.
- Adds
0.3.1
0.3.0
BREAKING CHANGES from 0.2.x
In 0.2.x and below, you could pass request.headers.authorization as a username:password string to signify Basic auth and stubby would automatically prefix Basic and base64-encode the user/pass string. This breaks other forms of web auth that uses the Authorization header.
# Before
request:
headers:
authorization: 'username:password'
# Now
request:
headers:
authorization: 'Basic username:password'Stubby will still base64-encode the username:password if it sees that Basic is specified and the : character is present. Otherwise it will take it as-is.
New features
json: option for endpoints -- instead of using post: or file: for matching the body of incoming requests, you can specify json: with a JSON string and its content will be deeply matched for incoming request bodies.