Skip to content

Releases: cockroachdb/copyist

v1.7.0 Release

10 Apr 17:00
de1f16c
Compare
Choose a tag to compare

This release includes improved handling of the driver.ErrSkip error and support for the driver.NamedValueChecker interface.

v1.6.0 Release

24 Aug 17:31
b3b04d8
Compare
Choose a tag to compare

This release reports playback failures as testing.T Fatal errors rather than
panicking. This enables the Go testing framework to continue running tests
in the package rather than halting on a panic. It also avoids deadlocks that
happen when a panic skips over an un-deferred lock release statement.

v1.5.0 Release

12 Jul 21:28
9be88b0
Compare
Choose a tag to compare

This release adds support for recording pgconn.PgErrors which appear from pgx based drivers.
It also introduces a new pgproto3/v2 dependency.

v1.4.1 Release

01 Nov 20:18
becf839
Compare
Choose a tag to compare

This release fixes a bug introduced in v1.4.0 that caused any panic in a test other than a copyist.sessionError to be swallowed allowing the test to pass incorrectly.

v1.4.0 Release

11 Oct 15:28
6564aa8
Compare
Choose a tag to compare

This release:

  1. Calls testing.T.Fatalf on recording mismatch instead of panicing if the mismatch is detected on the main test goroutine.

v1.3.0 Release

15 Aug 23:08
Compare
Choose a tag to compare

This release:

  1. Serializes pq.Error objects with full fidelity, so that the error code (and other fields) is preserved.
  2. Bumps dependency versions

v1.2.2 Release

29 Mar 11:57
6cc672c
Compare
Choose a tag to compare

The release fixes a bug introduced in v1.2.1 in proxyConn.ExecContext (called via sql.{Conn,DB}.{Exec,ExecContext}) which caused a recorded error to never be replayed.

v1.2.1 Release

23 Mar 16:42
23cf657
Compare
Choose a tag to compare

This release adds support for:

  1. The driver.ExecerContext and driver.QueryerContext interfaces which allow running multiple SQL statements in a single Conn.ExecContext or Conn.QueryContext call. Previously multiple SQL statements were not supported because the lack of implementation of these interfaces meant that PrepareContext was used which only supports a single SQL statement in the Postgres wire protocol.

v1.2.0 Release

15 Feb 23:31
Compare
Choose a tag to compare

This release adds support for:

  1. pgx stdlib driver
  2. Multiple drivers in the same session

NOTE: This release contains a breaking API change. The copyist.Register
function no longer takes a resetDB argument; use the copyist.SetSessionInit
function instead.

v1.1.2 Release

12 Feb 05:09
db54354
Compare
Choose a tag to compare

Fix connection leak bug.