Skip to content

chore(deps): Bump modernc.org/sqlite from 1.51.0 to 1.52.0 - #19052

Merged
srebhan merged 1 commit into
masterfrom
dependabot/go_modules/modernc.org/sqlite-1.52.0
Jun 9, 2026
Merged

srebhan merged 1 commit into
masterfrom
dependabot/go_modules/modernc.org/sqlite-1.52.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps modernc.org/sqlite from 1.51.0 to 1.52.0.

Changelog

Sourced from modernc.org/sqlite's changelog.

Changelog

  • 2026-06-06 v1.52.0:

    • Upgrade to SQLite 3.53.2.
    • Add Backup.Remaining and Backup.PageCount, thin wrappers around the existing sqlite3_backup_remaining and sqlite3_backup_pagecount C symbols. Together they expose the per-Step progress counters that the underlying backup object already maintains, enabling progress reporting during online backups without dropping to modernc.org/sqlite/lib directly.
    • See [GitLab merge request #122](https://gitlab.com/cznic/sqlite/-/merge_requests/122), thanks Ian Chechin!
    • Drop the redundant second copy in (*conn).columnText, the path that backs every Rows.Scan into a Go string for a TEXT column. The value's bytes are still copied once out of SQLite-owned memory into a fresh Go buffer; that buffer is then reinterpreted as the result string with unsafe.String rather than copied a second time by the implicit string([]byte) conversion. This removes one allocation per TEXT value per row and roughly halves the bytes allocated on that path; on the new BenchmarkColumnTextScan cases it is ~13–20% faster for payloads of 256 B and larger, with no measurable change for very short strings. Purely internal: no API or behavioral change, and the returned string never aliases SQLite's buffer.
    • See [GitLab merge request #123](https://gitlab.com/cznic/sqlite/-/merge_requests/123), thanks Ian Chechin!
    • Cache each result column's declared type once per result set in newRows instead of recomputing it on every row. The TEXT branch of Rows.Next calls ColumnTypeDatabaseTypeName for every TEXT column on every row (independent of any DSN flag), which previously did a libc.GoString + strings.ToUpper each time; that lookup is now a single index into a cached, pre-uppercased []string, and ColumnTypeScanType reads the same cache and drops its per-call strings.ToLower. The declared type is fixed for the lifetime of a prepared statement, so the C round-trip is paid once per column rather than once per column per row, removing exactly 1 alloc + 8 B per TEXT column per row from the Next hot path. The new BenchmarkTextToTimeScan cases show ~7% faster on a 1000-row DATETIME SELECT under _texttotime=1. Purely internal: ColumnTypeDatabaseTypeName and ColumnTypeScanType return identical values, no API or behavioral change.
    • See [GitLab merge request #124](https://gitlab.com/cznic/sqlite/-/merge_requests/124), thanks Ian Chechin!
    • Cache, per result column, the parseTimeFormats index that first parsed a TEXT-stored DATE/DATETIME/TIMESTAMP value, and try that format first on later rows instead of re-walking the list from the top. (*conn).parseTime previously ran time.Parse down the format list on every such row; for the canonical SQLite TEXT datetime format every row paid two failed time.Parse attempts — each allocating a *time.ParseError — before the match. On a 1000-row DATETIME TEXT SELECT this cuts ~50% of allocs/op and ~57% of B/op and is ~37% faster. The fall-through chain is preserved exactly: the seven formats are mutually exclusive, so the cached hint can never select a different match than the in-order scan, and the parsed driver.Value is identical to before. Purely internal: no API or behavioral change.
    • See [GitLab merge request #125](https://gitlab.com/cznic/sqlite/-/merge_requests/125), thanks Ian Chechin!
  • 2026-05-28 v1.51.0:

    • Pool the []driver.Value slice passed to scalar/aggregate UDF callbacks and to vtab Filter/Insert/Update callbacks, eliminating the dominant per-row allocation on UDF-heavy queries. Benchmarks on a 1000-row, 3-arg noop scalar UDF show ~40% fewer bytes/op and ~15% fewer allocs/op.
    • Document the matching "arguments are not valid past return" contract on vtab.Cursor.Filter and vtab.Updater.Insert/Update, consistent with the existing rule for FunctionImpl.Scalar / AggregateFunction.Step / WindowInverse.
    • Resolves [GitLab issue #226](https://gitlab.com/cznic/sqlite/-/issues/226). See [GitLab merge request #114](https://gitlab.com/cznic/sqlite/-/merge_requests/114), thanks Ian Chechin!
    • Add FileControl.FileControlDataVersion, a wrapper around SQLITE_FCNTL_DATA_VERSION for observing pager-cache data-version changes, including those made on the same connection. Useful as a primitive for application-level cache invalidation.
    • Exposed via the idiomatic database/sql escape hatch (*sql.Conn).Raw(), consistent with the existing FileControlPersistWAL.
    • See [GitLab merge request #115](https://gitlab.com/cznic/sqlite/-/merge_requests/115), thanks Ian Chechin!
    • Fix a regression where in-memory connections (:memory:, file::memory:, shared-cache memory URIs) were discarded by database/sql after a context-cancelled query, taking the entire in-memory store with them. The fix for #198 had added an sqlite3_is_interrupted check to the connection validator that mistakenly applied to in-memory connections too, re-introducing the bug originally fixed by !74. File-backed connections keep the existing behaviour and are still discarded after an interrupt.
    • Resolves [GitLab issue #196](https://gitlab.com/cznic/sqlite/-/issues/196). See [GitLab merge request #116](https://gitlab.com/cznic/sqlite/-/merge_requests/116), thanks Ian Chechin!
    • Add an opt-in FunctionImpl.VolatileArgs flag that hands TEXT and BLOB arguments to scalar and aggregate UDF callbacks as zero-copy views (unsafe.String/unsafe.Slice) over SQLite's own value buffers, eliminating the per-argument libc.GoString/make([]byte) copy that the #226 slice-pooling left as the remaining per-row allocation. On the same 1000-row, 3-arg (INTEGER/TEXT/BLOB) noop scalar UDF this removes a further ~35% of allocs/op and ~11% of bytes/op on top of #226.
    • The views are valid only for the duration of the callback and must not be retained past return or across rows; a callback that needs to keep a value must copy it. With VolatileArgs unset (the default) arguments keep the existing copied, caller-owned semantics, so the flag is fully backward compatible; it has no effect on integer, float, time, or NULL arguments.
    • See [GitLab merge request #120](https://gitlab.com/cznic/sqlite/-/merge_requests/120), thanks Ian Chechin!
    • Extend the opt-in VolatileArgs zero-copy TEXT/BLOB argument access from #120 to the virtual-table Cursor.Filter (xFilter) and Updater.Insert/Update (xUpdate) callbacks. A vtab.Module opts in by implementing the new optional vtab.VolatileArgsOpter interface (VolatileArgs() bool); the flag is read once at module registration and shared by every table created from it. On a vtab call carrying one TEXT and one BLOB argument this removes 2 allocs/op (one libc.GoString, one make([]byte)) on each of the Filter and Update paths.
    • The same safety contract as #120 applies: the views are valid only for the duration of the callback and must not be retained past return or across rows; a callback that needs to keep a value must copy it. Modules that do not implement VolatileArgsOpter (the default for all existing modules) are byte-for-byte unchanged, and the flag has no effect on integer, float, time, or NULL arguments.
    • See [GitLab merge request #121](https://gitlab.com/cznic/sqlite/-/merge_requests/121), thanks Ian Chechin!
  • 2026-05-10 v1.50.1:

  • 2026-04-24 v1.50.0:

    • Upgrade to sqlite-vec v0.1.9.
    • Introduce ColumnInfo, enabling dynamic query builders and ORMs to retrieve underlying SQLite C-API metadata (OriginName, TableName, DatabaseName, and DeclType).
    • This feature is exposed via the idiomatic database/sql escape hatch (*sql.Conn).Raw(), avoiding custom statement handles and keeping the standard library workflow intact.
    • See [GitLab merge request #113](https://gitlab.com/cznic/sqlite/-/merge_requests/113), thanks Josh Bleecher Snyder!
  • 2026-04-17 v1.49.0: Upgrade to SQLite 3.53.0.

  • 2026-04-06 v1.48.2:

    • Fix ABI mapping mismatch in the pre-update hook trampoline that caused silent truncation of large 64-bit RowIDs.
    • Ensure the Go trampoline signature correctly aligns with the public sqlite3_preupdate_hook C API, preventing data corruption for high-entropy keys (e.g., Snowflake IDs).
    • See [GitLab merge request #98](https://gitlab.com/cznic/sqlite/-/merge_requests/98), thanks Josh Bleecher Snyder!
    • Fix the memory allocator used in (*conn).Deserialize.
    • Replace tls.Alloc with sqlite3_malloc64 to prevent internal allocator corruption. This ensures the buffer is safely owned by SQLite, which may resize or free it due to the SQLITE_DESERIALIZE_RESIZEABLE and SQLITE_DESERIALIZE_FREEONCLOSE flags.
    • Prevent a memory leak by properly freeing the allocated buffer if fetching the main database name fails before handing ownership to SQLite.
    • See [GitLab merge request #100](https://gitlab.com/cznic/sqlite/-/merge_requests/100), thanks Josh Bleecher Snyder!
    • Fix (*conn).Deserialize to explicitly reject nil or empty byte slices.

... (truncated)

Commits
  • 66b4d20 release v1.52.0, upgrade to SQLite 3.53.2
  • e3f64ec rows: clarify parseFmtIdx mixed-column cost; CHANGELOG.md: document #125
  • 4485793 Merge branch 'perf/cache-parse-time-format' into 'master'
  • 3638d17 rows: cache the parseTime format index per result column
  • 7da793e CHANGELOG.md: document #124
  • 51e6714 Merge branch 'perf/cache-column-decltype' into 'master'
  • 8a6f33c rows: lock down ColumnTypeScanType under the decltype cache
  • f8fb6dd rows: cache the column decltype lookup once per result set
  • b17c0c7 CHANGELOG.md: document #123
  • c80a08f Merge branch 'perf/column-text-zero-copy' into 'master'
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.51.0 to 1.52.0.
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.51.0...v1.52.0)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-version: 1.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 8, 2026
@telegraf-tiger telegraf-tiger Bot added the chore label Jun 8, 2026
@telegraf-tiger

telegraf-tiger Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@srebhan
srebhan merged commit f95bc44 into master Jun 9, 2026
6 checks passed
@srebhan
srebhan deleted the dependabot/go_modules/modernc.org/sqlite-1.52.0 branch June 9, 2026 07:47
@github-actions github-actions Bot added this to the v1.39.1 milestone Jun 9, 2026
skartikey pushed a commit that referenced this pull request Jun 29, 2026
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
telegraf 1.39.1

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## v1.39.1 [2026-06-29]

### Bugfixes

- [#19077](influxdata/telegraf#19077) `build` Create tarballs correctly
- [#19070](influxdata/telegraf#19070) `inputs.opcua` Close session on stop to prevent reload leak
- [#19159](influxdata/telegraf#19159) `inputs.opcua` Skip client certificate on unsecured None channel
- [#19076](influxdata/telegraf#19076) `inputs.openweathermap` Remove calls to deprecated v2.5 group API
- [#19167](influxdata/telegraf#19167) `inputs.smartctl` Parse stdout only to avoid corrupting JSON
- [#19093](influxdata/telegraf#19093) `inputs.tail` Prevent panic when closing tailers under load
- [#19067](influxdata/telegraf#19067) `inputs.temp` Use non-blocking read for hwmon temperatures
- [#19126](influxdata/telegraf#19126) `inputs.vsphere` Fix missing vSAN overall_health metric
- [#19074](influxdata/telegraf#19074) `processors.parser` Handle metrics without inner timestamp correctly
- [#19129](influxdata/telegraf#19129) `migrations` Add migration for inputs.aerospike
- [#19121](influxdata/telegraf#19121) `migrations` Add migration for inputs.kafka_consumer connection_strategy option
- [#19122](influxdata/telegraf#19122) `migrations` Add migration for inputs.openstack server_diagnotics option
- [#19133](influxdata/telegraf#19133) `migrations` Add migration for inputs.openweathermap query_style option
- [#19117](influxdata/telegraf#19117) `migrations` Add migration for inputs.tail from_beginning option
- [#19128](influxdata/telegraf#19128) `migrations` Add migration for outputs.amon

### Dependency Updates

- [#19138](influxdata/telegraf#19138) `deps` Bump actions/checkout from 6 to 7
- [#19065](influxdata/telegraf#19065) `deps` Bump cloud.google.com/go/storage from 1.62.2 to 1.62.3
- [#19058](influxdata/telegraf#19058) `deps` Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.21.1 to 1.22.0
- [#19106](influxdata/telegraf#19106) `deps` Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.13.1 to 1.14.0
- [#19059](influxdata/telegraf#19059) `deps` Bump github.com/IBM/sarama from 1.50.1 to 1.50.2
- [#19110](influxdata/telegraf#19110) `deps` Bump github.com/IBM/sarama from 1.50.2 to 1.50.3
- [#19102](influxdata/telegraf#19102) `deps` Bump github.com/SAP/go-hdb from 1.16.11 to 1.16.12
- [#19057](influxdata/telegraf#19057) `deps` Bump github.com/aws/smithy-go from 1.27.0 to 1.27.2
- [#19060](influxdata/telegraf#19060) `deps` Bump github.com/gopacket/gopacket from 1.6.0 to 1.6.1
- [#19142](influxdata/telegraf#19142) `deps` Bump github.com/gopcua/opcua from 0.8.0 to 0.9.0
- [#19064](influxdata/telegraf#19064) `deps` Bump github.com/jedib0t/go-pretty/v6 from 6.7.10 to 6.8.0
- [#19108](influxdata/telegraf#19108) `deps` Bump github.com/jedib0t/go-pretty/v6 from 6.8.0 to 6.8.1
- [#19150](influxdata/telegraf#19150) `deps` Bump github.com/moby/moby/api from 1.54.2 to 1.55.0
- [#19149](influxdata/telegraf#19149) `deps` Bump github.com/moby/moby/client from 0.4.1 to 0.5.0
- [#19053](influxdata/telegraf#19053) `deps` Bump github.com/pion/dtls/v3 from 3.1.3 to 3.1.4
- [#19115](influxdata/telegraf#19115) `deps` Bump github.com/prometheus-community/pro-bing from 0.8.0 to 0.9.0
- [#19147](influxdata/telegraf#19147) `deps` Bump github.com/prometheus/common from 0.68.1 to 0.69.0
- [#19141](influxdata/telegraf#19141) `deps` Bump github.com/rabbitmq/amqp091-go from 1.11.0 to 1.12.0
- [#19170](influxdata/telegraf#19170) `deps` Bump github.com/rclone/rclone from 1.69.3 to 1.74.1-0.20260628215305-6bbc28cf02dc
- [#19109](influxdata/telegraf#19109) `deps` Bump github.com/redis/go-redis/v9 from 9.20.0 to 9.20.1
- [#19148](influxdata/telegraf#19148) `deps` Bump github.com/redis/go-redis/v9 from 9.20.1 to 9.21.0
- [#19152](influxdata/telegraf#19152) `deps` Bump github.com/testcontainers/testcontainers-go/modules/azure from 0.42.0 to 0.43.0
- [#19143](influxdata/telegraf#19143) `deps` Bump github.com/testcontainers/testcontainers-go/modules/kafka from 0.42.0 to 0.43.0
- [#19144](influxdata/telegraf#19144) `deps` Bump github.com/testcontainers/testcontainers-go/modules/vault from 0.42.0 to 0.43.0
- [#19111](influxdata/telegraf#19111) `deps` Bump go.opentelemetry.io/collector/pdata from 1.59.0 to 1.60.0
- [#19054](influxdata/telegraf#19054) `deps` Bump go.step.sm/crypto from 0.81.1 to 0.82.0
- [#19104](influxdata/telegraf#19104) `deps` Bump go.step.sm/crypto from 0.82.0 to 0.83.0
- [#19061](influxdata/telegraf#19061) `deps` Bump golang.org/x/crypto from 0.52.0 to 0.53.0
- [#19055](influxdata/telegraf#19055) `deps` Bump golang.org/x/mod from 0.36.0 to 0.37.0
- [#19056](influxdata/telegraf#19056) `deps` Bump golang.org/x/sync from 0.20.0 to 0.21.0
- [#19066](influxdata/telegraf#19066) `deps` Bump golang.org/x/sys from 0.45.0 to 0.46.0
- [#19063](influxdata/telegraf#19063) `deps` Bump golang.org/x/term from 0.43.0 to 0.44.0
- [#19062](influxdata/telegraf#19062) `deps` Bump golang.org/x/text from 0.37.0 to 0.38.0
- [#19107](influxdata/telegraf#19107) `deps` Bump golang.org/x/tools from 0.45.0 to 0.46.0
- [#19101](influxdata/telegraf#19101) `deps` Bump google.golang.org/api from 0.283.0 to 0.284.0
- [#19145](influxdata/telegraf#19145) `deps` Bump google.golang.org/api from 0.284.0 to 0.286.0
- [#19103](influxdata/telegraf#19103) `deps` Bump k8s.io/api from 0.36.1 to 0.36.2
- [#19113](influxdata/telegraf#19113) `deps` Bump k8s.io/client-go from 0.36.1 to 0.36.2
- [#19052](influxdata/telegraf#19052) `deps` Bump modernc.org/sqlite from 1.51.0 to 1.52.0
- [#19151](influxdata/telegraf#19151) `deps` Bump modernc.org/sqlite from 1.52.0 to 1.53.0
- [#19105](influxdata/telegraf#19105) `deps` Bump software.sslmate.com/src/go-pkcs12 from 0.7.1 to 0.7.2
- [#19139](influxdata/telegraf#19139) `deps` Bump super-linter/super-linter from 8.6.0 to 8.7.0
- [#19051](influxdata/telegraf#19051) `deps` Bump the aws-sdk-go-v2 group across 1 directory with 11 updates
- [#19140](influxdata/telegraf#19140) `deps` Bump the aws-sdk-go-v2 group with 2 updates
- [#19100](influxdata/telegraf#19100) `deps` Bump the aws-sdk-go-v2 group with 6 updates

### Packages

Arch | Platform | Package | SHA256
---| --- | --- | ---
arm64 | CentOS | [telegraf-1.39.1-1.aarch64.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.aarch64.rpm) | 0227b00b6295c326f07e3c8e5d463ec045c63526cf6c9cbc13a45dc837700063
armel | CentOS | [telegraf-1.39.1-1.armel.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.armel.rpm) | 6712998ae341138c118eacdea1044964a9a29e8fb283c5e4b3bf7d99af5a6352
armv6hl | CentOS | [telegraf-1.39.1-1.armv6hl.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.armv6hl.rpm) | 2d406f71c983f6639d7e5ead7b00b52466245624fccc37bfaa89603462c37a4d
i386 | CentOS | [telegraf-1.39.1-1.i386.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.i386.rpm) | 7d769ca55c362fc9b841d8a644fd3c129c732c6c2db7c8d556748fb4a137b269
unknown | CentOS | [telegraf-1.39.1-1.loongarch64.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.loongarch64.rpm) | e9a9f8591286b41c6d61af28fd6ff8bd050a1b1bdd54b52cca6e862ee7eab2dc
ppc64le | CentOS | [telegraf-1.39.1-1.ppc64le.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.ppc64le.rpm) | 846a6480d333bb3dd0bdb11c6bbe674a839136e488cde7510dff978edf77a988
riscv64 | CentOS | [telegraf-1.39.1-1.riscv64.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.riscv64.rpm) | 9653bb7adca7919c8b9b94d8f322c26c71635face57e12ed4a8276a78f0a2f11
s390x | CentOS | [telegraf-1.39.1-1.s390x.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.s390x.rpm) | 5df8a1dd1ac77ea253cc2ca99ff1fbf6aed995da09362af3ae213fbbad5a4438
amd64 | CentOS | [telegraf-1.39.1-1.x86_64.rpm](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1-1.x86_64.rpm) | 8775538460f86e1ae86a47eb92a92932d1b8949c888d0171df4d8b0534145e73
amd64 | macOS | [telegraf-1.39.1_darwin_amd64.dmg](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1_darwin_amd64.dmg) | 3b61fcb0abac52d8f915ff900b2c504f2a99fd9dc58a2589f533d611f6d6ff4d
amd64 | macOS | [telegraf-1.39.1_darwin_amd64.tar.gz](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1_darwin_amd64.tar.gz) | 653c8a4b5afe66b0a6223952853de9f4d9ad4387b62858248fcad1ff4021e060
arm64 | macOS | [telegraf-1.39.1_darwin_arm64.dmg](https://dl.influxdata.com/telegraf/releases/telegraf-1.39.1_darwin_arm64.dmg) | 7af3ca693daae87e4503a3c0

See merge request: Harmonybrew/homebrew-core!13084
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant