build(deps): bump the production-dependencies group across 1 directory with 3 updates
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(4 months ago)
(4 months ago)
(4 months ago)
:wrench: golang dependencies go size:S
Bumps the production-dependencies group with 3 updates in the / directory: github.com/lib/pq, github.com/ncruces/go-sqlite3 and github.com/pganalyze/pg_query_go/v6.
Updates github.com/lib/pq from 1.10.9 to 1.11.0
Release notes
Sourced from github.com/lib/pq's releases.
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
Match HOME directory lookup logic with libpq: prefer $HOME over /etc/passwd, ignore ENOTDIR errors, and use APPDATA on Windows (#1214).
Fix
sslmode=verify-caverifying the hostname anyway when connecting to a DNS name (rather than IP) (#1226).Correctly detect pre-protocol errors such as the server not being able to fork or running out of memory (#1248).
Fix build with wasm (#1184), appengine (#745), and Plan 9 (#1133).
Deprecate and type alias
pq.NullTimetosql.NullTime(#1211).
... (truncated)
Changelog
Sourced from github.com/lib/pq's changelog.
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).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
- Match HOME directory lookup logic with libpq: prefer $HOME over /etc/passwd, ignore ENOTDIR errors, and use APPDATA on Windows (#1214).
... (truncated)
Commits
8e88f7eRelease 1.11.00ad3049Handle pre-protocol errors to prevent memory exhaustionf1fae2eAdd pqtest.Fake.Close()3815d03Remove assumption that the auth response is AuthenticateOk589ad43Implement load_balance_hosts=random9541c34Implement target_session_attrs525894cSupport multiple values in host, hostaddr, and portdd34b71Require Go 1.219131249Use constants from pqcomm.h instead of magic numbersc8c8c81Use Config struct for options instead of map[string]string- Additional commits viewable in compare view
Updates github.com/ncruces/go-sqlite3 from 0.30.4 to 0.30.5
Release notes
Sourced from github.com/ncruces/go-sqlite3's releases.
v0.30.5
What's Changed
Updates:
- SQLite 3.51.2
- Litestream was moved
Full Changelog: https://github.com/ncruces/go-sqlite3/compare/v0.30.4...v0.30.5
Commits
33bea52Flags.c263381Fix #349.c4f254bSQLite 3.51.2.c97c5a1Type affinity.3e1b131Unquote identifiers.83744cbMore sqlite-createtable-parser.a36d72cStricter vtabs, sqlite-createtable-parser.e7f5604Stricter vtabs, get VFS name.e500839Bump golang.org/x/crypto from 0.46.0 to 0.47.0 (#348)d4764fbBump golang.org/x/sys from 0.39.0 to 0.40.0 (#346)- Additional commits viewable in compare view
Updates github.com/pganalyze/pg_query_go/v6 from 6.1.0 to 6.2.2
Changelog
Sourced from github.com/pganalyze/pg_query_go/v6's changelog.
6.2.2 2026-01-27
- Upgrade to libpg_query 17-6.2.2
- Add IsUtilityStmt function to determine if query text contains utility statements
- This is a fast check for callers that don't actually need the parse tree itself
- Add Summary function to get summary information about a statement quickly
- This allows gathering certain information, for example which tables are referenced in a statement, without requiring a Protobuf serialization step in a higher level library
- Additionally this can also be used to perform "smart truncation" of a query by omitting deeply nested information (e.g. a CTE definition, or a target list) whilst preserving more essential parts like the FROM clause
- Normalize:
- Fix handling of special strings in DefElem
- This avoids a crash when running the normalize function on certain utility statements
- Add support for CALL statements
- Deparser:
- Introduce pretty printing / formatting
- Introduces a new optional pretty print mode that emits a human readable output. A detailed explanation of the mechanism can be found at the start of the deparser file.
- Rework handling of expressions inside typecasts
- Prefer (..)::type syntax, unless we are already in a function call.
- Use lowercase keywords in xmlroot functions
- This matches other XML functions as well as the Postgres documentation, since these are closer to function argument names than regular keywords.
- Fix deparse of ALTER TABLE a ALTER b SET STATISTICS DEFAULT
- Fix the null pointer dereference when handling identity columns
- Allow alternate definitions of NAMEDATALEN identifier limit
- This allows building libpg_query with an override of the built-time limit of Postgres identifiers (typically 63 characters)
- Bump Postgres to 17.7 and switch back to release tarballs
- Avoid conflicts with other cgo libraries utilizing xxhash by using XXH_NAMESPACE #144
- Remove redundant copy of result in ParseToProtobuf #139
Commits
6a1adb4Release 6.2.2 (#145)5defd21Add Summary helper to wrap pg_query_summary function (#147)926ef9bAdd IsUtilityStmt to return whether statements are utility statements (#146)51c94efFix xxhash symbol conflict by using namespace (#144)b905b5eRemove redundant copy in ParseToProtobuf, require Go 1.20+ (#139)d64beebUpdate libpg_query to 17-6.2.2 (#143)6042d40README: Remove modvendor note, update copyright to include pganalyze- See full diff 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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
github.com/ncruces/go-sqlite3
go
0.30.4 → 0.30.5
Patch
github.com/pganalyze/pg_query_go/v6
go
6.1.0 → 6.2.2
Minor
Technical Details
| ID: | 13304753 |
| UUID: | 3869824812 |
| Node ID: | PR_kwDOC4Nl587AFhsm |
| Host: | GitHub |
| Repository: | sqlc-dev/sqlc |