Skip to content

Releases: pashagolub/pgxmock

v3.4.0

18 Apr 14:13
b36a126
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.3.0...v3.4.0

What to do next?

v3.3.0

21 Dec 13:22
a80a73d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.3.0

What to do next?

v3.2.0

02 Nov 16:26
7f5256f
Compare
Choose a tag to compare

What's Changed

  • [-] make sure WithRewrittenSQL() call is optional, fixes #167 by @pashagolub in #169
  • [+] add Kind() method to convert *Rows to pgx.Rows interface by @labi-le in #168

New Contributors

Full Changelog: v3.1.0...v3.2.0

What to do next?

v3.1.0

19 Oct 09:13
4428807
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.1.0

New Contributors

What to do next?

v3.0.0

19 Sep 14:02
8840f5b
Compare
Choose a tag to compare

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?

v3.0.0-beta3

08 Sep 12:43
Compare
Choose a tag to compare
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

v2.12.0

30 Aug 10:19
ec74377
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.11.0...v2.12.0

What to do next?

v2.11.0

17 Aug 12:05
19a4aaf
Compare
Choose a tag to compare

What's Changed

  • [+] bump jackc/pgx/v5 from 5.4.2 to 5.4.3 by @dependabot in #145
  • [+] add Sweep AI support by @sweep-ai in #147
  • [+] implement ExpectReset() 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?

v2.10.0

12 Jul 10:56
a140e10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.9.0...v2.10.0

What to do next?

v2.9.0

05 Jul 11:41
Compare
Choose a tag to compare

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?