← Back to Pull requests

chore(deps): bump the go-runtime group with 6 updates #171

Closed
unknown closed this pull request without merging on Nov 07, 2026 01:32 UTC
View on GitHub
unknown unknown commented on Nov 03, 2026 18:45 UTC
Author

Bumps the go-runtime group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| github.com/jackc/pgx/v5 | 5.11.0 | 5.12.0 |
| golang.org/x/net | 0.61.0 | 0.62.0 |
| k8s.io/api | 0.37.1 | 0.37.2 |
| k8s.io/apimachinery | 0.37.1 | 0.37.2 |
| k8s.io/client-go | 0.37.1 | 0.37.2 |
| modernc.org/sqlite | 1.61.0 | 1.61.1 |

Updates github.com/jackc/pgx/v5 from 5.11.0 to 5.12.0
<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.12.0 (October 30, 2026)</h1>
<p>This release fixes two security vulnerabilities with narrow triggering conditions but serious impact. Affected
applications should upgrade to v5.12.0; see Security Fixes below.</p>
<p>It also adds batched transaction startup, client certificate policy controls, and per-query batch timing,
and improves connection pool cancellation and type handling. Custom implementations
of <code>BatchResults</code>, including mocks, must add the new <code>Tx</code> method.</p>
<h2>Security Fixes</h2>
<ul>
<li><strong>SQL injection in simple-protocol batches</strong>
(<a href="https://github.com/jackc/pgx/security/advisories/GHSA-j38q-h3ph-jjpq">GHSA-j38q-h3ph-jjpq</a>, high severity).
In pgx v5 before v5.12.0, <code>SendBatch</code> using the non-default simple protocol could allow arbitrary SQL execution
with the application's database privileges when a queued query ends in a <code>--</code> comment without a newline and the
next query has an attacker-controlled string argument on its first line. Batched queries are now separated by
a newline to end such comments. Extended-protocol modes are unaffected.
Reported by <a href="https://github.com/igor-kupczynski"><code>Igor Kupczyński (@​igor-kupczynski)</code></a>.</li>
<li><strong>Bypass of <code>require_auth</code> and <code>channel_binding=require</code></strong>
(<a href="https://github.com/jackc/pgx/security/advisories/GHSA-95fj-3fxw-g62g">GHSA-95fj-3fxw-g62g</a>, high severity).
In pgx v5.9.0 through v5.11.0, applications relying on these settings without verifying the server's identity
with <code>sslmode=verify-full</code> (or equivalent TLS verification) could accept an impersonating server that skips
authentication. The attacker could read queries and parameters and return fabricated results. pgx now enforces
authentication completion and required channel binding before accepting the connection. This vulnerability does
not bypass TLS server certificate verification.
Reported by <a href="https://github.com/president-xd"><code>@​president-xd</code></a>.</li>
</ul>
<h2>Features</h2>
<ul>
<li>Add <code>Batch.BeginTx</code> and <code>BatchResults.Tx</code> to begin a transaction as the first query of a batch, saving the round
trip for <code>BeginTx</code>. Call <code>Batch.BeginTx</code> before queuing any queries, consume the begin query's result first, and
close the batch before using the transaction. With <code>pgxpool.Pool.SendBatch</code>, the connection remains acquired until
the transaction is committed or rolled back. Add <code>FailedBatchResults</code> for wrappers that fail before sending a
batch (Timo Furrer)</li>
<li>Add <code>TraceBatchQueryData.ReadStartTime</code> and per-query durations to <code>tracelog</code> batch query entries. These measure
result consumption, including application time spent reading rows, rather than server execution alone
(Yasser-Ameur)</li>
<li>pgconn: support the <code>sslcertmode</code> connection parameter, <code>PGSSLCERTMODE</code> environment variable, and
<code>Config.SSLCertMode</code>. The default, <code>allow</code>, sends an available client certificate when requested; <code>disable</code>
prevents sending one and skips loading certificate/key files; <code>require</code> fails unless the server requests and
receives a certificate. <code>require</code> does not guarantee server-side certificate validation, disables TLS session
resumption, and stops further host or TLS fallbacks when the certificate requirement fails (k-zshiba)</li>
<li>pgtype: add support for PostgreSQL 19's <code>oid8</code> and <code>oid8[]</code> (k-zshiba)</li>
</ul>
<h2>Changes</h2>
<ul>
<li>pgxpool: background attempts to satisfy <code>MinConns</code> and <code>MinIdleConns</code> now have a 60-second timeout, including
connection hooks. Initial background connections preserve the constructor context's values but ignore its
cancellation and deadline.</li>
<li>pgxpool: canceling <code>Acquire</code> during a health-check ping now returns promptly and lets a successful ping return</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jackc/pgx/commit/b2ef08bbb951384e3936e45de60de60609f2d2ba"><code>b2ef08b</code></a> Update changelog for v5.12.0</li>
<li><a href="https://github.com/jackc/pgx/commit/8199015ab933740780ecfaa7c65c052df21ce9be"><code>8199015</code></a> Merge commit from fork</li>
<li><a href="https://github.com/jackc/pgx/commit/5b1a6a00c56116622ceb46ecb3d04906580f80aa"><code>5b1a6a0</code></a> Merge commit from fork</li>
<li><a href="https://github.com/jackc/pgx/commit/65a412583fc94d99eca60ad3b6d9cf7f546715dc"><code>65a4125</code></a> Merge pull request <a href="https://redirect.github.com/jackc/pgx/issues/2697">#2697</a> from b84330808/windows-default-servicefile</li>
<li><a href="https://github.com/jackc/pgx/commit/f2701a0c446a1f3dc621b7b7fa8bf7b70a8f3e87"><code>f2701a0</code></a> pgconn: only fall back when Windows service file is missing</li>
<li><a href="https://github.com/jackc/pgx/commit/db95468b98287cd50e59319d9d43eee0056ee0af"><code>db95468</code></a> Merge pull request <a href="https://redirect.github.com/jackc/pgx/issues/2696">#2696</a> from k-zshiba/support-oid8</li>
<li><a href="https://github.com/jackc/pgx/commit/fa2327dde4ca94ab956f3f7025d92543012f5d0b"><code>fa2327d</code></a> Start each query on a new line when joining a simple protocol batch</li>
<li><a href="https://github.com/jackc/pgx/commit/2283b856a468de48af4fd148e940a1e50749ac38"><code>2283b85</code></a> pgconn: read the default service file from %APPDATA%\postgresql on Windows</li>
<li><a href="https://github.com/jackc/pgx/commit/efc0b74a4f774a543f90c06a5e399bea61087223"><code>efc0b74</code></a> Merge upstream master into support-oid8</li>
<li><a href="https://github.com/jackc/pgx/commit/5a17450b96d2b81901b172bf04d9f6c970cecc88"><code>5a17450</code></a> pgconn: require AuthenticationOk before ReadyForQuery</li>
<li>Additional commits viewable in <a href="https://github.com/jackc/pgx/compare/v5.11.0...v5.12.0">compare view</a></li>
</ul>
</details>
<br />

Updates golang.org/x/net from 0.61.0 to 0.62.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/net/commit/3de643db506517b3e652a13cc0b56034cea6b8e6"><code>3de643d</code></a> html: check all ancestor namespace transitions when rendering raw text</li>
<li><a href="https://github.com/golang/net/commit/05c76ee9adc59087cf3ba77ee9c8fcfab61bf61c"><code>05c76ee</code></a> ipv4, ipv6: avoid slice bounds panics on empty batch or BPF filter</li>
<li><a href="https://github.com/golang/net/commit/dad306f6eaa626e54daff798f071beb185e1ea2b"><code>dad306f</code></a> ipv6: avoid out-of-bounds panic in ICMPFilter</li>
<li><a href="https://github.com/golang/net/commit/9c0565ad2c29e4eefb9a4db789a0b6b3b95cbb29"><code>9c0565a</code></a> ipv4: fix TTL control message parsing on big-endian Linux and Solaris</li>
<li><a href="https://github.com/golang/net/commit/9425eb39b361fa333359608bb730c80cb79fc062"><code>9425eb3</code></a> internal/socket, ipv4, ipv6: avoid panic on empty control message on non-Unix</li>
<li><a href="https://github.com/golang/net/commit/4b10404ac8ce5678eb26efd39b7c26901c1fd3da"><code>4b10404</code></a> ipv4, ipv6: avoid nil parse function call in ControlMessage.Parse</li>
<li><a href="https://github.com/golang/net/commit/afcf8cd5baa866e7d60a71e229cd61cf2108e043"><code>afcf8cd</code></a> ipv4: fix several missing bounds checks</li>
<li><a href="https://github.com/golang/net/commit/4af4fce62e93c5621a316363718b9dc78fbb0355"><code>4af4fce</code></a> html: avoid quadratic complexity when coalescing text nodes</li>
<li><a href="https://github.com/golang/net/commit/7e562009b3884a0845019b5f886f0242a7c0b970"><code>7e56200</code></a> quic: per-path connection ids</li>
<li>See full diff in <a href="https://github.com/golang/net/compare/v0.61.0...v0.62.0">compare view</a></li>
</ul>
</details>
<br />

Updates k8s.io/api from 0.37.1 to 0.37.2
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/kubernetes/api/commit/1bc0c529309723075aed339d50f16d4b311d908d"><code>1bc0c52</code></a> Update dependencies to v0.37.2 tag</li>
<li>See full diff in <a href="https://github.com/kubernetes/api/compare/v0.37.1...v0.37.2">compare view</a></li>
</ul>
</details>
<br />

Updates k8s.io/apimachinery from 0.37.1 to 0.37.2
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/kubernetes/apimachinery/commit/97adf147c7378229d45db0fc7511af84d0c3c092"><code>97adf14</code></a> Update dependencies to v0.37.2 tag</li>
<li>See full diff in <a href="https://github.com/kubernetes/apimachinery/compare/v0.37.1...v0.37.2">compare view</a></li>
</ul>
</details>
<br />

Updates k8s.io/client-go from 0.37.1 to 0.37.2
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/kubernetes/client-go/commit/72c52dd0cc3b9099b36af11290b0304045dd1ada"><code>72c52dd</code></a> Update dependencies to v0.37.2 tag</li>
<li>See full diff in <a href="https://github.com/kubernetes/client-go/compare/v0.37.1...v0.37.2">compare view</a></li>
</ul>
</details>
<br />

Updates modernc.org/sqlite from 1.61.0 to 1.61.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://gitlab.com/cznic/sqlite/tags">modernc.org/sqlite's releases</a>.</em></p>
<blockquote>
<h2>v1.61.1</h2>
<p>Signed provenance for this release: the two files below. VERIFYING.md in the repository says how to check them.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md">modernc.org/sqlite's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>Entries for v1.38.1 through v1.44.1 and for v1.49.1 were added on 2026-09-05, reconstructed from the git history and the merge requests they cite; they were missing at release time.</p>
<ul>
<li>
<p>2026-11-02 v1.61.2:</p>
<ul>
<li><code>Limit</code> now works on a connection handed out by a <code>driver.Connector</code> that wraps the ones <code>NewConnector</code> opens, provided the wrapper has an <code>Unwrap() driver.Conn</code> method; it used to fail with <code>unexpected driverConn type</code>. <code>NewConnector</code> now also says which optional interfaces such a wrapper must forward. Resolves [GitHub issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/11">#11</a>](<a href="https://redirect.github.com/modernc-org/sqlite/issues/11">modernc-org/sqlite#11</a>), thanks Andres Morey (<a href="https://gitlab.com/amorey"><code>@​amorey</code></a>)!</li>
</ul>
</li>
<li>
<p>2026-10-31 v1.61.1:</p>
<ul>
<li><strong>Prepared statements are no longer parsed and planned again on every execution.</strong> Since v1.61.0, SQLite 3.54 expired a cached statement that has a <code>col = ?</code> term in a join or an <code>ORDER BY</code> query whenever the driver cleared its bindings after a run, so a statement prepared with <code>db.Prepare</code> or <code>tx.Prepare</code> cost about twice what it did in v1.60.1. Integer bindings now stay in place between executions, so a parameter bound to 0 or 1 does not re-prepare it either. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/264">#264</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/264">https://gitlab.com/cznic/sqlite/-/issues/264</a>). See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/147">#147</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/147">https://gitlab.com/cznic/sqlite/-/merge_requests/147</a>), thanks Roman Khafizianov (<a href="https://gitlab.com/requilence"><code>@​requilence</code></a>)!</li>
<li><strong>Fix a panic reachable from SQL through a VFS made by <code>vfs.New</code>.</strong> It reported its files as writable, so with <code>PRAGMA journal_mode=OFF</code> a write reached a write method the VFS does not have and the process panicked, as did closing a WAL database shipped with its <code>-wal</code> file; with the journal on, the write failed with a misleading <code>SQLITE_NOMEM</code>. Such files are now read-only to SQLite, and every write fails with <code>SQLITE_READONLY</code>. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/145">#145</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/145">https://gitlab.com/cznic/sqlite/-/merge_requests/145</a>), thanks Ian Chechin!</li>
<li><strong>Fix a process abort reachable through a VFS made by <code>vfs.New</code>.</strong> SQLite's request to delete a journal, made when <code>PRAGMA journal_mode</code> leaves <code>PERSIST</code> or <code>TRUNCATE</code> and on the first read of a 0-byte database that has a <code>-journal</code> file next to it in the served file system, reached the transpiled <code>xDelete</code>, an unimplemented stub that aborted the process. It now fails with <code>SQLITE_IOERR_DELETE</code>, which SQLite tolerates, and nothing is deleted; the write methods the VFS lacked answer <code>SQLITE_READONLY</code> instead of being nil.</li>
<li><strong><code>Tx.Commit</code> now stops waiting for a lock once the context given to <code>BeginTx</code> is done, and <code>Rows.Next</code> and <code>Rows.Close</code> once the query's context is done</strong>, each returning the context's error; they used to wait the full <code>busy_timeout</code> when a reader's lock in rollback-journal mode blocked the <code>COMMIT</code>, or the commit of an autocommit <code>INSERT ... RETURNING</code> finished or closed after its first row. Only the wait watches the context; <code>Rollback</code> is unchanged. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/263">#263</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/263">https://gitlab.com/cznic/sqlite/-/issues/263</a>), thanks SirLouen!</li>
<li>The <code>attest</code> CI job now copies <code>vendor.json</code> into the provenance document from the tagged commit, not from the working tree <code>make vendor-check</code> has just stamped with its own Go release; the v1.61.0 job failed its own verification over that field, so v1.61.0 has no provenance document, see <code>VERIFYING.md</code>. Tooling only.</li>
<li>Add <code>THREAT-MODEL.md</code>, the threat model behind the scope in <code>SECURITY.md</code>: the connection string, the connection lifecycle, the page cache binding and the VFS bridge, one row per concern with its status and the commit that settled it. <code>TestVFSReadEOF</code> now also checks the short read on <code>vfsRead</code> itself. Documentation and tests only. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/146">#146</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/146">https://gitlab.com/cznic/sqlite/-/merge_requests/146</a>), thanks Ian Chechin!</li>
</ul>
</li>
<li>
<p>2026-10-21 v1.61.0:</p>
<ul>
<li>Upgrade to <a href="https://sqlite.org/releaselog/3_54_1.html">SQLite 3.54.1</a>, re-vendoring <code>lib/</code> from <a href="https://gitlab.com/cznic/libsqlite3/-/tags/v1.15.2">modernc.org/libsqlite3 v1.15.2</a> and <code>vec/</code> from <a href="https://gitlab.com/cznic/libsqlite_vec/-/tags/v0.7.0">modernc.org/libsqlite_vec v0.7.0</a>; sqlite-vec stays v0.1.9. The pinned <code>modernc.org/libc</code> becomes <a href="https://gitlab.com/cznic/libc/-/tags/v1.79.0">v1.79.0</a>; as always, downstream <code>go.mod</code> files must pin the same <code>modernc.org/libc</code> version this repository's <code>go.mod</code> does, see [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/177">#177</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/177">https://gitlab.com/cznic/sqlite/-/issues/177</a>).</li>
<li>Add <code>_time_format=string_no_monotonic</code>, <strong>opt-in</strong>: times are written in the default layout but without Go's monotonic clock reading, the <code> m=+...</code> suffix, so a scanned time matches its row again when bound in <code>WHERE col = ?</code>. The default is unchanged. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/259">#259</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/259">https://gitlab.com/cznic/sqlite/-/issues/259</a>). See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/142">#142</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/142">https://gitlab.com/cznic/sqlite/-/merge_requests/142</a>), thanks 不插电 (<a href="https://gitlab.com/r27153733"><code>@​r27153733</code></a>)!</li>
<li>Each release tag now gets a signed provenance document, linked from its GitLab release; <code>VERIFYING.md</code> says what it proves and how to check one. Tooling only. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/141">#141</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/141">https://gitlab.com/cznic/sqlite/-/merge_requests/141</a>).</li>
<li>Add an opt-in SQLite authorizer per connection: <code>AuthorizerRegisterer</code>, reached through <code>sql.Conn.Raw</code> or installed on every pooled connection from <code>RegisterConnectionHook</code>; existing connections are unchanged. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/256">#256</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/256">https://gitlab.com/cznic/sqlite/-/issues/256</a>). See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/139">#139</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/139">https://gitlab.com/cznic/sqlite/-/merge_requests/139</a>), thanks Tedla Brandsema (<a href="https://gitlab.com/TedlaBrandsema"><code>@​TedlaBrandsema</code></a>)!</li>
<li>Closing a connection now forgets the pre-update, commit and rollback hooks registered on it; their entries used to linger after <code>Close</code>.</li>
<li><strong>With a shared cache, <code>BeginTx</code> now waits for a lock another connection holds</strong> instead of failing at once with <code>SQLITE_LOCKED_SHAREDCACHE</code> (262), as executing <code>BEGIN IMMEDIATE</code> did; <code>Commit</code> and <code>Rollback</code> wait likewise while another connection changes the schema. <code>busy_timeout</code> does not bound the wait; the call's context does. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/143">#143</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/143">https://gitlab.com/cznic/sqlite/-/merge_requests/143</a>), thanks Ian Chechin!</li>
<li><code>PrepareContext</code> and <code>BeginTx</code> with a context that is already done now return the context's error, as <code>ExecContext</code> and <code>QueryContext</code> do. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/143">#143</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/143">https://gitlab.com/cznic/sqlite/-/merge_requests/143</a>), thanks Ian Chechin!</li>
<li>A context that is done before a statement starts running, for example while its arguments are being bound, now stops the statement within 1000 VM steps. SQLite discarded that interrupt, so a long statement ran to completion and only then returned the context's error. See [GitHub pull request <a href="https://gitlab.com/cznic/sqlite/-/work_items/9">#9</a>](<a href="https://redirect.github.com/modernc-org/sqlite/pull/9">modernc-org/sqlite#9</a>), thanks Chris Gianelloni (<a href="https://gitlab.com/wolf31o2"><code>@​wolf31o2</code></a>)!</li>
<li><strong>A statement waiting for a lock under <code>busy_timeout</code> now stops waiting once its context is done</strong>, with the context's error, instead of sleeping on until the timeout; the wait's retry schedule and its bound are otherwise unchanged, and so is a call without a deadline. <code>PrepareContext</code> ended this way returns the context's error too, where it returned <code>SQLITE_BUSY</code>. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/262">#262</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/262">https://gitlab.com/cznic/sqlite/-/issues/262</a>), thanks SirLouen!</li>
</ul>
</li>
<li>
<p>2026-09-29 v1.60.1:</p>
<ul>
<li>Binding arguments to a statement is no longer quadratic in the number of its parameters, which made multi-row <code>INSERT</code>s with thousands of <code>?</code> parameters slow. Resolves [GitHub issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/8">#8</a>](<a href="https://redirect.github.com/modernc-org/sqlite/issues/8">modernc-org/sqlite#8</a>), thanks wencycool!</li>
</ul>
</li>
<li>
<p>2026-09-28 v1.60.0:</p>
<ul>
<li><strong>A fault while reading the memory-mapped <code>-shm</code> file of a WAL database no longer crashes the process.</strong> The statement fails with a disk I/O error, extended code <code>SQLITE_IOERR_IN_PAGE</code> (8714), and the connection stays usable, as in MSVC builds of SQLite. On by default on every platform and not switchable; <code>lib.SehInject</code> and <code>lib.SehPending</code> inject such a fault for tests. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/221">#221</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/221">https://gitlab.com/cznic/sqlite/-/issues/221</a>), thanks Roman (<a href="https://gitlab.com/requilence"><code>@​requilence</code></a>) for the report, and supersedes <a href="https://gitlab.com/cznic/libsqlite3/-/merge_requests/4">libsqlite3!4</a> and [GitHub pull request <a href="https://gitlab.com/cznic/sqlite/-/work_items/7">#7</a>](<a href="https://redirect.github.com/modernc-org/sqlite/pull/7">modernc-org/sqlite#7</a>), thanks hazyhaar for the two rounds, the <code>ccgo</code> finding and the Windows Server runs!</li>
<li>Re-vendor <code>lib/</code> from <a href="https://gitlab.com/cznic/libsqlite3/-/tags/v1.15.0">modernc.org/libsqlite3 v1.15.0</a> and <code>vec/</code> from <a href="https://gitlab.com/cznic/libsqlite_vec/-/tags/v0.6.0">modernc.org/libsqlite_vec v0.6.0</a>; SQLite stays 3.53.4 and sqlite-vec v0.1.9. <strong>Go 1.26 is now required</strong>, and the pinned <code>modernc.org/libc</code> becomes <a href="https://gitlab.com/cznic/libc/-/tags/v1.77.1">v1.77.1</a>; as always, downstream <code>go.mod</code> files must pin the same <code>modernc.org/libc</code> version this repository's <code>go.mod</code> does, see [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/177">#177</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/177">https://gitlab.com/cznic/sqlite/-/issues/177</a>).</li>
<li><strong>Nine exported <code>lib</code> constants that never had a meaningful value are gone</strong>: <code>INFINITY</code>, <code>MB_CUR_MAX</code>, <code>NAN</code>, <code>RESERVED_BYTE</code>, <code>SHARED_FIRST</code>, <code>SQLITE_CANTOPEN_BKPT</code>, <code>SQLITE_CORRUPT_BKPT</code>, <code>SQLITE_DEFAULT_LOOKASIDE</code> and <code>SQLITE_MISUSE_BKPT</code>. The transpiler now evaluates object-like macros as C expressions, so other constants take their C value (<code>lib.WALINDEX_PGSZ</code> is 32768, not 0) and some appear; the full list is in <a href="https://gitlab.com/cznic/libsqlite3/-/blob/master/CHANGELOG.md">libsqlite3's CHANGELOG</a> under 2026-09-19.</li>
<li><code>make vendor</code> now writes <code>vendor.json</code>, the <code>modernc.org/libsqlite3</code> and <code>modernc.org/libsqlite_vec</code> commits and the Go toolchain <code>lib/</code> and <code>vec/</code> were vendored with, so <code>git show vX.Y.Z:vendor.json</code> says which revisions a release carries; the test suite fails when they no longer match. Tooling only. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/140">#140</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/140">https://gitlab.com/cznic/sqlite/-/merge_requests/140</a>).</li>
<li><strong><code>vfs.FS.Close</code> now refuses while a database opened through it is still open</strong>, returning an error that wraps the new <code>vfs.ErrInUse</code> and leaving the VFS registered. It used to free the VFS the open connection still called through, so the next query crashed the process or read through freed memory. Close the databases first, then the <code>FS</code>.</li>
<li>Fix handle reuse in <code>modernc.org/sqlite/vfs</code> on 32-bit targets: after 2^32 file opens in one process the handle counter wrapped and could overwrite a live entry, such as a file system registered at start-up, and crash. 64-bit targets were not affected.</li>
<li><strong>The pluggable page cache now panics when a <code>Cache</code> breaks its contract</strong> by returning nil, or a different <code>Page</code>, from <code>Fetch</code> for a page SQLite still holds pinned. It used to free memory SQLite was still using, corrupting the database without an error. Only a <code>Cache</code> implementation with that bug is affected; <code>modernc.org/sqlite/pcache</code> is not.</li>
<li>Document three limits of the pluggable page cache on <code>RegisterPageCache</code> and <code>Cache</code>: it cannot be combined with <code>modernc.org/sqlite/vec</code>, <code>PageCache.Create</code> may be called concurrently, and under <code>cache=shared</code> a <code>Cache</code> is called from several goroutines. Documentation only.</li>
<li>Document in the package documentation that state set on a pooled connection is inherited by the next caller to borrow it, and that a connection reached through <code>sql.Conn.Raw</code> is not safe for concurrent use. Documentation only.</li>
<li>Add <code>StrictPragmas</code>, <strong>opt-in and off by default</strong>: once enabled, a connection whose <code>_pragma</code> DSN value holds more than one SQL statement fails to open with <code>ErrMultiStatementPragma</code>, before any DSN parameter is applied. A <code>_pragma</code> value runs as SQL text, so anything after a <code>;</code> runs too. Recommended for any application whose DSN is not a compile-time constant.</li>
<li>Document SQLite's own URI query parameters on <code>Driver.Open</code>: <code>mode</code>, <code>cache</code>, <code>immutable</code>, <code>nolock</code>, <code>psow</code> and <code>modeof</code>, which have always worked in a DSN starting with <code>file:</code>, and the trap that a plain file name has its query stripped before SQLite sees it, so <code>/path/to.db?mode=ro</code> opens read-write. Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/257">#257</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/257">https://gitlab.com/cznic/sqlite/-/issues/257</a>). Documentation only.</li>
<li>Add <code>SECURITY.md</code>, the vulnerability reporting policy: three private channels, what is in scope, that only the latest release is supported, and how a confirmed report is disclosed, including an entry in the Go vulnerability database so <code>govulncheck</code> reports it. <code>IRP.md</code>, linked from it, is the maintainers' incident response plan. Documentation only.</li>
<li>Add <code>CONTRIBUTING.md</code>: where to send a merge request, which files are generated and must not be edited by hand, how to build and test across the 20 supported targets, and the <code>AUTHORS</code>/<code>CONTRIBUTORS</code> convention. Documentation only.</li>
<li>Ship <code>LICENSE-3RD-PARTY.md</code>, a transitively flattened inventory of every third-party component this module carries with all seventeen license texts in full, and a Software Bill of Materials, <code>sbom.cdx.json</code> (CycloneDX 1.6) and <code>sbom.spdx.json</code> (SPDX 2.3), explained in <code>SBOM.md</code>. Both cover what a module-graph tool cannot see: the transpiled SQLite and <code>sqlite-vec</code> C, and the upstreams <code>modernc.org/libc</code> carries, musl among them. Documentation only.</li>
</ul>
</li>
<li>
<p>2026-09-15 v1.59.0:</p>
<ul>
<li>Bump the pinned <code>modernc.org/libc</code> to <a href="https://gitlab.com/cznic/libc/-/tags/v1.75.7">v1.75.7</a> and re-vendor <code>lib/</code> and <code>vec/</code>. The transpiled SQLite is unchanged, still 3.53.4. On the Linux targets the new libc replaces transpiled musl <code>memcpy</code>, <code>memmove</code>, <code>memset</code>, <code>memcmp</code> and <code>strlen</code> with native Go, cutting CPU time on query-heavy workloads by up to a third; see the new Performance section below. As always, downstream <code>go.mod</code> files must pin the same <code>modernc.org/libc</code> version this repository's <code>go.mod</code> does; see [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/177">#177</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/177">https://gitlab.com/cznic/sqlite/-/issues/177</a>).</li>
<li>Hand user-defined function and aggregate callbacks a pooled <code>*FunctionContext</code> instead of allocating a fresh one per call, removing the last driver-side allocation per invocation. Like the argument slice, it is valid only for the duration of the callback and must not be retained past its return. Updates [GitLab issue <a href="https://gitlab.com/cznic/sqlite/-/work_items/226">#226</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/226">https://gitlab.com/cznic/sqlite/-/issues/226</a>). See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/137">#137</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/137">https://gitlab.com/cznic/sqlite/-/merge_requests/137</a>).</li>
<li>Add regression tests pinning the identity and the pooling of that context. See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/-/work_items/138">#138</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/138">https://gitlab.com/cznic/sqlite/-/merge_requests/138</a>), thanks Ian Chechin!</li>
<li>Add a Performance section to the package documentation: measured CPU-time ratios of this driver against the same SQLite compiled from C, where the gap comes from, and the two consequences for applications — index the columns that <code>ORDER BY</code>, <code>GROUP BY</code> and <code>WHERE</code> use, and bound the <code>database/sql</code> pool with <code>SetMaxOpenConns</code>.</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://gitlab.com/cznic/sqlite/commit/014351f110f66c8f485cff948fea608d7dcfafb1"><code>014351f</code></a> CHANGELOG.md: v1.61.1</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/e6990422658b8c9b79328fc5bbda69cc892d70ee"><code>e699042</code></a> conn.go, stmt.go, rows.go: unbind only the parameters that point into the dri...</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/519e1d2a71549f4094e744d809731887bce7fb7d"><code>519e1d2</code></a> Merge branch 'clear-bindings-reprepare' into 'master'</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/0afd2c84e0ab3b8f3da2848c7afc6f7569654fef"><code>0afd2c8</code></a> stmt.go, reprepare_test.go, AUTHORS, CONTRIBUTORS: stop re-preparing cached s...</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/683b7278591f31956cee8ed4602cd3fe275ff620"><code>683b727</code></a> vfs: implement xDelete and the write methods SQLite could still reach</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/78c3b0cab9a7ea4bd45669153fb1659a40be3bd1"><code>78c3b0c</code></a> Merge branch 'threat-model' into 'master'</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/56d807773dc155592fe0c5634afdaed097a6d4d0"><code>56d8077</code></a> Merge branch 'vfs-readonly-open' into 'master'</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/0ea9fb8e813e6c5b9e3514dd6502fa2f40a6a672"><code>0ea9fb8</code></a> THREAT-MODEL.md: a row for the vfs.New write panic</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/67055eb84a87dca41c2f942e13dc838b6924f2e0"><code>67055eb</code></a> CHANGELOG.md: the vfs.New write panic</li>
<li><a href="https://gitlab.com/cznic/sqlite/commit/bbce27dbf6fe87efd3bd96f02398026d9f376713"><code>bbce27d</code></a> CHANGELOG.md: the threat model and the short-read assertion</li>
<li>Additional commits viewable in <a href="https://gitlab.com/cznic/sqlite/compare/v1.61.0...v1.61.1">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: 4727m
    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 #171"
    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%