...

Text file src/github.com/jackc/pgconn/CHANGELOG.md

Documentation: github.com/jackc/pgconn

     1# 1.14.3 (March 4, 2024)
     2
     3* Update golang.org/x/crypto and golang.org/x/text
     4
     5# 1.14.2 (March 4, 2024)
     6
     7* Fix CVE-2024-27304. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in
     8size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages
     9under the attacker's control.
    10
    11# 1.14.1 (July 19, 2023)
    12
    13* Fix: Enable failover efforts when pg_hba.conf disallows non-ssl connections (Brandon Kauffman)
    14* Fix: connect_timeout is not obeyed for sslmode=allow|prefer (smaher-edb)
    15* Optimize redundant pgpass parsing in case password is explicitly set (Aleksandr Alekseev)
    16
    17# 1.14.0 (February 11, 2023)
    18
    19* Fix: each connection attempt to new node gets own timeout (Nathan Giardina)
    20* Set SNI for SSL connections (Stas Kelvich)
    21* Fix: CopyFrom I/O race (Tommy Reilly)
    22* Minor dependency upgrades
    23
    24# 1.13.0 (August 6, 2022)
    25
    26* Add sslpassword support (Eric McCormack and yun.xu)
    27* Add prefer-standby target_session_attrs support (sergey.bashilov)
    28* Fix GSS ErrorResponse handling (Oliver Tan)
    29
    30# 1.12.1 (May 7, 2022)
    31
    32* Fix: setting krbspn and krbsrvname in connection string (sireax)
    33* Add support for Unix sockets on Windows (Eno Compton)
    34* Stop ignoring ErrorResponse during SCRAM auth (Rafi Shamim)
    35
    36# 1.12.0 (April 21, 2022)
    37
    38* Add pluggable GSSAPI support (Oliver Tan)
    39* Fix: Consider any "0A000" error a possible cached plan changed error due to locale
    40* Better match psql fallback behavior with multiple hosts
    41
    42# 1.11.0 (February 7, 2022)
    43
    44* Support port in ip from LookupFunc to override config (James Hartig)
    45* Fix TLS connection timeout (Blake Embrey)
    46* Add support for read-only, primary, standby, prefer-standby target_session_attributes (Oscar)
    47* Fix connect when receiving NoticeResponse
    48
    49# 1.10.1 (November 20, 2021)
    50
    51* Close without waiting for response (Kei Kamikawa)
    52* Save waiting for network round-trip in CopyFrom (Rueian)
    53* Fix concurrency issue with ContextWatcher
    54* LRU.Get always checks context for cancellation / expiration (Georges Varouchas)
    55
    56# 1.10.0 (July 24, 2021)
    57
    58* net.Timeout errors are no longer returned when a query is canceled via context. A wrapped context error is returned.
    59
    60# 1.9.0 (July 10, 2021)
    61
    62* pgconn.Timeout only is true for errors originating in pgconn (Michael Darr)
    63* Add defaults for sslcert, sslkey, and sslrootcert (Joshua Brindle)
    64* Solve issue with 'sslmode=verify-full' when there are multiple hosts (mgoddard)
    65* Fix default host when parsing URL without host but with port
    66* Allow dbname query parameter in URL conn string
    67* Update underlying dependencies
    68
    69# 1.8.1 (March 25, 2021)
    70
    71* Better connection string sanitization (ip.novikov)
    72* Use proper pgpass location on Windows (Moshe Katz)
    73* Use errors instead of golang.org/x/xerrors
    74* Resume fallback on server error in Connect (Andrey Borodin)
    75
    76# 1.8.0 (December 3, 2020)
    77
    78* Add StatementErrored method to stmtcache.Cache. This allows the cache to purge invalidated prepared statements. (Ethan Pailes)
    79
    80# 1.7.2 (November 3, 2020)
    81
    82* Fix data value slices into work buffer with capacities larger than length.
    83
    84# 1.7.1 (October 31, 2020)
    85
    86* Do not asyncClose after receiving FATAL error from PostgreSQL server
    87
    88# 1.7.0 (September 26, 2020)
    89
    90* Exec(Params|Prepared) return ResultReader with FieldDescriptions loaded
    91* Add ReceiveResults (Sebastiaan Mannem)
    92* Fix parsing DSN connection with bad backslash
    93* Add PgConn.CleanupDone so connection pools can determine when async close is complete
    94
    95# 1.6.4 (July 29, 2020)
    96
    97* Fix deadlock on error after CommandComplete but before ReadyForQuery
    98* Fix panic on parsing DSN with trailing '='
    99
   100# 1.6.3 (July 22, 2020)
   101
   102* Fix error message after AppendCertsFromPEM failure (vahid-sohrabloo)
   103
   104# 1.6.2 (July 14, 2020)
   105
   106* Update pgservicefile library
   107
   108# 1.6.1 (June 27, 2020)
   109
   110* Update golang.org/x/crypto to latest
   111* Update golang.org/x/text to 0.3.3
   112* Fix error handling for bad PGSERVICE definition
   113* Redact passwords in ParseConfig errors (Lukas Vogel)
   114
   115# 1.6.0 (June 6, 2020)
   116
   117* Fix panic when closing conn during cancellable query
   118* Fix behavior of sslmode=require with sslrootcert present (Petr Jediný)
   119* Fix field descriptions available after command concluded (Tobias Salzmann)
   120* Support connect_timeout (georgysavva)
   121* Handle IPv6 in connection URLs (Lukas Vogel)
   122* Fix ValidateConnect with cancelable context
   123* Improve CopyFrom performance
   124* Add Config.Copy (georgysavva)
   125
   126# 1.5.0 (March 30, 2020)
   127
   128* Update golang.org/x/crypto for security fix
   129* Implement "verify-ca" SSL mode (Greg Curtis)
   130
   131# 1.4.0 (March 7, 2020)
   132
   133* Fix ExecParams and ExecPrepared handling of empty query.
   134* Support reading config from PostgreSQL service files.
   135
   136# 1.3.2 (February 14, 2020)
   137
   138* Update chunkreader to v2.0.1 for optimized default buffer size.
   139
   140# 1.3.1 (February 5, 2020)
   141
   142* Fix CopyFrom deadlock when multiple NoticeResponse received during copy
   143
   144# 1.3.0 (January 23, 2020)
   145
   146* Add Hijack and Construct.
   147* Update pgproto3 to v2.0.1.
   148
   149# 1.2.1 (January 13, 2020)
   150
   151* Fix data race in context cancellation introduced in v1.2.0.
   152
   153# 1.2.0 (January 11, 2020)
   154
   155## Features
   156
   157* Add Insert(), Update(), Delete(), and Select() statement type query methods to CommandTag.
   158* Add PgError.SQLState method. This could be used for compatibility with other drivers and databases.
   159
   160## Performance
   161
   162* Improve performance when context.Background() is used. (bakape)
   163* CommandTag.RowsAffected is faster and does not allocate.
   164
   165## Fixes
   166
   167* Try to cancel any in-progress query when a conn is closed by ctx cancel.
   168* Handle NoticeResponse during CopyFrom.
   169* Ignore errors sending Terminate message while closing connection. This mimics the behavior of libpq PGfinish.
   170
   171# 1.1.0 (October 12, 2019)
   172
   173* Add PgConn.IsBusy() method.
   174
   175# 1.0.1 (September 19, 2019)
   176
   177* Fix statement cache not properly cleaning discarded statements.

View as plain text