Skip to content

Releases: olomix/go-test-pg

v2.0.1

24 Mar 08:20
Compare
Choose a tag to compare

Fix database locking on recent versions of pgx.

v2.0.0

24 Mar 07:19
e6087da
Compare
Choose a tag to compare

Upgrade to pgx/v5

v1.0.2

14 Mar 10:24
Compare
Choose a tag to compare

Fix conflict on parallel creation of template database from different processes by taking advisory lock on PostgreSQL.

v1.0.1

13 Nov 04:19
Compare
Choose a tag to compare

fix module version

v1.0.0

13 Nov 04:15
Compare
Choose a tag to compare

In new major version there are two significant changes.

  • Cleanup function calls automatically on test exit. You do not need to call it in defer.
  • New methods for compatibility with database/sql interfaces return standard *sql.DB in addition to pgx.

v0.0.4

27 Apr 07:27
Compare
Choose a tag to compare

fix default base template database name

v0.0.3

25 Apr 12:19
Compare
Choose a tag to compare

Remove builder of pool. Use struct directly. This simplifies setup for new projects.

v0.0.2

25 Apr 09:55
258aa0b
Compare
Choose a tag to compare

Create license file to be visible by pkg.go.dev

First release

25 Apr 08:45
Compare
Choose a tag to compare
Add WithFixtures & WithSQLs methods to load fixtures. Add posibility …

…to skip database tests if uri is not specified.