Releases: keploy/go-sdk
Releases · keploy/go-sdk
v0.5.1
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
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
v0.4.3
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
- @ShivamTyagi12345 made their first contribution in #100
- @iamskp99 made their first contribution in #103
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed
- fix: bump crypto package to fix security vulnerability by @khanjasir90 in #96
New Contributors
- @khanjasir90 made their first contribution in #96
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- adds check for redirects in simulate to prevent test run failure by @re-Tick in #86
- Implemented Header filter by @gouravkrosx in #80
- Fasthttp router support by @Pradhyuman-sharma in #83
- docs(go-sdk): adding example for fasthttp by @Pradhyuman-sharma in #87
New Contributors
- @gouravkrosx made their first contribution in #80
- @Pradhyuman-sharma made their first contribution in #83
Full Changelog: 0.3.7...v0.4.1
v0.4.0
v0.3.6
fix(readme): fixes typo in gorm example
v0.3.5
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 <[email protected]>
v0.3.4
fix(regex): fix generating testcases when filter is not applied (#68)