Skip to content

Releases: keploy/go-sdk

v0.5.1

26 Aug 06:33
27ae21d
Compare
Choose a tag to compare

What's Changed

  • fix: remove local keploy ref from go.mod and bump version by @slayerjain in #117

Full Changelog: v0.5.0...v0.5.1

v0.5.0

26 Aug 06:22
ceb818f
Compare
Choose a tag to compare

What's Changed

  • feat: implement independent mocking and code export by @slayerjain in #112
  • fix: merges mock/httpClient and integrations/httpClient and uses mode enums by @re-Tick in #115

Full Changelog: v0.4.4...v0.5.0

v0.4.4

18 Aug 09:35
1c99aed
Compare
Choose a tag to compare

What's Changed

  • fix: check nil pointers for sql methods during capture mode by @re-Tick in #106

Full Changelog: v0.4.3...v0.4.4

v0.4.3

16 Aug 14:29
02725df
Compare
Choose a tag to compare

What's Changed

  • feat(pre-commit-hook & contribution guid) : Added support for gofmt pre-commit hook & updated contribution.md file with all the steps to make the contribution. by @khanjasir90 in #94
  • typo changed by @ShivamTyagi12345 in #100
  • Refactor router interface by @re-Tick in #88
  • fix: adds eof to prevent failure in test mode by @re-Tick in #90
  • fix: make change in capture response method to record tests by @iamskp99 in #103

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

11 Jul 05:42
4380243
Compare
Choose a tag to compare

What's Changed

  • fix: bump crypto package to fix security vulnerability by @khanjasir90 in #96

New Contributors

Full Changelog: v0.4.1...v0.4.2

v0.4.1

07 May 15:20
66f6b62
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.3.7...v0.4.1

v0.4.0

22 Apr 16:25
d17001f
Compare
Choose a tag to compare

What's Changed

  • fix (httpclient): add check for nil response pointer on record on mode. by @re-Tick in #78
  • refactor router code by adding a generic method. by @re-Tick in #75
  • adds a check in simulate to fix CI/CD fail of keploy github actions. by @re-Tick in #85

Full Changelog: v0.3.6...v0.4.0

v0.3.6

07 Apr 07:35
15f7c45
Compare
Choose a tag to compare
fix(readme): fixes typo in gorm example

v0.3.5

18 Mar 10:55
3ed54ad
Compare
Choose a tag to compare
adds a check for running in test mode without db connection (#71)

* feat(mongo): Adds Distinct, CountDocuments and Aggregate methods to mock their outputs.

* fix(keploy): adds a delay in between capture and denoise calls to keploy server

delay is necessary to capture the noise fields of response accurately

* fix(kmongo): adds a check for nil pointer to prevent crash in find, findone mocked method

refactors kmongo code to improve maintainence #63

* feat(kmux): adds a middleware function for gorilla/mux multiplexer #66

* fix(khttpClient): adds an interceptor for http client to mock the outputs of external http calls

* docs: fixed typo in sql driver's example

* fix(khttpClient): register types to gob and fixes UnmarshalBinay method of ReadCloser to decode gcp response

in UnmarshalBinary method, the b byte array contents are copied to a temp byte array to prevent alteration in the given parameter b byte array

* docs(gcp): adds an example in readme for a gcp compute

* fix(ksql): run the mocked outputs of sql queries when database is down #70

* fix(ksql): keploy sql driver methods returns the sql/driver errors instead of KError.Err

This is done because sql package compares errors by using == or errors.Is so, errors should be same instances.

Co-authored-by: Ritik Jain <ritikjain@Ritiks-MacBook-Air.local>

v0.3.4

07 Mar 11:47
9372bae
Compare
Choose a tag to compare
fix(regex): fix generating testcases when filter is not applied (#68)