All Versions
37
Latest Version
Avg Release Cycle
41 days
Latest Release
772 days ago

Changelog History
Page 4

  • v4.1.2 Changes

    October 22, 2019
    • ๐Ÿ›  Fix dbSavepoint.Begin recursive self call
    • โฌ†๏ธ Upgrade pgtype to v1.0.2 - fix scan pointer to pointer
  • v4.1.1 Changes

    October 21, 2019
    • ๐Ÿ›  Fix pgxpool Rows.CommandTag() infinite loop / typo
  • v4.1.0 Changes

    October 12, 2019

    Potentially Breaking Changes

    Technically, two changes are breaking changes, but in practice these are extremely unlikely to break existing code.

    • Conn.Begin and Conn.BeginTx return a Tx interface instead of the internal dbTx struct. This is necessary for the Conn.Begin method to signature as other methods that begin a transaction.
    • โž• Add Conn() to Tx interface. This is necessary to allow code using a Tx to access the *Conn (and pgconn.PgConn) on which the Tx is executing.

    ๐Ÿ›  Fixes

    • Releasing a busy connection closes the connection instead of returning an unusable connection to the pool
    • Do not mutate config.Config.OnNotification in connect
  • v4.0.1 Changes

    September 19, 2019
    • ๐Ÿ›  Fix statement cache cleanup.
    • Corrected daterange OID.
    • ๐Ÿ›  Fix Tx when committing or rolling back multiple times in certain cases.
    • ๐Ÿ‘Œ Improve documentation.
  • v4.0.0 Changes

    September 14, 2019

    ๐Ÿš€ v4 is a major release with many significant changes some of which are breaking changes. The most significant are included below.

    • Simplified establishing a connection with a connection string.
    • ๐Ÿšš All potentially blocking operations now require a context.Context. The non-context aware functions have been removed.
    • OIDs are hard-coded for known types. This saves the query on connection.
    • Context cancellations while network activity is in progress is now always fatal. Previously, it was sometimes recoverable. This led to increased complexity in pgx itself and in application code.
    • Go modules are required.
    • ๐Ÿ’… Errors are now implemented in the Go 1.13 style.
    • Rows and Tx are now interfaces.
    • ๐Ÿ“ฆ The connection pool as been decoupled from pgx and is now a separate, included package (github.com/jackc/pgx/v4/pgxpool).
    • ๐Ÿ“ฆ pgtype has been spun off to a separate package (github.com/jackc/pgtype).
    • ๐Ÿ“ฆ pgproto3 has been spun off to a separate package (github.com/jackc/pgproto3/v2).
    • ๐Ÿ“ฆ Logical replication support has been spun off to a separate package (github.com/jackc/pglogrepl).
    • ๐Ÿ“ฆ Lower level PostgreSQL functionality is now implemented in a separate package (github.com/jackc/pgconn).
    • ๐Ÿ”ง Tests are now configured with environment variables.
    • 0๏ธโƒฃ Conn has an automatic statement cache by default.
    • Batch interface has been simplified.
    • ๐Ÿšš QueryArgs has been removed.
  • v3.6.2

    January 24, 2020
  • v3.6.1

    January 12, 2020