Releases: pashagolub/pgxmock
Releases · pashagolub/pgxmock
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
v2.12.0
What's Changed
[-]
moveDeallocate()
toPgxConnIface
, fixes #143 by @pashagolub in #156
Full Changelog: v2.11.0...v2.12.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 💙💛
v2.11.0
What's Changed
[+]
bumpjackc/pgx/v5
from 5.4.2 to 5.4.3 by @dependabot in #145[+]
add Sweep AI support by @sweep-ai in #147[+]
implementExpectReset()
function and tests, closes #146 by @sweep-ai in #148
Full Changelog: v2.10.0...v2.11.0
New Contributors
- @sweep-ai made their first contribution in #147
What to do next?
- Star the repository
- Read the documentation
- Examine some examples
- Check out the blog
- Follow me on {Company Blog, Facebook, LinkedIn, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v2.10.0
What's Changed
- [+] bump
jackc/pgx/v5
from 5.4.1 to 5.4.2 by @dependabot in #144
Full Changelog: v2.9.0...v2.10.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, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v2.9.0
What's Changed
[+]
add pgxmockPool.AsCon()
method to emulate Acquire()
in tests 5020f24
Full Changelog: v2.8.0...v2.9.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, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v2.8.0
What's Changed
[+]
add missing methods to mockpgxpool.Pool
by @tulioguaraldob in #140[+]
bumpjackc/pgx/v5
from 5.3.1 to 5.4.1 by @dependabot in #141 #142[*]
improveRawValues()
implementation by @sejin-P in #138
New Contributors
- @sejin-P made their first contribution in #138
- @tulioguaraldob made their first contribution in #140
Full Changelog: v2.7.0...v2.8.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, Twitter, PostgreSQL.Life, Stack Overflow}
- Become a sponsor or donate to Ukraine 💙💛
v2.7.0
What's Changed
- [+] add
PgxPoolIface.Stat()
, closes #135 by @dragonfriend0013 in #136 - [-] fix bytes conversion panic when
RawValues
is called, fixes #128 by @Eitol in #137
New Contributors
- @Eitol made their first contribution in #137
- @dragonfriend0013 made their first contribution in #136
Full Changelog: v2.6.0...v2.7.0
v2.6.0
What's Changed
[!]
updateExpectCopyFrom()
definition to matchCopyFrom()
, closes #127 by @pashagolub in #134[+]
bumpactions/setup-go
from 3 to 4 by @dependabot in #129[+]
bumpactions/stale
from 7 to 8 by @dependabot in #130[*]
docs: update comment to include option to match out of order by @SDBlackwood in #131[-]
fixcontext.Context
use in methods by @pashagolub in #132
New Contributors
- @SDBlackwood made their first contribution in #131
Full Changelog: v2.5.0...v2.6.0
v2.5.0
What's Changed
[+]
bumpjackc/pgx/v5
to 5.3.1 by @dependabot in #125 #123 #122[+]
bump Go version to v1.20 by @pashagolub in #124[-]
fixExpectedCopyFrom.String()
output, resolves #120 by @pashagolub in #121
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
[+]
bumpjackc/pgx/v5
to 5.1.1 by @dependabot in #118[*]
removepgxIface.BeginTxFunc()
as deprecated, closes #111 by @pashagolub in #117
Full Changelog: v2.3.0...v2.4.0