Commit 976dc1a
authored
chore: Bump modernc.org/sqlite from 1.47.0 to 1.48.0 (#740)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.47.0
to 1.48.0.
<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-03-27 v1.48.0:</p>
<ul>
<li>Add <code>_timezone</code> DSN query parameter to apply IANA
timezones (e.g., "America/New_York") to both reads and
writes.</li>
<li>Writes will convert <code>time.Time</code> values to the target
timezone before formatting as a string.</li>
<li>Reads will interpret timezone-less strings as being in the target
timezone.</li>
<li>Does not impact <code>_inttotime</code> integer values, which will
always safely evaluate as UTC.</li>
<li>Add support for <code>_time_format=datetime</code> URI parameter to
format <code>time.Time</code> values identically to SQLite's native
<code>datetime()</code> function and <code>CURRENT_TIMESTAMP</code>
(<code>YYYY-MM-DD HH:MM:SS</code>).</li>
<li>See [GitLab merge request <a
href="https://gitlab.com/cznic/sqlite/issues/94">#94</a>](<a
href="https://gitlab.com/cznic/sqlite/-/merge_requests/94">https://gitlab.com/cznic/sqlite/-/merge_requests/94</a>)
and [GitLab merge request <a
href="https://gitlab.com/cznic/sqlite/issues/95">#95</a>](<a
href="https://gitlab.com/cznic/sqlite/-/merge_requests/95">https://gitlab.com/cznic/sqlite/-/merge_requests/95</a>),
thanks Josh Bleecher Snyder!</li>
</ul>
</li>
<li>
<p>2026-03-17 v1.47.0: Add CGO-free version of the vector extensions
from <a
href="https://github.com/asg017/sqlite-vec">https://github.com/asg017/sqlite-vec</a>.
See <code>vec_test.go</code> for example usage. From the GitHub project
page:</p>
<ul>
<li><strong>Important:</strong> sqlite-vec is a pre-v1, so expect
breaking changes!</li>
<li>Store and query float, int8, and binary vectors in vec0 virtual
tables</li>
<li>Written in pure C, no dependencies, runs anywhere SQLite runs
(Linux/MacOS/Windows, in the browser with WASM, Raspberry Pis,
etc.)</li>
<li>Store non-vector data in metadata, auxiliary, or partition key
columns</li>
<li>See [GitLab merge request <a
href="https://gitlab.com/cznic/sqlite/issues/93">#93</a>](<a
href="https://gitlab.com/cznic/sqlite/-/merge_requests/93">https://gitlab.com/cznic/sqlite/-/merge_requests/93</a>),
thanks Zhenghao Zhang!</li>
</ul>
</li>
<li>
<p>2026-03-16 v1.46.2: Upgrade to <a
href="https://sqlite.org/releaselog/3_51_3.html">SQLite 3.51.3</a>.</p>
</li>
<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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/19b842914a3fe3f8b7ed5ded2db60eb3382659c8"><code>19b8429</code></a>
update {CHANGELOG,README}.md</li>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/78ddab8b009207847528a6e5258a9029c2954921"><code>78ddab8</code></a>
Merge branch 'datetime-format' into 'master'</li>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/2e045237da7f22acfda8f8d874be3c90d9793239"><code>2e04523</code></a>
Merge branch 'add-timezone' into 'master'</li>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/77706c148d6c8ea5fc9eced99c9287471eb0f98b"><code>77706c1</code></a>
add _time_format=datetime support</li>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/18958226a30e8abc2312d4ec90ec8cf50ad20a59"><code>1895822</code></a>
add _timezone DSN query parameter</li>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/c2c6272674caf9ae0acdc420ad5a33b6cb80ee75"><code>c2c6272</code></a>
CHANGELOG.md: fix formatting</li>
<li><a
href="https://gitlab.com/cznic/sqlite/commit/2942e4623f7f52b70c33bba6ae5669adfa8d68d6"><code>2942e46</code></a>
restore logo.png</li>
<li>See full diff in <a
href="https://gitlab.com/cznic/sqlite/compare/v1.47.0...v1.48.0">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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 8af513c commit 976dc1a
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments