Skip to content

deps: bump the gomod group across 1 directory with 2 updates - #12

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/go_modules/dev/gomod-ff1ce9b2cb
Open

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/go_modules/dev/gomod-ff1ce9b2cb

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026 •

Copy link
Copy Markdown

Bumps the gomod group with 2 updates in the / directory: github.com/jackc/pgx/v5 and github.com/yuin/goldmark.

Updates github.com/jackc/pgx/v5 from 5.9.2 to 5.13.0

Release notes

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

v5.11.0

This release adds direct PostgreSQL type scanning through database/sql on Go 1.27, improves compatibility with libpq connection strings and PostgreSQL date/time values, and includes further decoder hardening. See Changes for connection-string and date/time behavior changes that may affect existing applications.

Features

  • stdlib: support Go 1.27's driver.RowsColumnScanner, allowing PostgreSQL types such as arrays and ranges to be scanned directly into Go values without pgtype.Map.SQLScanner. Existing database/sql scalar conversions and sql.Scanner behavior are preserved. The minimum supported Go version remains 1.25.
  • Add Rows.TypeMap to expose the type map used to decode rows, including rows created by RowsFromResultReader that have no underlying Conn. Custom implementations of Rows, including mocks, must add this method.
  • pgconn: add Config.MaxProtocolMessageBodyLen to configure the maximum incoming protocol message body size (carter-ya)
  • pgconn: add ErrReadOnlyConnection, ErrReadWriteConnection, ErrPrimaryConnection, and ErrStandbyConnection sentinel errors for target_session_attrs validation, allowing callers to use errors.Is (Adrian-Stefan Mares)
  • pgxpool: accept pool_ping_timeout in connection strings to configure Config.PingTimeout. The default is zero; zero and negative durations mean no timeout (1991santhu)

Changes

  • Name-based row-to-struct mapping now matches explicit db tags case-insensitively, with exact matches taking precedence so tags can still distinguish quoted column names that differ only by case (AlisinaDevelo)

  • pgconn: resolve the OS user account only when no user is supplied by the connection string, environment, or service file, avoiding unnecessary account lookups and crashes in some restricted container environments. Home-directory defaults for password, service, and TLS files remain available independently of the account lookup. On Unix these now use $HOME rather than the OS account's home directory (Mohamed MAACHE)

  • pgtype: date, timestamp and timestamptz text values are now parsed and written by a hand-written parser and encoder for PostgreSQL's ISO date/time format instead of time.Parse and time.Format. Go's layout language cannot express a variable-width year or the BC era, which is the root of the bugs below. The text scan path is roughly 2.5x faster for timestamp and timestamptz. Bug fixes:

    • timestamp and timestamptz no longer silently move February 29 of a BC leap year to March 1 when encoding. time.Date(-4712, 2, 29, ...) was written as 4713-03-01 BC and is now written as 4713-02-29 BC. This affected ordinary four-digit BC years, not only extended-range ones. date was never affected.
    • timestamp and timestamptz can now scan BC leap days. 4713-02-29 BC previously failed with day out of range. date could already scan them.
    • Years past 9999 can now be scanned. 10000-01-02 03:04:05 previously failed to parse, so timestamp and timestamptz values at the high end of PostgreSQL's range were unreadable over the simple protocol and in any other text-format result.
    • time.Time arguments in the simple protocol now encode BC dates correctly, using the same timestamp encoder.
    • Fractional seconds beyond microsecond precision are rounded the way the server rounds them (round half to even, carrying into the rest of the value) instead of being kept at full precision. PostgreSQL never sends more than six fractional digits, so this only affects values from other sources.

    Behavior changes:

    • date now rejects impossible dates instead of normalizing them. 2024-02-30 returned 2024-03-01 and 2024-13-01 returned 2025-01-01; both are now errors. timestamp and timestamptz already rejected them.
    • All three types now reject values outside PostgreSQL's range for that type, in the binary format as well as the text format. PostgreSQL never sends out-of-range dates, so this only affects corrupt or hand-built input; the range

... (truncated)

Changelog

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

5.13.0 (November 11, 2026)

This release adds automatic client certificate reloading and temporal precision metadata for database/sql. It also fixes a panic on malformed server responses, unsafe retries after connection failures, and range encoding. See Changes for client certificate configuration behavior that may affect existing applications.

Security Fixes

  • Panic in Rows.Values on malformed server responses (GHSA-w9rp-vfrh-q8vv). A server response containing fewer row values than declared fields could cause an index-out-of-range panic in Rows.Values. It now returns an error and closes the rows when the counts differ, including when there are extra values, matching Rows.Scan validation.

Features

  • pgconn: reload client certificates and keys configured through sslcert and sslkey for each TLS certificate request, allowing new connections to pick up rotated credentials without recreating the configuration or restarting the application. Files are still validated during configuration parsing. Relative paths retain their parse-time directory, and reloads follow symlinks (Erin Shepherd)
  • stdlib: expose fractional seconds precision for timestamp, timestamptz, time, timetz, and interval through ColumnTypePrecisionScale and database/sql.ColumnType.DecimalSize. These return precision 0, the fractional seconds precision as scale, and ok=true. The scale defaults to 6 when no fractional seconds precision is declared; precision 0 means numeric precision is not applicable (Danny Xu)

Changes

  • pgconn: file-backed client certificates are no longer stored in the parsed TLSConfig.Certificates slice. Setting TLSConfig.Certificates (including a non-nil empty slice) or TLSConfig.GetClientCertificate overrides automatic reloading. Replacing TLSConfig, including with a direct TLSConfig.Clone, discards the file-backed certificate settings; use pgconn.Config.Copy to preserve them when copying a configuration. Certificate and key files must remain readable for subsequent TLS certificate requests. Encrypted keys reuse the password resolved during configuration parsing; GetSSLPassword is not called again on reload.

Bug Fixes

  • pgconn: do not mark a connection-closed error encountered while receiving a response as safe to retry, since the request may already have reached the server. This prevents database/sql from automatically repeating a statement that may already have executed. The error still supports errors.Is(err, pgconn.ErrConnClosed) (Aayush Shah)
  • pgconn: skip sending a cancel request when a connection fails during startup, avoiding an unnecessary second connection attempt (felipe stival)
  • pgconn: accept unencrypted combined certificate/key PEM files with the certificate before the key, as well as key-first files (Erin Shepherd)
  • pgtype: encode Range[any] values returned by RangeCodec.DecodeValue and Rows.Values in both binary and text formats, allowing decoded ranges and multiranges to be reused as query arguments or in CopyFrom (waw666waw666)
  • stdlib: report ok=false for the precision and scale of unconstrained numeric columns instead of bogus values (Danny Xu)
  • stdlib: report math.MaxInt64 for the lengths of unconstrained varchar, bpchar, and varbit columns instead of negative lengths (PerryLink)

... (truncated)

Commits
  • 1e38d71 Update changelog for v5.13.0
  • e2bb010 Fix Rows.Values panic on mismatched field counts
  • 5b0fd94 Merge pull request #2709 from waw666waw666/fix-range-any-encode
  • 427f50d Merge pull request #2715 from v0idpwn/pgconn-no-cancel-on-failed-connect
  • 86b4411 Merge pull request #2713 from ksamirdev/fix-append-rows-by-name-bench
  • a3b88dc Merge pull request #2714 from PerryLink/stdlib-column-type-length-unbounded
  • 2f429e5 Merge pull request #2710 from dajiaohuang/codex/2705-pingtimeout-docs
  • 85c3e62 stdlib: close rows in precision and scale test
  • 4f41feb stdlib: clarify zero precision for temporal types
  • 22ccfd1 stdlib: document temporal precision and scale metadata
  • Additional commits viewable in compare view

Updates github.com/yuin/goldmark from 1.8.4 to 1.8.7

Release notes

Sourced from github.com/yuin/goldmark's releases.

v1.8.7

  • chore: bump golangci-lint to v2
  • perf: cache search results, limit length
  • fix(parser): #585

v1.8.6

  • fix(extension): fix #571
  • Merge pull request #569

v1.8.5

Commits
  • 6dafb0c chore: bump golangci-lint to v2
  • ddec203 perf: cache search results, limit length
  • b4539c4 fix(parser): #585
  • aefb206 Merge pull request #581 from chiliec/fix-linkify-trailing-punct-paren
  • ad479cb fix(extension): strip trailing punctuation exposed by an unmatched ')' in lin...
  • e3e8a53 Merge pull request #569 from binggao1230/fix-urlescape-percent-hex-guard
  • 8701257 Merge pull request #570 from BananaJeanss/patch-1
  • c52d4b3 fix(extension): fix #571
  • 37b454c Remove Go Report Card badge
  • 6ed00da fix: #568
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 14, 2026
@dependabot dependabot Bot changed the title deps: bump the gomod group with 2 updates deps: bump the gomod group across 1 directory with 2 updates Nov 17, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/dev/gomod-ff1ce9b2cb branch from f4fdd19 to 71d91fb Compare November 17, 2026 06:45
Bumps the gomod group with 2 updates in the / directory: [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [github.com/yuin/goldmark](https://github.com/yuin/goldmark).


Updates `github.com/jackc/pgx/v5` from 5.9.2 to 5.13.0
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.9.2...v5.13.0)

Updates `github.com/yuin/goldmark` from 1.8.4 to 1.8.7
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](yuin/goldmark@v1.8.4...v1.8.7)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod
- dependency-name: github.com/yuin/goldmark
  dependency-version: 1.8.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/dev/gomod-ff1ce9b2cb branch from 71d91fb to 3b94f84 Compare November 17, 2026 13:36
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