Skip to content

Releases: Sainsburys/smockerclient

v1.7.0

01 May 09:50
c79559b
Compare
Choose a tag to compare

When creating a mock definition, context options can now also be passed. Currently only a call limit is offered by smocker.

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

08 Mar 15:24
4e62e1c
Compare
Choose a tag to compare

Update go mod version to 1.22

v1.5.0

08 Mar 14:47
9fbb1ac
Compare
Choose a tag to compare

When setting headers on request mocks, the key is now converted to use a canonical format which the Go standard library itself uses. This is to avoid confusion when seemingly valid mocks are not being matched, as Smocker is case-sensitive when matching header keys even though most developers expect it to be case-insensitive. See the github issue for the reasoning.

v1.4.0

15 Sep 14:07
846ab6a
Compare
Choose a tag to compare

Update Go version to 1.21.
Update go.mod dependencies.
Update github workflows.

v1.3.0

03 May 14:38
05409c0
Compare
Choose a tag to compare

Improved Instance struct so it can be initialised as a zero value or with values. Marked the NewInstance and DefaultInstance functions as Deprecated.

v1.2.0

03 May 14:02
1dabe56
Compare
Choose a tag to compare

Add function VerifyMocksInCurrentSession which checks all the mocks in the session have been called and that no other calls have been made

Update Go mod version to 1.20

08 Feb 14:29
b294de0
Compare
Choose a tag to compare

Update Go mod version to 1.20

v1.0.0

07 Sep 15:40
Compare
Choose a tag to compare

Initial release with basic functionality to create sessions and mocks on a smoker server