Releases: pashagolub/pgxmock
Releases · pashagolub/pgxmock
v4.3.0
What's Changed
[+]
bumpjackc/pgx/v5
from 5.6.0 to 5.7.0 by @pashagolub in #220[+]
add test case for double unlock by @pashagolub in #217[-]
fix panic for double unlock for unexpected method calls by @StevenACoffman in #216[-]
fixgovet
linter warning by @pashagolub in #219
New Contributors
- @StevenACoffman made their first contribution in #216
Full Changelog: v4.2.0...v4.3.0
v4.2.0
What's Changed
- [-] return ignored error for
QueryRow().Scan()
, fixes #209 by @pashagolub in #211
Full Changelog: v4.1.0...v4.2.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v4.1.0
What's Changed
[-]
fix unordered batch expectations, fixes #207 by @pashagolub in #208
Full Changelog: v4.0.0...v4.1.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v4.0.0
What's Changed
[!]
add support forpgx.Batch
, closes #199 by @pashagolub in #200[!]
bump module version to v4 by @pashagolub in #205[!]
rewritePrepare
andDeallocate
mocking implementation by @pashagolub in #203[+]
bumpgolangci/golangci-lint-action
from 4 to 6 by @dependabot in #198 #202
Full Changelog: v3.4.0...v4.0.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v3.4.0
What's Changed
- [+] bump
jackc/pgx/v5
from 5.5.1 to 5.5.5 by @dependabot in #184 #186 #193 #194 - [+] bump
golangci/golangci-lint-action
from 3 to 4 by @dependabot in #187 - [+] bump
stretchr/testify
from 1.8.4 to 1.9.0 by @dependabot in #192 - [*] improve test failure handling by @Massinja in #191
- [-] add
connRow
struct to handleQueryRow()
calls, fixes #195 by @pashagolub in #196 - [-] fix
Deallocate()
to returnexpected.deallocateErr
by @pashagolub in #185 - [-] fix for nil pointer exception when using
.Kind()
and closing the rows by @svennis94 in #197
New Contributors
- @Massinja made their first contribution in #191
- @svennis94 made their first contribution in #197
Full Changelog: v3.3.0...v3.4.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v3.3.0
What's Changed
[+]
bumpactions/setup-go
from 4 to 5 by @dependabot in #176[+]
bumpactions/stale
from 8 to 9 by @dependabot in #177[+]
bumpgithub/codeql-action
from 2 to 3 by @dependabot in #180[+]
bumpjackc/pgx/v5
to 5.5.1 by @dependabot in #170 #178[*]
add documentation forCallModifier
interface by @pashagolub in #183[*]
makeExpect*
methods visible in the docs, closes #181 by @pashagolub in #182
Full Changelog: v3.2.0...v3.3.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v3.2.0
What's Changed
[-]
make sureWithRewrittenSQL()
call is optional, fixes #167 by @pashagolub in #169[+]
addKind()
method to convert*Rows
topgx.Rows
interface by @labi-le in #168
New Contributors
Full Changelog: v3.1.0...v3.2.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v3.1.0
What's Changed
[!]
addpgx.QueryRewriter
support by @dropwhile and @pashagolub in #166[+]
bumpstretchr/testify
from 1.8.1 to 1.8.4 by @dependabot in #161
Full Changelog: v3.0.0...v3.1.0
New Contributors
- @dropwhile made their first contribution in #166
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v3.0.0
What's Changed
[!]
rewrite all methods using findExpectationFunc() 8b57685[!]
enhance expectations with WillDelayFor(), WillReturnError(), WillPanic() 2fce3e7[!]
enhance expectations with Times() and Maybe() 35fae23[+]
cover commonExpectation.Times() with test 7399cf0[+]
cover AsConn() with test f08c6e8[+]
bump the new major version v3 410650b[+]
bump Golang to v1.21 153d437[+]
add TestRowsConn() 3a9bad0[+]
add TestPanic b39e8d5[+]
add CallModifyer interface to expectations bccbcdb[*]
update README with a minimum Go version 7ccae6c[*]
rename pos to RowSetNo in rowSets e722875[*]
remove obsolete PingOptions bccbcdb[*]
remove obsolete NewErrorResult() 53a82cc[*]
improve panic() handling 579322c[*]
improve NewConn() and NewPool() description 4b48ef3[+]
improve TestTransactionExpectations() 4b56137[+]
improve TestPrepareExpectations() d45eb73[+]
improve TestPreparedStatementCloseExpectation() 29538bc[+]
improve TestMockCopyFrom() 8ad268a[+]
improve TestCallModifier() e52f5db[*]
improve Times() e6dc2ae[+]
improve ExampleExpectedExec() 4f9b94e[-]
use direct call to argsMatches() instead of attemptArgMatch() 5dd985c[-]
rewrite mock methods with generics in findExpectation() bccbcdb[-]
remove redundant return statements (gosimple S1023) ae69eeb[-]
fix linter warning "SA4006: this value of tx is never used" d18c4e5[-]
fix Times() handling c7e2cec[-]
fix TestNewRowsWithColumnDefinition() a782cb5[-]
fix TestCallModifier() f821855[-]
fix NewResult() to return space separated output 21f429b[-]
fix Myabe() modifier check cf04b04[-]
field unused ExpectedExec.delay field 11f2121
Full Changelog: v2.12.0...v3.0.0
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Bluesky, Mastodon, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v3.0.0-beta3
What's Changed
[!]
rewrite all methods using findExpectationFunc() 8b57685[!]
enhance expectations with WillDelayFor(), WillReturnError(), WillPanic() 2fce3e7[+]
implement Times() 35fae23[+]
cover commonExpectation.Times() with test 7399cf0[+]
cover AsConn() with test f08c6e8[+]
bump the new major version v3 410650b[+]
bump Golang to v1.21 153d437[+]
add TestRowsConn() 3a9bad0[+]
add TestPanic b39e8d5[+]
add CallModifyer interface to expectations bccbcdb[*]
update README with a minimum Go version 7ccae6c[*]
rename pos to RowSetNo in rowSets e722875[*]
remove obsolete PingOptions bccbcdb[*]
remove obsolete NewErrorResult() 53a82cc[*]
improve panic() handling 579322c[*]
improve NewConn() and NewPool() description 4b48ef3[+]
improve TestTransactionExpectations() 4b56137[+]
improve TestPrepareExpectations() d45eb73[+]
improve TestPreparedStatementCloseExpectation() 29538bc[+]
improve TestMockCopyFrom() 8ad268a[+]
improve TestCallModifier() e52f5db[*]
improve Times() e6dc2ae[+]
improve ExampleExpectedExec() 4f9b94e[-]
use direct call to argsMatches() instead of attemptArgMatch() 5dd985c[-]
rewrite mock methods with generics in findExpectation() bccbcdb[-]
remove redundant return statements (gosimple S1023) ae69eeb[-]
fix linter warning "SA4006: this value of tx is never used" d18c4e5[-]
fix Times() handling c7e2cec[-]
fix TestNewRowsWithColumnDefinition() a782cb5[-]
fix TestCallModifier() f821855[-]
fix NewResult() to return space separated output 21f429b[-]
fix Myabe() modifier check cf04b04[-]
field unused ExpectedExec.delay field 11f2121
Full Changelog: v2.12.0...v3.0.0-beta3