Skip to content

Releases: elliotforbes/fakes

v1.1.4

26 Apr 18:44
b6d3b38

Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3

26 Apr 18:07
580401b

Choose a tag to compare

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

20 Apr 09:27
25ebc63

Choose a tag to compare

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

15 Apr 19:35
56edcbe

Choose a tag to compare

What's Changed

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

15 Apr 19:25
a359dc6

Choose a tag to compare

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

14 Apr 07:40
603e954

Choose a tag to compare

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

13 Apr 21:04
b955bd3

Choose a tag to compare

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

13 Apr 20:36
774bb6f

Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

13 Apr 20:19
0620ab1

Choose a tag to compare

What's Changed

Full Changelog: v1.0.2...v1.0.3

MIT License

13 Apr 19:54
f24a86a

Choose a tag to compare

Full Changelog: v1.0.1...v1.0.2