chore: bump github.com/lib/pq from 1.10.9 to 1.11.1
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(16 days ago)
(4 days ago)
(4 days ago)
stale dependencies go
Bumps github.com/lib/pq from 1.10.9 to 1.11.1.
Release notes
Sourced from github.com/lib/pq's releases.
v1.11.1
This fixes two regressions present in the v1.11.0 release:
Fix build on 32bit systems, Windows, and Plan 9 (#1253).
Named []byte types and pointers to []byte (e.g.
*[]byte,json.RawMessage) would be treated as an array instead of bytea (#1252).#1252: lib/pq#1252 #1253: lib/pq#1253
v1.11.0
This version of pq requires Go 1.21 or newer.
pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and newer. Previously PostgreSQL 8.4 and newer were supported.
Features
The
pq.Error.Error()text includes the position of the error (if reported by PostgreSQL) and SQLSTATE code (#1219, #1224):pq: column "columndoesntexist" does not exist at column 8 (42703) pq: syntax error at or near ")" at position 2:71 (42601)The
pq.Error.ErrorWithDetail()method prints a more detailed multiline message, with the Detail, Hint, and error position (if any) (#1219):ERROR: syntax error at or near ")" (42601) CONTEXT: line 12, column 1:10 | name varchar, 11 | version varchar, 12 | ); ^Add
Config,NewConfig(), andNewConnectorConfig()to supply connection details in a more structured way (#1240).Support
hostaddrand$PGHOSTADDR(#1243).Support multiple values in
host,port, andhostaddr, which are each tried in order, or randomly ifload_balance_hosts=randomis set (#1246).Support
target_session_attrsconnection parameter (#1246).Support [
sslnegotiation] to use SSL without negotiation (#1180).Allow using a custom
tls.Config, for example for encrypted keys (#1228).Add
PQGO_DEBUG=1print the communication with PostgreSQL to stderr, to aid in debugging, testing, and bug reports (#1223).Fixes
... (truncated)
Changelog
Sourced from github.com/lib/pq's changelog.
v1.11.1 (2025-01-29)
This fixes two regressions present in the v1.11.0 release:
Fix build on 32bit systems, Windows, and Plan 9 (#1253).
Named []byte types and pointers to []byte (e.g.
*[]byte,json.RawMessage) would be treated as an array instead of bytea (#1252).#1252: lib/pq#1252 #1253: lib/pq#1253
v1.11.0 (2025-01-28)
This version of pq requires Go 1.21 or newer.
pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and newer. Previously PostgreSQL 8.4 and newer were supported.
Features
The
pq.Error.Error()text includes the position of the error (if reported by PostgreSQL) and SQLSTATE code (#1219, #1224):pq: column "columndoesntexist" does not exist at column 8 (42703) pq: syntax error at or near ")" at position 2:71 (42601)The
pq.Error.ErrorWithDetail()method prints a more detailed multiline message, with the Detail, Hint, and error position (if any) (#1219):ERROR: syntax error at or near ")" (42601) CONTEXT: line 12, column 1:10 | name varchar, 11 | version varchar, 12 | ); ^Add
Config,NewConfig(), andNewConnectorConfig()to supply connection details in a more structured way (#1240).Support
hostaddrand$PGHOSTADDR(#1243).Support multiple values in
host,port, andhostaddr, which are each tried in order, or randomly ifload_balance_hosts=randomis set (#1246).Support
target_session_attrsconnection parameter (#1246).Support [
sslnegotiation] to use SSL without negotiation (#1180).
... (truncated)
Commits
eec526cRelease v1.11.1 (#1255)1928a1dFix []byte types incorrectly converted to PostgreSQL array (#1252)9e2aa8eRun staticcheck on all GOOS/GOARCH combinationsc9320c4Fix build on Windows and Plan92809526Fix build on 32bit systems8e88f7eRelease 1.11.00ad3049Handle pre-protocol errors to prevent memory exhaustionf1fae2eAdd pqtest.Fake.Close()3815d03Remove assumption that the auth response is AuthenticateOk589ad43Implement load_balance_hosts=random- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 13795068 |
| UUID: | 3885916081 |
| Node ID: | PR_kwDOLmBl1M7A6dOT |
| Host: | GitHub |
| Repository: | Txim0520/https-github.com-coder-coder |