v3.0.0-beta3
Pre-release
Pre-release
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