Skip to content

Commit f9281fc

Browse files
chore: Bump modernc.org/sqlite from 1.45.0 to 1.46.1 (#670)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.45.0 to 1.46.1. <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> <ul> <li> <p>2026-02-17 v1.46.1:</p> <ul> <li>Ensure connection state is reset if Tx.Commit fails. Previously, errors like SQLITE_BUSY during COMMIT could leave the underlying connection inside a transaction, causing errors when the connection was reused by the database/sql pool. The driver now detects this state and forces a rollback internally.</li> <li>Fixes [GitHub issue <a href="https://gitlab.com/cznic/sqlite/issues/2">#2</a>](<a href="https://redirect.github.com/modernc-org/sqlite/issues/2">modernc-org/sqlite#2</a>), thanks Edoardo Spadolini!</li> </ul> </li> <li> <p>2026-02-17 v1.46.0:</p> <ul> <li>Enable ColumnTypeScanType to report time.Time instead of string for TEXT columns declared as DATE, DATETIME, TIME, or TIMESTAMP via a new <code>_texttotime</code> URI parameter.</li> <li>See [GitHub pull request <a href="https://gitlab.com/cznic/sqlite/issues/1">#1</a>](<a href="https://redirect.github.com/modernc-org/sqlite/pull/1">modernc-org/sqlite#1</a>), thanks devhaozi!</li> </ul> </li> <li> <p>2026-02-09 v1.45.0:</p> <ul> <li>Introduce vtab subpackage (modernc.org/sqlite/vtab) exposing Module, Table, Cursor, and IndexInfo API for Go virtual tables.</li> <li>Wire vtab registration into the driver: vtab.RegisterModule installs modules globally and each new connection calls sqlite3_create_module_v2.</li> <li>Implement vtab trampolines for xCreate/xConnect/xBestIndex/xDisconnect/xDestroy/xOpen/xClose/xFilter/xNext/xEof/xColumn/xRowid.</li> <li>Map SQLite’s sqlite3_index_info into vtab.IndexInfo, including constraints, ORDER BY terms, and constraint usage (ArgIndex → xFilter argv[]).</li> <li>Add an in‑repo dummy vtab module and test (module_test.go) that validates registration, basic scanning, and constraint visibility.</li> <li>See [GitLab merge request <a href="https://gitlab.com/cznic/sqlite/issues/90">#90</a>](<a href="https://gitlab.com/cznic/sqlite/-/merge_requests/90">https://gitlab.com/cznic/sqlite/-/merge_requests/90</a>), thanks Adrian Witas!</li> </ul> </li> <li> <p>2026-01-19 v1.44.3: Resolves [GitLab issue <a href="https://gitlab.com/cznic/sqlite/issues/243">#243</a>](<a href="https://gitlab.com/cznic/sqlite/-/issues/243">https://gitlab.com/cznic/sqlite/-/issues/243</a>).</p> </li> <li> <p>2026-01-18 v1.44.2: Upgrade to <a href="https://sqlite.org/releaselog/3_51_2.html">SQLite 3.51.2</a>.</p> </li> <li> <p>2026-01-13 v1.44.0: Upgrade to SQLite 3.51.1.</p> </li> <li> <p>2025-10-10 v1.39.1: Upgrade to SQLite 3.50.4.</p> </li> <li> <p>2025-06-09 v1.38.0: Upgrade to SQLite 3.50.1.</p> </li> <li> <p>2025-02-26 v1.36.0: Upgrade to SQLite 3.49.0.</p> </li> <li> <p>2024-11-16 v1.34.0: Implement ResetSession and IsValid methods in connection</p> </li> <li> <p>2024-07-22 v1.31.0: Support windows/386.</p> </li> <li> <p>2024-06-04 v1.30.0: Upgrade to SQLite 3.46.0, release notes at <a href="https://sqlite.org/releaselog/3_46_0.html">https://sqlite.org/releaselog/3_46_0.html</a>.</p> </li> <li> <p>2024-02-13 v1.29.0: Upgrade to SQLite 3.45.1, release notes at <a href="https://sqlite.org/releaselog/3_45_1.html">https://sqlite.org/releaselog/3_45_1.html</a>.</p> </li> <li> <p>2023-12-14: v1.28.0: Add (*Driver).RegisterConnectionHook, ConnectionHookFn, ExecQuerierContext, RegisterConnectionHook.</p> </li> <li> <p>2023-08-03 v1.25.0: enable SQLITE_ENABLE_DBSTAT_VTAB.</p> </li> <li> <p>2023-07-11 v1.24.0: Add (*conn).{Serialize,Deserialize,NewBackup,NewRestore} methods, add Backup type.</p> </li> <li> <p>2023-06-01 v1.23.0: Allow registering aggregate functions.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://gitlab.com/cznic/sqlite/commit/c777b9066dd7f97147b35345fce4c6a7a728c3ff"><code>c777b90</code></a> add GOVERNANCE.md</li> <li><a href="https://gitlab.com/cznic/sqlite/commit/806ed2d1be238ad8e00f133eba05df275a14117d"><code>806ed2d</code></a> fix inconsistent transaction state on failed Commit</li> <li><a href="https://gitlab.com/cznic/sqlite/commit/e124c3ee4426555f752f41266d70e580aedc5619"><code>e124c3e</code></a> CHANGELOG.md: document v1.46.0</li> <li><a href="https://gitlab.com/cznic/sqlite/commit/ba0b20fc091f1720a103bafb77be77738811cc3c"><code>ba0b20f</code></a> manually merge <a href="https://redirect.github.com/modernc-org/sqlite/pull/1">modernc-org/sqlite#1</a></li> <li>See full diff in <a href="https://gitlab.com/cznic/sqlite/compare/v1.45.0...v1.46.1">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | modernc.org/sqlite | [>= 1.34.a, < 1.35] | </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=modernc.org/sqlite&package-manager=go_modules&previous-version=1.45.0&new-version=1.46.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 287a601 commit f9281fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ require (
4949
gonum.org/v1/gonum v0.17.0
5050
google.golang.org/grpc v1.79.1
5151
google.golang.org/protobuf v1.36.11
52-
modernc.org/sqlite v1.45.0
52+
modernc.org/sqlite v1.46.1
5353
)
5454

5555
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ modernc.org/opt v0.1.4 h1:2kNGMRiUjrp4LcaPuLY2PzUfqM/w9N23quVwhKt5Qm8=
284284
modernc.org/opt v0.1.4/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns=
285285
modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w=
286286
modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE=
287-
modernc.org/sqlite v1.45.0 h1:r51cSGzKpbptxnby+EIIz5fop4VuE4qFoVEjNvWoObs=
288-
modernc.org/sqlite v1.45.0/go.mod h1:CzbrU2lSB1DKUusvwGz7rqEKIq+NUd8GWuBBZDs9/nA=
287+
modernc.org/sqlite v1.46.1 h1:eFJ2ShBLIEnUWlLy12raN0Z1plqmFX9Qe3rjQTKt6sU=
288+
modernc.org/sqlite v1.46.1/go.mod h1:CzbrU2lSB1DKUusvwGz7rqEKIq+NUd8GWuBBZDs9/nA=
289289
modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0=
290290
modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A=
291291
modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y=

0 commit comments

Comments
 (0)