Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 8, 2025

Bumps github.com/jackc/pgx/v5 from 5.5.5 to 5.7.6.

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.7.6 (September 8, 2025)

  • Use ParseConfigError in pgx.ParseConfig and pgxpool.ParseConfig (Yurasov Ilia)
  • Add PrepareConn hook to pgxpool (Jonathan Hall)
  • Reduce allocations in QueryContext (Dominique Lefevre)
  • Add MarshalJSON and UnmarshalJSON for pgtype.Uint32 (Panos Koutsovasilis)
  • Configure ping behavior on pgxpool with ShouldPing (Christian Kiely)
  • zeronull int types implement Int64Valuer and Int64Scanner (Li Zeghong)
  • Fix panic when receiving terminate connection message during CopyFrom (Michal Drausowski)
  • Fix statement cache not being invalidated on error during batch (Muhammadali Nazarov)

5.7.5 (May 17, 2025)

  • Support sslnegotiation connection option (divyam234)
  • Update golang.org/x/crypto to v0.37.0. This placates security scanners that were unable to see that pgx did not use the behavior affected by https://pkg.go.dev/vuln/GO-2025-3487.
  • TraceLog now logs Acquire and Release at the debug level (dave sinclair)
  • Add support for PGTZ environment variable
  • Add support for PGOPTIONS environment variable
  • Unpin memory used by Rows quicker
  • Remove PlanScan memoization. This resolves a rare issue where scanning could be broken for one type by first scanning another. The problem was in the memoization system and benchmarking revealed that memoization was not providing any meaningful benefit.

5.7.4 (March 24, 2025)

  • Fix / revert change to scanning JSON null (Felix Röhrich)

5.7.3 (March 21, 2025)

  • Expose EmptyAcquireWaitTime in pgxpool.Stat (vamshiaruru32)
  • Improve SQL sanitizer performance (ninedraft)
  • Fix Scan confusion with json(b), sql.Scanner, and automatic dereferencing (moukoublen, felix-roehrich)
  • Fix Values() for xml type always returning nil instead of []byte
  • Add ability to send Flush message in pipeline mode (zenkovev)
  • Fix pgtype.Timestamp's JSON behavior to match PostgreSQL (pconstantinou)
  • Better error messages when scanning structs (logicbomb)
  • Fix handling of error on batch write (bonnefoa)
  • Match libpq's connection fallback behavior more closely (felix-roehrich)
  • Add MinIdleConns to pgxpool (djahandarie)

5.7.2 (December 21, 2024)

  • Fix prepared statement already exists on batch prepare failure
  • Add commit query to tx options (Lucas Hild)
  • Fix pgtype.Timestamp json unmarshal (Shean de Montigny-Desautels)
  • Add message body size limits in frontend and backend (zene)
  • Add xid8 type
  • Ensure planning encodes and scans cannot infinitely recurse
  • Implement pgtype.UUID.String() (Konstantin Grachev)
  • Switch from ExecParams to Exec in ValidateConnectTargetSessionAttrs functions (Alexander Rumyantsev)
  • Update golang.org/x/crypto
  • Fix json(b) columns prefer sql.Scanner interface like database/sql (Ludovico Russo)

... (truncated)

Commits
  • a2fca03 Release v5.7.6
  • 95fc312 Add link to github.com/KoNekoD/pgx-colon-query-rewriter
  • 5534fa9 Improve Rows docs
  • a295d68 Merge pull request #2368 from zeghong/zeronull-int-valuer
  • 03f32c0 Merge branch 'master' into zeronull-int-valuer
  • 82fbe49 Merge pull request #2372 from WGH-/improve-batch-doc
  • 594d9d6 Merge pull request #2367 from zeghong/zeronull-int-scanner
  • 5a18241 Merge branch 'master' into zeronull-int-scanner
  • cc34da5 Merge pull request #2370 from Saurabh2402/improvement/setup-linters
  • dd81f81 Merge pull request #2369 from zeghong/go-doc-links
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.5 to 5.7.6.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.5.5...v5.7.6)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.7.6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 8, 2025
Copy link

jazzberry-ai bot commented Sep 8, 2025

Bug Report

Name Severity Example test case Description
Potential vulnerability related to JSON null values Medium 1. Create a table with a JSONB column. 2. Insert a row with a null value in the JSONB column. 3. Attempt to read the value back into a string variable. The application might not correctly handle null values in JSONB columns, leading to runtime errors or unexpected behavior. This is based on the changelog for pgx versions 5.7.3 and 5.7.4, which mention fixes and a reversion related to scanning JSON null values. The code in core/src/plugins/postgres/postgres.go does not explicitly handle null values.

Comments? Email us.

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 12, 2025

Looks like github.com/jackc/pgx/v5 is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Sep 12, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/core/github.com/jackc/pgx/v5-5.7.6 branch September 12, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants