Releases: elliotforbes/fakes
Releases · elliotforbes/fakes
v1.1.4
What's Changed
- adding chaos testing to the endpoints by @elliotforbes in #13
Full Changelog: v1.1.3...v1.1.4
v1.1.3
What's Changed
- Adds run-on syntax that provides a better developer experience by @elliotforbes in #12
Full Changelog: v1.1.2...v1.1.3
v1.1.2
What's Changed
- Adds a section to the readme that demonstrates how to specify a port by @elliotforbes in #11
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
- improving ux by @elliotforbes in #10
Specifying A Port
There are some instances where you need to specify a port upon which these fakes will run. To achieve this, you
can pass in the fakes.WithPort(N) optional parameter:
downstreamAPI := fakes.New(fakes.WithPort(10000))
...Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- Improving Developer Experience by making code terser by @elliotforbes in #9
Breaking Changes
NewFakeService -> New
AddEndpoint -> Endpoint
Full Changelog: v1.0.6...v1.1.0
v1.0.6
What's Changed
- Adds the ability to specify which methods these endpoints should exis… by @elliotforbes in #7
- Adds the ability to override the handler func in the fake endpoints by @elliotforbes in #8
Full Changelog: v1.0.5...v1.0.6
v1.0.5
What's Changed
- Updates the documentation to include an example for headers by @elliotforbes in #6
This release allows users to specify the headers for a given endpoint like so:
Headers: fakes.Headers{
"Authorization": "Bearer some-bearer",
},Full Changelog: v1.0.4...v1.0.5
v1.0.4
v1.0.3
What's Changed
- Adding test to verify path params work by @elliotforbes in #4
Full Changelog: v1.0.2...v1.0.3
MIT License
Full Changelog: v1.0.1...v1.0.2