← Back to Pull requests

chore(deps): bump the go-runtime group with 3 updates #150

Closed
unknown closed this pull request without merging on Sep 15, 2026 19:00 UTC
View on GitHub
unknown unknown commented on Sep 15, 2026 18:44 UTC
Author

Bumps the go-runtime group with 3 updates: github.com/jackc/pgx/v5, golang.org/x/net and golang.org/x/text.

Updates github.com/jackc/pgx/v5 from 5.10.0 to 5.11.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jackc/pgx/releases">github.com/jackc/pgx/v5's releases</a>.</em></p>
<blockquote>
<h2>v5.11.0</h2>
<p>This release adds direct PostgreSQL type scanning through <code>database/sql</code> 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.</p>
<h2>Features</h2>
<ul>
<li>stdlib: support Go 1.27's <code>driver.RowsColumnScanner</code>, allowing PostgreSQL types such as arrays and ranges to be
scanned directly into Go values without <code>pgtype.Map.SQLScanner</code>. Existing <code>database/sql</code> scalar conversions and
<code>sql.Scanner</code> behavior are preserved. The minimum supported Go version remains 1.25.</li>
<li>Add <code>Rows.TypeMap</code> to expose the type map used to decode rows, including rows created by <code>RowsFromResultReader</code>
that have no underlying <code>Conn</code>. Custom implementations of <code>Rows</code>, including mocks, must add this method.</li>
<li>pgconn: add <code>Config.MaxProtocolMessageBodyLen</code> to configure the maximum incoming protocol message body size
(carter-ya)</li>
<li>pgconn: add <code>ErrReadOnlyConnection</code>, <code>ErrReadWriteConnection</code>, <code>ErrPrimaryConnection</code>, and <code>ErrStandbyConnection</code>
sentinel errors for <code>target_session_attrs</code> validation, allowing callers to use <code>errors.Is</code> (Adrian-Stefan Mares)</li>
<li>pgxpool: accept <code>pool_ping_timeout</code> in connection strings to configure <code>Config.PingTimeout</code>. The default is zero;
zero and negative durations mean no timeout (1991santhu)</li>
</ul>
<h2>Changes</h2>
<ul>
<li>
<p>Name-based row-to-struct mapping now matches explicit <code>db</code> tags case-insensitively, with exact matches taking
precedence so tags can still distinguish quoted column names that differ only by case (AlisinaDevelo)</p>
</li>
<li>
<p>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 <code>$HOME</code> rather than the OS account's home directory (Mohamed MAACHE)</p>
</li>
<li>
<p>pgtype: <code>date</code>, <code>timestamp</code> and <code>timestamptz</code> text values are now parsed and written by a hand-written parser and
encoder for PostgreSQL's ISO date/time format instead of <code>time.Parse</code> and <code>time.Format</code>. 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 <code>timestamp</code> and <code>timestamptz</code>. Bug fixes:</p>
<ul>
<li><code>timestamp</code> and <code>timestamptz</code> no longer silently move February 29 of a BC leap year to March 1 when encoding.
<code>time.Date(-4712, 2, 29, ...)</code> was written as <code>4713-03-01 BC</code> and is now written as <code>4713-02-29 BC</code>. This
affected ordinary four-digit BC years, not only extended-range ones. <code>date</code> was never affected.</li>
<li><code>timestamp</code> and <code>timestamptz</code> can now scan BC leap days. <code>4713-02-29 BC</code> previously failed with
<code>day out of range</code>. <code>date</code> could already scan them.</li>
<li>Years past 9999 can now be scanned. <code>10000-01-02 03:04:05</code> previously failed to parse, so <code>timestamp</code> and
<code>timestamptz</code> values at the high end of PostgreSQL's range were unreadable over the simple protocol and in any
other text-format result.</li>
<li><code>time.Time</code> arguments in the simple protocol now encode BC dates correctly, using the same timestamp encoder.</li>
<li>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.</li>
</ul>
<p>Behavior changes:</p>
<ul>
<li><code>date</code> now rejects impossible dates instead of normalizing them. <code>2024-02-30</code> returned <code>2024-03-01</code> and
<code>2024-13-01</code> returned <code>2025-01-01</code>; both are now errors. <code>timestamp</code> and <code>timestamptz</code> already rejected them.</li>
<li>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</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jackc/pgx/blob/master/CHANGELOG.md">github.com/jackc/pgx/v5's changelog</a>.</em></p>
<blockquote>
<h1>5.11.0 (September 7, 2026)</h1>
<p>This release adds direct PostgreSQL type scanning through <code>database/sql</code> 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.</p>
<h2>Features</h2>
<ul>
<li>stdlib: support Go 1.27's <code>driver.RowsColumnScanner</code>, allowing PostgreSQL types such as arrays and ranges to be
scanned directly into Go values without <code>pgtype.Map.SQLScanner</code>. Existing <code>database/sql</code> scalar conversions and
<code>sql.Scanner</code> behavior are preserved. The minimum supported Go version remains 1.25.</li>
<li>Add <code>Rows.TypeMap</code> to expose the type map used to decode rows, including rows created by <code>RowsFromResultReader</code>
that have no underlying <code>Conn</code>. Custom implementations of <code>Rows</code>, including mocks, must add this method.</li>
<li>pgconn: add <code>Config.MaxProtocolMessageBodyLen</code> to configure the maximum incoming protocol message body size
(carter-ya)</li>
<li>pgconn: add <code>ErrReadOnlyConnection</code>, <code>ErrReadWriteConnection</code>, <code>ErrPrimaryConnection</code>, and <code>ErrStandbyConnection</code>
sentinel errors for <code>target_session_attrs</code> validation, allowing callers to use <code>errors.Is</code> (Adrian-Stefan Mares)</li>
<li>pgxpool: accept <code>pool_ping_timeout</code> in connection strings to configure <code>Config.PingTimeout</code>. The default is zero;
zero and negative durations mean no timeout (1991santhu)</li>
</ul>
<h2>Changes</h2>
<ul>
<li>
<p>Name-based row-to-struct mapping now matches explicit <code>db</code> tags case-insensitively, with exact matches taking
precedence so tags can still distinguish quoted column names that differ only by case (AlisinaDevelo)</p>
</li>
<li>
<p>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 <code>$HOME</code> rather than the OS account's home directory (Mohamed MAACHE)</p>
</li>
<li>
<p>pgtype: <code>date</code>, <code>timestamp</code> and <code>timestamptz</code> text values are now parsed and written by a hand-written parser and
encoder for PostgreSQL's ISO date/time format instead of <code>time.Parse</code> and <code>time.Format</code>. 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 <code>timestamp</code> and <code>timestamptz</code>. Bug fixes:</p>
<ul>
<li><code>timestamp</code> and <code>timestamptz</code> no longer silently move February 29 of a BC leap year to March 1 when encoding.
<code>time.Date(-4712, 2, 29, ...)</code> was written as <code>4713-03-01 BC</code> and is now written as <code>4713-02-29 BC</code>. This
affected ordinary four-digit BC years, not only extended-range ones. <code>date</code> was never affected.</li>
<li><code>timestamp</code> and <code>timestamptz</code> can now scan BC leap days. <code>4713-02-29 BC</code> previously failed with
<code>day out of range</code>. <code>date</code> could already scan them.</li>
<li>Years past 9999 can now be scanned. <code>10000-01-02 03:04:05</code> previously failed to parse, so <code>timestamp</code> and
<code>timestamptz</code> values at the high end of PostgreSQL's range were unreadable over the simple protocol and in any
other text-format result.</li>
<li><code>time.Time</code> arguments in the simple protocol now encode BC dates correctly, using the same timestamp encoder.</li>
<li>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.</li>
</ul>
<p>Behavior changes:</p>
<ul>
<li><code>date</code> now rejects impossible dates instead of normalizing them. <code>2024-02-30</code> returned <code>2024-03-01</code> and
<code>2024-13-01</code> returned <code>2025-01-01</code>; both are now errors. <code>timestamp</code> and <code>timestamptz</code> already rejected them.</li>
<li>All three types now reject values outside PostgreSQL's range for that type, in the binary format as well as the</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jackc/pgx/commit/5e583fa7aabfa88b796292f849fc9d7d75ac159d"><code>5e583fa</code></a> Update changelog for v5.11.0</li>
<li><a href="https://github.com/jackc/pgx/commit/39271167ab4d595057aeb16a68004ed82076052c"><code>3927116</code></a> Apply gofumpt formatting required by lint</li>
<li><a href="https://github.com/jackc/pgx/commit/eb07165f605d6f5176daf4d973c8ab7b38b305a0"><code>eb07165</code></a> Quote filesystem paths in development connection strings</li>
<li><a href="https://github.com/jackc/pgx/commit/cf5938fe9b324f80128c9b9577363b3585ff0196"><code>cf5938f</code></a> Allow unsigned digit counts in binary numeric encoding</li>
<li><a href="https://github.com/jackc/pgx/commit/3930cf5439f759d12c7f818aedaddd60e44dfc03"><code>3930cf5</code></a> Accept PostgreSQL POSIX timezone offsets in text timestamps</li>
<li><a href="https://github.com/jackc/pgx/commit/93261be4530f3538b0c5ae3fe2ddafe2a464a55e"><code>93261be</code></a> Prefer exact db tag matches when mapping rows to structs</li>
<li><a href="https://github.com/jackc/pgx/commit/e8d8ad1c4b85f3e78e0785a0b20cc9b6b2345169"><code>e8d8ad1</code></a> Merge pull request <a href="https://redirect.github.com/jackc/pgx/issues/2647">#2647</a> from sueun-dev/fix-range-text-quoting-20260906</li>
<li><a href="https://github.com/jackc/pgx/commit/01d2fd31ef7042a4b0d25d097b4bb935b5325d65"><code>01d2fd3</code></a> Merge pull request <a href="https://redirect.github.com/jackc/pgx/issues/2644">#2644</a> from eliranbz/fix-failed-prepare-deallocation</li>
<li><a href="https://github.com/jackc/pgx/commit/9b7e3be7f6dc653e923b6afc75e7d66e6737b7ef"><code>9b7e3be</code></a> Merge pull request <a href="https://redirect.github.com/jackc/pgx/issues/2645">#2645</a> from ash2k/move-channel</li>
<li><a href="https://github.com/jackc/pgx/commit/76d78f5802b479d1047b71629f6bd70c35258d9f"><code>76d78f5</code></a> Merge pull request <a href="https://redirect.github.com/jackc/pgx/issues/2643">#2643</a> from AshSgDe29071999/fix/hstore-pairs-estimate-clamp</li>
<li>Additional commits viewable in <a href="https://github.com/jackc/pgx/compare/v5.10.0...v5.11.0">compare view</a></li>
</ul>
</details>
<br />

Updates golang.org/x/net from 0.58.0 to 0.59.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/net/commit/540d04cfe5028e2655754591a4d3e08c586809f2"><code>540d04c</code></a> go.mod: update golang.org/x dependencies</li>
<li><a href="https://github.com/golang/net/commit/20eef7fe493df0e014a996c5432e177a76987b84"><code>20eef7f</code></a> quic: clear fast-path receive buffer on stream reset</li>
<li><a href="https://github.com/golang/net/commit/c23af1b9b8cc40d792e7ffd20aa02bfb8984a1f5"><code>c23af1b</code></a> internal/http3: fix compilation error due to missed symbol name update</li>
<li><a href="https://github.com/golang/net/commit/eda109f56e86afc41ee941c810e5e4e49f901ec3"><code>eda109f</code></a> internal/http3: send appropriate error codes in STOP_SENDING frames</li>
<li><a href="https://github.com/golang/net/commit/12e0501290cb42609218b4818c97566c221de4c2"><code>12e0501</code></a> internal/http3: server header size limits</li>
<li><a href="https://github.com/golang/net/commit/d89285e91501dd797ddcc984ed09fc71f12c0af0"><code>d89285e</code></a> quic: add Stream.StopSending, and rework stream/application errors</li>
<li><a href="https://github.com/golang/net/commit/d34deae423f98518a84a3735ab82e3e031a375fb"><code>d34deae</code></a> quic: ensure Endpoint.Close waits for connection loops to exit</li>
<li><a href="https://github.com/golang/net/commit/55577aaeb84956beaf8ecbd12491a2774c33169c"><code>55577aa</code></a> http2: use IDNA Lookup profile, not raw Punycode translation</li>
<li><a href="https://github.com/golang/net/commit/b22627e5363920905c17b5e37e10d2b0329972ec"><code>b22627e</code></a> internal/http3: handle a nil TLSConfig in newQUICConfig</li>
<li><a href="https://github.com/golang/net/commit/6e98b0dc709b77cf047bee24a08232937ea78bab"><code>6e98b0d</code></a> internal/http3: report endpoint creation errors from initEndpoint</li>
<li>Additional commits viewable in <a href="https://github.com/golang/net/compare/v0.58.0...v0.59.0">compare view</a></li>
</ul>
</details>
<br />

Updates golang.org/x/text from 0.41.0 to 0.42.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/text/commit/fafe4a06967e06550e69ee42787d9902845d2a3f"><code>fafe4a0</code></a> go.mod: update golang.org/x dependencies</li>
<li><a href="https://github.com/golang/text/commit/f53c31601f90c1b840c0703c5537c3ce1e4b6f5c"><code>f53c316</code></a> unicode/norm: don't truncate runes in the recomposition map key</li>
<li><a href="https://github.com/golang/text/commit/37867f63e497cfa4a4e182c43c2beef75307cdb2"><code>37867f6</code></a> unicode/norm: let any starter block composition in compose</li>
<li><a href="https://github.com/golang/text/commit/0dd525f28d87d6aef1a20b9086dbe034411604c7"><code>0dd525f</code></a> unicode/norm: compose non-Hangul runes after a Hangul syllable</li>
<li><a href="https://github.com/golang/text/commit/bac26e5be18b99ab58de83689d0c5ad853474c44"><code>bac26e5</code></a> unicode/norm: avoid improper ErrShortDst return in Form.transform</li>
<li><a href="https://github.com/golang/text/commit/4f55186fdbf7427403187ca4917e5e90c8c77319"><code>4f55186</code></a> unicode/norm: simplify short source detection in Form.transform</li>
<li><a href="https://github.com/golang/text/commit/a1b6c107023d93f825dd61b667786761d3114091"><code>a1b6c10</code></a> unicode/norm: prevent decomposeSegment from moving backwards</li>
<li><a href="https://github.com/golang/text/commit/cd1cbc9d9be58f249a412746c9dcbe9bf3c97dae"><code>cd1cbc9</code></a> unicode/bidi: panic rather than log.Panicf</li>
<li><a href="https://github.com/golang/text/commit/a459614d3591674f5af99e2ad671c69569dac9c2"><code>a459614</code></a> internal/export/idna: fix conformance with optional validation disabled</li>
<li><a href="https://github.com/golang/text/commit/be70a610fdb69124f7538dc0216d396d0f2556b9"><code>be70a61</code></a> internal/export/idna: drop trie field from Profiles</li>
<li>Additional commits viewable in <a href="https://github.com/golang/text/compare/v0.41.0...v0.42.0">compare view</a></li>
</ul>
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore <dependency name> major version will 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 version will 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
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: saivedant169 Review duration: 16m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #150"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%