Skip to content

build(deps): bump the go-dependencies group across 1 directory with 3 updates - #56

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-f7ce3e1cbc
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-f7ce3e1cbc

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 3 updates in the / directory: github.com/Backblaze/blazer, github.com/clerk/clerk-sdk-go/v2 and modernc.org/sqlite.

Updates github.com/Backblaze/blazer from 0.9.0 to 0.10.1

Release notes

Sourced from github.com/Backblaze/blazer's releases.

v0.10.1

0.10.1 - 2026-11-17

This is a documentation and test-infrastructure maintenance release. No new SDK APIs or library runtime fixes are introduced; library source is unchanged from v0.10.0 apart from the standard release-version metadata.

Changed

  • Repository-owned conformance checks now cover debug-log redaction, replication setup, sync, session reuse, server-side copies, Object Lock argument validation, composition, and offline notification verification. Existing SSE-C and download-by-ID checks have broader coverage. The catalog grows from 34 to 42 conformance scenarios; these verify APIs already shipped in v0.10.0 (#389, #390, #391, #393, #394, #401, #402, #403, #404, #405).
  • A new repository-owned download-range response validation scenario increases the resilience catalog from 15 to 16 checks. This tests the existing range-reader contract; it does not change download behavior (#406).
  • The integration and Object Lock test suites honor B2_ENDPOINT on every client constructor, including low-level authorizations and scoped-key clients. TestUnknownCA uses B2_ENDPOINT_TLS, or an HTTPS B2_ENDPOINT, and skips with a reason when only plain HTTP is available. With the variables unset the existing integration-test endpoints are unchanged; this is test configuration only (#297).
  • Key-expiration wire tests now use JSON null for absent expiration timestamps and check both zero-time and set expiration results. This strengthens coverage of the existing Expires contract without changing key expiration behavior (#392).

Fixed

  • The v0.10.0 upgrade guide now identifies all three source changes that can cause compile errors. It includes before/after examples for the required replication-configuration argument to (*base.B2).CreateBucket; pass nil to retain the previous behavior (#392).
  • Corrected repository-owned SDK harness contract-test counts after parallel scenario additions (#408).

v0.10.0

[0.10.0] - 2026-11-11

See the upgrade guide for migration guidance on the 12 breaking changes.

Added

  • b2.SetupReplication merges caller-owned source and destination key IDs into bucket replication configurations, and b2.ReplicationStatus reads configured rules. Both reject unreadable existing configuration; setup rejects conflicting options and key mappings.
  • b2/sync.Sync pushes a local directory tree into a B2 prefix with configurable comparison, concurrency, dry-run reporting, and per-file failure results. It follows a symlinked root but not symlinks below it; changed large files are re-uploaded rather than resumed.
  • b2.WithAccountInfo allows a client to reuse an authorized session through the default in-memory store or an opt-in AccountInfoFile. The file backend stores tokens and endpoints atomically with private POSIX permissions and never stores the application key. On Windows, session privacy depends on the directory ACLs; place the file under the user's profile directory, such as os.UserConfigDir(). A missing, corrupt or oversized cached session triggers normal authorization and replacement; oversized reads remain bounded.
  • Per-request SSE-C keys for uploads, downloads, metadata lookup, and server-side copies. Large-file uploads send the key on the start request and every part; keys cannot be configured as client writer defaults. NewSSECKeyWithID accepts an optional caller-chosen key identifier, stored as sse_c_key_id in file info for every SSE-C upload and used for large-file resume. Blazer adds no key-derived fingerprint to metadata. Resume rejects missing or different IDs, and an unkeyed writer cannot resume an SSE-C upload. Uploads fail before any request when caller file info sets a conflicting sse_c_key_id in any letter case, sets one for a key without an ID, or would exceed 10 entries. Callers must not reuse an ID for another key: B2 rejects wrong keys on uploaded parts, but cannot check a key when every part is skipped.
  • b2.VerifySignature checks the HMAC-SHA256 signature of a raw B2 event-notification body, and b2.ParseEvent decodes its events. The helpers reject missing or malformed signatures, empty signing secrets, and bodies larger than 1 MiB; callers must cap HTTP reads before passing a body to them and deduplicate at-least-once deliveries by event ID.
  • b2.WithSSEB2("AES256") requests SSE-B2 for one upload without changing the bucket default. Resumed uploads validate the existing encryption mode and algorithm. An explicit writer encryption option overrides inherited client defaults. Passing SSE-B2 and SSE-C options to the same NewWriter call causes a non-empty Write and Close to return an error.
  • b2.WithProgress reports byte-level upload progress, and b2.Reader.Progress reports byte-level download progress. Callbacks are serialized off transfer locks and finish with a terminal value; known upload sizes and finite download ranges report their actual totals. Upload progress also credits completed parts already present when resuming. Reaching the total or receiving a terminal callback does not confirm successful completion or replace checking Writer.Close or read errors.
  • (*b2.Bucket).DownloadFileByID downloads the exact file version identified by its B2 file ID, including historical versions and optional per-request SSE-C keys; (*base.Bucket).DownloadFileByID provides low-level GET, HEAD, and range requests.
  • x/b2sim provides an in-process B2 wire simulator for offline tests through b2.Transport, including bucket operations, simple and multipart uploads, downloads and ranges, file listing, and deletion. Unsupported operations return an error; policy enforcement and download-authorization signature checks are not simulated.
  • (*b2.Bucket).Compose builds a large file from ordered uploaded and server-side copied parts, using b2_copy_part. It accepts content type, file info, SHA1, last-modified time, and Object Lock options; defaults its content type to application/octet-stream; validates known part sizes, copy ranges, and known totals up to 10 TB (10,000,000,000,000 bytes) before starting; permits overlapping copied ranges; and cancels an unfinished file if a part fails, even after caller cancellation. Final whole-file copies have an unknown size, so B2 enforces their size limits after the large file starts.
  • Key.BucketIDs and Key.Prefix report a key's bucket restriction and name prefix (#227).
  • b2.ErrInvalidAccountInfo supports errors.Is for malformed or oversized data read by AccountInfoFile.AuthData and lets custom stores request reauthorization with ok=false. AccountInfo now documents concurrency and optional Err reporting: clients propagate observed storage errors, while a shared store's last error can be overwritten or seen by another caller.

Changed

  • Breaking: (*b2.Client).NewBucket now applies attrs.ReplicationConfig when it creates a bucket, as its documentation states; callers that create buckets from another bucket's Attrs() should clear ReplicationConfig if they do not want its replication rules. (*base.B2).CreateBucket takes the replication configuration as a new parameter; pass nil to keep the previous behavior.
  • Breaking: (*b2.Object).NewReader, NewRangeReader, and Attrs gained variadic keys ...*SSECKey parameters. Existing calls are unchanged, but uses as function values with their old method signatures no longer compile.
  • Breaking: Writer.Close now waits for in-flight part uploads and, with WithCancelOnError, for b2_cancel_large_file and errf to finish. An errf that calls Close or waits on the goroutine calling Close deadlocks. Bound the cancellation RPC's wait with a deadline on the context returned by ctxf; errf must return promptly, as that deadline does not bound the callback.
  • Breaking: (*base.B2).CreateKey, CreateKeyMultiBucket, and (*base.Bucket).GetDownloadAuthorization now reject negative lifetimes, positive lifetimes below one second, and lifetimes of 1000 days or more with base.ErrInvalidDuration. This also applies to b2.Lifetime, b2.Deadline, Bucket.AuthToken, and Object.AuthURL. Pass a lifetime of at least one second (longer fractional values truncate to whole seconds) and below 1000 days for keys, or zero for a non-expiring key; download authorization requires 1 to 604800 seconds.
  • Breaking: Ranged DownloadFile* calls now return the new base.ErrInvalidRangeResponse for HTTP 200 at a nonzero offset, an overlong HTTP 200 or 206 response, a chunked response without Content-Length, or a missing or invalid Content-Range on HTTP 206. Callers should handle this error and ensure their server or transport honors Range requests (#179).
  • Breaking: (*b2.Client).CreateKey rejects explicitly empty b2.BucketIDs scopes or any empty ID with b2.ErrInvalidBucketIDs; (*b2.Bucket).CreateKey rejects this client-only option even when empty, with b2.ErrBucketIDsOnBucket. Omit BucketIDs for an intentional account-wide key, or provide non-empty IDs through Client.CreateKey for a scoped key.
  • Breaking: b2.CopyToBucket(nil) now makes Bucket.Copy return an error before sending any request instead of silently copying into the receiver bucket. Pass a valid destination bucket, or omit CopyToBucket to copy into the receiver bucket.
  • Breaking: (*b2.Client).NewBucket validates replication settings before creating a bucket, and (*b2.Bucket).Update omits settings when BucketAttrs.ReplicationConfig is nil. Both reject empty configurations; partial replication updates also reject unreadable existing settings. Use nil to leave replication unchanged, including unreadable settings; supply valid role data with normal bucket-update and writeBucketReplications permissions, plus readBucketReplications when preserving an unspecified role, or supply both roles for an explicit complete replacement. Nil/empty destination maps retain their existing wire encoding for B2 to validate and are not supported clearing operations. Direct base callers now receive consistent replication unreadability markers from creation and updates, and nil configurations when both response roles are null.
  • Breaking: The default b2/sync.Sync comparison and CompareModTime now use modification times alone at millisecond resolution; use WithCompare(CompareSize) or WithCompare(CompareSHA1) to detect size/content changes with unchanged times. Sync supports Linux, macOS and Windows, rejects unsafe file replacements there, and returns an error wrapping errors.ErrUnsupported with GOOS/GOARCH on all other targets before walking or sending requests; those targets remain buildable.

... (truncated)

Changelog

Sourced from github.com/Backblaze/blazer's changelog.

0.10.1 - 2026-11-17

This is a documentation and test-infrastructure maintenance release. No new SDK APIs or library runtime fixes are introduced; library source is unchanged from v0.10.0 apart from the standard release-version metadata.

Changed

  • Repository-owned conformance checks now cover debug-log redaction, replication setup, sync, session reuse, server-side copies, Object Lock argument validation, composition, and offline notification verification. Existing SSE-C and download-by-ID checks have broader coverage. The catalog grows from 34 to 42 conformance scenarios; these verify APIs already shipped in v0.10.0 (#389, #390, #391, #393, #394, #401, #402, #403, #404, #405).
  • A new repository-owned download-range response validation scenario increases the resilience catalog from 15 to 16 checks. This tests the existing range-reader contract; it does not change download behavior (#406).
  • The integration and Object Lock test suites honor B2_ENDPOINT on every client constructor, including low-level authorizations and scoped-key clients. TestUnknownCA uses B2_ENDPOINT_TLS, or an HTTPS B2_ENDPOINT, and skips with a reason when only plain HTTP is available. With the variables unset the existing integration-test endpoints are unchanged; this is test configuration only (#297).
  • Key-expiration wire tests now use JSON null for absent expiration timestamps and check both zero-time and set expiration results. This strengthens coverage of the existing Expires contract without changing key expiration behavior (#392).

Fixed

  • The v0.10.0 upgrade guide now identifies all three source changes that can cause compile errors. It includes before/after examples for the required replication-configuration argument to (*base.B2).CreateBucket; pass nil to retain the previous behavior (#392).
  • Corrected repository-owned SDK harness contract-test counts after parallel scenario additions (#408).

[0.10.0] - 2026-11-11

See the upgrade guide for migration guidance on the 12 breaking changes.

Added

  • base.NewAuthorizedAccount constructs an authorized account from cached authorization data. (*base.FileChunk).UploadPartWithSSEC, (*base.Bucket).DownloadFileByNameWithSSEC, DownloadFileByIDWithSSEC, and CopyFileWithSSEC add low-level SSE-C upload-part, download, and copy operations.
  • b2.SetupReplication merges caller-owned source and destination key IDs into bucket replication configurations, and b2.ReplicationStatus reads configured rules. Both reject unreadable existing configuration; setup rejects conflicting options and key mappings.
  • b2/sync.Sync pushes a local directory tree into a B2 prefix with configurable comparison, concurrency, dry-run reporting, and per-file failure results. It follows a symlinked root but not symlinks below it; changed large files are re-uploaded rather than resumed.
  • b2.WithAccountInfo allows a client to reuse an authorized session through the default in-memory store or an opt-in AccountInfoFile. The file backend stores tokens and endpoints atomically with private POSIX permissions and never stores the application key. On Windows, session privacy depends on the directory ACLs; place the file under the user's profile directory, such as os.UserConfigDir(). A missing, corrupt or oversized cached session triggers normal authorization and replacement; oversized reads remain bounded.
  • Per-request SSE-C keys for uploads, downloads, metadata lookup, and server-side copies. Large-file uploads send the key on the start request and every part; keys cannot be configured as client writer defaults. NewSSECKeyWithID accepts an optional caller-chosen key identifier, stored as sse_c_key_id in file info for every SSE-C upload and used for large-file resume. Blazer adds no key-derived fingerprint to metadata. Resume rejects missing or different IDs, and an unkeyed writer cannot resume an SSE-C upload. Uploads fail before any request when caller file info sets a conflicting sse_c_key_id in any letter case, sets one for a key without an ID, or would exceed 10 entries. Callers must not reuse an ID for another key: B2 rejects wrong keys on uploaded parts, but cannot check a key when every part is skipped.
  • b2.VerifySignature checks the HMAC-SHA256 signature of a raw B2 event-notification body, and b2.ParseEvent decodes its events. The helpers reject missing or malformed signatures, empty signing secrets, and bodies larger than 1 MiB; callers must cap HTTP reads before passing a body to them and deduplicate at-least-once deliveries by event ID.
  • b2.WithSSEB2("AES256") requests SSE-B2 for one upload without changing the bucket default. Resumed uploads validate the existing encryption mode and algorithm. An explicit writer encryption option overrides inherited client defaults. Passing SSE-B2 and SSE-C options to the same NewWriter call causes a non-empty Write and Close to return an error.
  • b2.WithProgress reports byte-level upload progress, and b2.Reader.Progress reports byte-level download progress. Callbacks are serialized off transfer locks and finish with a terminal value; known upload sizes and finite download ranges report their actual totals. Upload progress also credits completed parts already present when resuming. Reaching the total or receiving a terminal callback does not confirm successful completion or replace checking Writer.Close or read errors.
  • (*b2.Bucket).DownloadFileByID downloads the exact file version identified by its B2 file ID, including historical versions and optional per-request SSE-C keys; (*base.Bucket).DownloadFileByID provides low-level GET, HEAD, and range requests.
  • x/b2sim provides an in-process B2 wire simulator for offline tests through b2.Transport, including bucket operations, simple and multipart uploads, downloads and ranges, file listing, and deletion. Unsupported operations return an error; policy enforcement and download-authorization signature checks are not simulated.
  • (*b2.Bucket).Compose builds a large file from ordered uploaded and server-side copied parts, using b2_copy_part. It accepts content type, file info, SHA1, last-modified time, and Object Lock options; defaults its content type to application/octet-stream; validates known part sizes, copy ranges, and known totals up to 10 TB (10,000,000,000,000 bytes) before starting; permits overlapping copied ranges; and cancels an unfinished file if a part fails, even after caller cancellation. Final whole-file copies have an unknown size, so B2 enforces their size limits after the large file starts.
  • Key.BucketIDs and Key.Prefix report a key's bucket restriction and name prefix (#227).
  • b2.ErrInvalidAccountInfo supports errors.Is for malformed or oversized data read by AccountInfoFile.AuthData and lets custom stores request reauthorization with ok=false. AccountInfo now documents concurrency and optional Err reporting: clients propagate observed storage errors, while a shared store's last error can be overwritten or seen by another caller.

Changed

  • Breaking: (*b2.Client).NewBucket now applies attrs.ReplicationConfig when it creates a bucket, as its documentation states; callers that create buckets from another bucket's Attrs() should clear ReplicationConfig if they do not want its replication rules. (*base.B2).CreateBucket takes the replication configuration as a new parameter; pass nil to keep the previous behavior.
  • Breaking: (*b2.Object).NewReader, NewRangeReader, and Attrs gained variadic keys ...*SSECKey parameters. Existing calls are unchanged, but uses as function values with their old method signatures no longer compile.
  • Breaking: Writer.Close now waits for in-flight part uploads and, with WithCancelOnError, for b2_cancel_large_file and errf to finish. An errf that calls Close or waits on the goroutine calling Close deadlocks. Bound the cancellation RPC's wait with a deadline on the context returned by ctxf; errf must return promptly, as that deadline does not bound the callback.
  • Breaking: (*base.B2).CreateKey, CreateKeyMultiBucket, and (*base.Bucket).GetDownloadAuthorization now reject negative lifetimes, positive lifetimes below one second, and lifetimes of 1000 days or more with base.ErrInvalidDuration. This also applies to b2.Lifetime, b2.Deadline, Bucket.AuthToken, and Object.AuthURL. Pass a lifetime of at least one second (longer fractional values truncate to whole seconds) and below 1000 days for keys, or zero for a non-expiring key; download authorization requires 1 to 604800 seconds.
  • Breaking: Ranged DownloadFile* calls now return the new base.ErrInvalidRangeResponse for HTTP 200 at a nonzero offset, an overlong HTTP 200 or 206 response, a chunked response without Content-Length, or a missing or invalid Content-Range on HTTP 206. Callers should handle this error and ensure their server or transport honors Range requests (#179).
  • Breaking: (*b2.Client).CreateKey rejects explicitly empty b2.BucketIDs scopes or any empty ID with b2.ErrInvalidBucketIDs; (*b2.Bucket).CreateKey rejects this client-only option even when empty, with b2.ErrBucketIDsOnBucket. Omit BucketIDs for an intentional account-wide key, or provide non-empty IDs through Client.CreateKey for a scoped key.
  • Breaking: b2.CopyToBucket(nil) now makes Bucket.Copy return an error before sending any request instead of silently copying into the receiver bucket. Pass a valid destination bucket, or omit CopyToBucket to copy into the receiver bucket.
  • Breaking: (*b2.Client).NewBucket validates replication settings before creating a bucket, and (*b2.Bucket).Update omits settings when BucketAttrs.ReplicationConfig is nil. Both reject empty configurations; partial replication updates also reject unreadable existing settings. Use nil to leave replication unchanged, including unreadable settings; supply valid role data with normal bucket-update and writeBucketReplications permissions, plus readBucketReplications when preserving an unspecified role, or supply both roles for an explicit complete replacement. Nil/empty destination maps retain their existing wire encoding for B2 to validate and are not supported clearing operations. Direct base callers now receive consistent replication unreadability markers from creation and updates, and nil configurations when both response roles are null.
  • Breaking: The default b2/sync.Sync comparison and CompareModTime now use modification times alone at millisecond resolution; use WithCompare(CompareSize) or WithCompare(CompareSHA1) to detect size/content changes with unchanged times. Sync supports Linux, macOS and Windows, rejects unsafe file replacements there, and returns an error wrapping errors.ErrUnsupported with GOOS/GOARCH on all other targets before walking or sending requests; those targets remain buildable.
  • Breaking: Object.NewRangeReader with length 0 returns no bytes instead of reading the rest of the object. Pass a negative length to read the remainder.

... (truncated)

Commits
  • 61995fe Version 0.10.1 (#424)
  • 9d1581e test(integration): apply B2_ENDPOINT on all integration and lock clients (#297)
  • da61d89 test(sdkharness): add download.range_validation resilience scenario (#406)
  • 6e75c80 fix(sdkharness): correct contract test counts after parallel merges (#408)
  • 5c657e8 test(sdkharness): add notification.verify conformance scenario (#405)
  • 1ebe7e2 test(sdkharness): add large.compose conformance scenario (#404)
  • 3f5cf77 test(sdkharness): cover FileLock argument validation (#403)
  • 0480eb0 test(sdkharness): verify download-by-ID guarantees (#402)
  • 9c3e65e test(sdkharness): add files.copy conformance (#401)
  • b14effc test(sdkharness): verify WithAccountInfo session reuse (#391)
  • Additional commits viewable in compare view

Updates github.com/clerk/clerk-sdk-go/v2 from 2.8.0 to 2.10.0

Release notes

Sourced from github.com/clerk/clerk-sdk-go/v2's releases.

v2.10.0

What's Changed

Full Changelog: clerk/clerk-sdk-go@v2.9.0...v2.10.0

v2.9.0

Note: After #632, a custom Backend that doesn't implement clerk.CacheScoper skips the JWK cache, so it fetches JWKS more often until it implements the interface.

What's Changed

Full Changelog: clerk/clerk-sdk-go@v2.8.0...v2.9.0

Changelog

Sourced from github.com/clerk/clerk-sdk-go/v2's changelog.

2.10.0

  • Add support for reading GET /v1/users page by page with cursors using user.Search. It supports metadata filters and can report how many users remain through SearchParams.RemainingCount.
  • Add user.ListWithoutCount, which returns a page of users without the extra request to count them that user.List makes. Use it when you don't need TotalCount: counting can be slow for a search over many users, and user.List fails when the count does.

2.9.0

  • Fix the http middleware's JWK cache extending an entry's expiry on every cache hit. Entries now expire one hour after they're fetched.
  • Scope the http middleware's JWK cache to the Clerk instance a key was fetched for, so a process that serves several instances keeps their keys separate. A custom Backend that doesn't implement the new clerk.CacheScoper interface skips the cache. Add clerktest.ConvertToJWKS.
  • Add support for changing when a session expires with session.Update. The new ExpireAt applies to that session only and can exceed the instance's session lifetime.
  • Add support for merging two users with user.Merge, which moves the FromUserID user's identifications, second factors, organization memberships and metadata onto another user and deletes the FromUserID user. It returns a clerk.UserMergeResult holding the remaining user and the deleted one. Set DryRun to preview a merge.
Commits
  • ade3e46 chore: Release v2.10.0 (#646)
  • eb4eb5d feat(user): Add user.Search to page GET /v1/users by cursor (#643)
  • ad26a12 chore: Release v2.9.0 (#638)
  • 1bd6d61 feat(session,user): add session.Update and user.Merge (#634)
  • 230135b fix(http): Scope JWK cache entries per Clerk instance (#632)
  • 0bf5e39 fix(http): Don't extend the JWK cache expiry on cache hits (#631)
  • See full diff in compare view

Updates modernc.org/sqlite from 1.62.0 to 1.63.0

Release notes

Sourced from modernc.org/sqlite's releases.

v1.63.0

Signed provenance for this release: the two files below. VERIFYING.md in the repository says how to check them.

Changelog

Sourced from modernc.org/sqlite's changelog.

Changelog

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.

  • 2026-11-23 v1.64.0:

    • Add vfs/xts: a VFS that keeps a database, its rollback journal and its temporary files encrypted on the storage, AES-256-XTS on the standard library, on top of SQLite's own VFS or any registered one. Opt-in: nothing changes for a database that is not opened through it. It has no write-ahead log yet and does not detect a changed file; the package documentation says what is promised and what is refused. Updates [GitLab issue #138](https://gitlab.com/cznic/sqlite/-/issues/138). See [GitLab merge request #152](https://gitlab.com/cznic/sqlite/-/merge_requests/152), thanks Ian Chechin!
    • Add vfs.LockOpener and vfs.Locker: a VFS made for vfs.Register can lock its databases against other processes and against other registrations of the same storage. Opt-in: a VFS that does not implement LockOpener works as before, and its databases are still safe inside one registration only. The documentation of Locker says what such a lock must guarantee. See [GitLab merge request #151](https://gitlab.com/cznic/sqlite/-/merge_requests/151), thanks Ian Chechin!
  • 2026-11-22 v1.63.0:

    • Connections are now opened with SQLITE_OPEN_NOMUTEX instead of SQLITE_OPEN_FULLMUTEX, which takes a mutex lock and unlock off every column read and makes scanning rows noticeably faster. That mutex never kept two goroutines on one connection apart, so nothing else changes for code using the driver's API; code that takes a connection's SQLite handle from unexported fields and calls SQLite with it from another goroutine must now serialize those calls itself. Resolves [GitHub issue #13](modernc-org/sqlite#13), thanks guille-work!
    • A zero-length BLOB now reads as an empty []byte instead of nil, in rows and in the pre-update hook, so it no longer scans like NULL; read and written back, it used to fail a BLOB NOT NULL constraint or turn into NULL. Code that compares a scanned empty BLOB with nil sees the difference, and json.Marshal gives "" for it instead of null; NULL reads as before. Resolves [GitHub issue #14](modernc-org/sqlite#14). See [GitHub pull request #15](modernc-org/sqlite#15), thanks Michael Haddon (@​mhaddon)!
    • Add vfs.Register: a VFS written in Go that a database can be written through, next to the read-only vfs.New. Opt-in: a database goes through such a VFS only when the application registers one and names it in the DSN. The write-ahead log needs locking_mode=EXCLUSIVE for now; the documentation of Register says what the package does for the VFS and what it leaves out. Resolves [GitLab issue #109](https://gitlab.com/cznic/sqlite/-/issues/109). See [GitLab merge request #148](https://gitlab.com/cznic/sqlite/-/merge_requests/148), thanks Ian Chechin!
    • Fix how a VFS of modernc.org/sqlite/vfs copies a database name of 4097 bytes or more: it went into SQLite's path buffer without its terminator, and SQLite then measured it past the bytes written. Opening such a name failed with SQLITE_CANTOPEN and still does; nothing is copied now. See [GitLab merge request #148](https://gitlab.com/cznic/sqlite/-/merge_requests/148), thanks Ian Chechin!
    • Fix 'now' on a connection through a VFS made by vfs.New: its clock moved in steps of one second, so strftime('%f','now') and unixepoch('now','subsec') were the same for a whole second. It has milliseconds now, as on SQLite's own VFS. Found in the review of [GitLab merge request #148](https://gitlab.com/cznic/sqlite/-/merge_requests/148).
    • Fix a crash in the pre-update hook on a row SQLite cannot read. Old and New ignored SQLite's error and used the value anyway, a nil pointer dereference for a row of a damaged database file; they now return SQLite's error. A TEXT value with a NUL now reaches the hook whole. See [GitLab merge request #149](https://gitlab.com/cznic/sqlite/-/merge_requests/149), thanks Ian Chechin!
    • A TEXT argument with a NUL now reaches Go functions and virtual tables whole. It used to end at its first NUL unless VolatileArgs was set, so a virtual table that applies a constraint itself could answer with the rows of the shorter value. Code that relied on the cut gets the longer string. See [GitLab merge request #150](https://gitlab.com/cznic/sqlite/-/merge_requests/150), thanks Ian Chechin!
    • vfs.New no longer fails a database with a -journal file next to it as out of memory. It refused to open any journal, so every read failed with SQLITE_NOMEM, even with the journal journal_mode=PERSIST or TRUNCATE leaves behind, which SQLite ignores. Such a database now reads; one with a hot journal, which SQLite would have to roll back first, fails with SQLITE_READONLY_ROLLBACK, as it does opened with mode=ro.
  • 2026-11-07 v1.62.0:

    • Add illumos/amd64, tested on an OmniOS builder. Resolves [GitLab issue #210](https://gitlab.com/cznic/sqlite/-/issues/210), thanks Jasper Siepkes (@​siepkes), who also started the modernc.org/libc port!
    • Re-vendor lib/ from modernc.org/libsqlite3 v1.16.0 and vec/ from modernc.org/libsqlite_vec v0.8.0; SQLite stays 3.54.1 and sqlite-vec v0.1.9. The pinned modernc.org/libc becomes v1.80.1; as always, downstream go.mod files must pin the same modernc.org/libc version this repository's go.mod does, see [GitLab issue #177](https://gitlab.com/cznic/sqlite/-/issues/177).
    • Add opt-in syncing with fdatasync(2), off by default: Fdatasync(true) makes commits sync with fdatasync instead of fsync, process-wide, which skips the timestamp update fsync forces and keeps a commit just as durable. FdatasyncEnabled reports the setting; on macOS and Windows Fdatasync returns ErrFdatasyncUnavailable. Resolves [GitHub issue #10](modernc-org/sqlite#10), thanks aibeshkov!
    • Limit now works on a connection handed out by a driver.Connector that wraps the ones NewConnector opens, provided the wrapper has an Unwrap() driver.Conn method; it used to fail with unexpected driverConn type. NewConnector now also says which optional interfaces such a wrapper must forward. Resolves [GitHub issue #11](modernc-org/sqlite#11), thanks Andres Morey (@​amorey)!
  • 2026-10-31 v1.61.1:

    • Prepared statements are no longer parsed and planned again on every execution. Since v1.61.0, SQLite 3.54 expired a cached statement that has a col = ? term in a join or an ORDER BY query whenever the driver cleared its bindings after a run, so a statement prepared with db.Prepare or tx.Prepare 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 #264](https://gitlab.com/cznic/sqlite/-/issues/264). See [GitLab merge request #147](https://gitlab.com/cznic/sqlite/-/merge_requests/147), thanks Roman Khafizianov (@​requilence)!
    • Fix a panic reachable from SQL through a VFS made by vfs.New. It reported its files as writable, so with PRAGMA journal_mode=OFF a write reached a write method the VFS does not have and the process panicked, as did closing a WAL database shipped with its -wal file; with the journal on, the write failed with a misleading SQLITE_NOMEM. Such files are now read-only to SQLite, and every write fails with SQLITE_READONLY. See [GitLab merge request #145](https://gitlab.com/cznic/sqlite/-/merge_requests/145), thanks Ian Chechin!
    • Fix a process abort reachable through a VFS made by vfs.New. SQLite's request to delete a journal, made when PRAGMA journal_mode leaves PERSIST or TRUNCATE and on the first read of a 0-byte database that has a -journal file next to it in the served file system, reached the transpiled xDelete, an unimplemented stub that aborted the process. It now fails with SQLITE_IOERR_DELETE, which SQLite tolerates, and nothing is deleted; the write methods the VFS lacked answer SQLITE_READONLY instead of being nil.
    • Tx.Commit now stops waiting for a lock once the context given to BeginTx is done, and Rows.Next and Rows.Close once the query's context is done, each returning the context's error; they used to wait the full busy_timeout when a reader's lock in rollback-journal mode blocked the COMMIT, or the commit of an autocommit INSERT ... RETURNING finished or closed after its first row. Only the wait watches the context; Rollback is unchanged. Resolves [GitLab issue #263](https://gitlab.com/cznic/sqlite/-/issues/263), thanks SirLouen!
    • The attest CI job now copies vendor.json into the provenance document from the tagged commit, not from the working tree make vendor-check 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 VERIFYING.md. Tooling only.
    • Add THREAT-MODEL.md, the threat model behind the scope in SECURITY.md: 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. TestVFSReadEOF now also checks the short read on vfsRead itself. Documentation and tests only. See [GitLab merge request #146](https://gitlab.com/cznic/sqlite/-/merge_requests/146), thanks Ian Chechin!
  • 2026-10-21 v1.61.0:

  • 2026-09-29 v1.60.1:

    • Binding arguments to a statement is no longer quadratic in the number of its parameters, which made multi-row INSERTs with thousands of ? parameters slow. Resolves [GitHub issue #8](modernc-org/sqlite#8), thanks wencycool!
  • 2026-09-28 v1.60.0:

    • A fault while reading the memory-mapped -shm file of a WAL database no longer crashes the process. The statement fails with a disk I/O error, extended code SQLITE_IOERR_IN_PAGE (8714), and the connection stays usable, as in MSVC builds of SQLite. On by default on every platform and not switchable; lib.SehInject and lib.SehPending inject such a fault for tests. Resolves [GitLab issue #221](https://gitlab.com/cznic/sqlite/-/issues/221), thanks Roman (@​requilence) for the report, and supersedes libsqlite3!4 and [GitHub pull request #7](modernc-org/sqlite#7), thanks hazyhaar for the two rounds, the ccgo finding and the Windows Server runs!
    • Re-vendor lib/ from modernc.org/libsqlite3 v1.15.0 and vec/ from modernc.org/libsqlite_vec v0.6.0; SQLite stays 3.53.4 and sqlite-vec v0.1.9. Go 1.26 is now required, and the pinned modernc.org/libc becomes v1.77.1; as always, downstream go.mod files must pin the same modernc.org/libc version this repository's go.mod does, see [GitLab issue #177](https://gitlab.com/cznic/sqlite/-/issues/177).
    • Nine exported lib constants that never had a meaningful value are gone: INFINITY, MB_CUR_MAX, NAN, RESERVED_BYTE, SHARED_FIRST, SQLITE_CANTOPEN_BKPT, SQLITE_CORRUPT_BKPT, SQLITE_DEFAULT_LOOKASIDE and SQLITE_MISUSE_BKPT. The transpiler now evaluates object-like macros as C expressions, so other constants take their C value (lib.WALINDEX_PGSZ is 32768, not 0) and some appear; the full list is in libsqlite3's CHANGELOG under 2026-09-19.

... (truncated)

Commits
  • 65d5998 CHANGELOG.md: v1.63.0
  • 4e6e56d vfs: let New open a journal next to the database read-only
  • e67f0a6 Merge branch 'function-text-length' into 'master'
  • bc4e9ce Merge branch 'preupdate-value-rc' into 'master'
  • 15f0601 sqlite.go, vtab/vtab.go, textnul_test.go: give functions and virtual tables a...
  • aa3c88d pre_update_hook.go, pre_update_hook_test.go: give the hook a TEXT value whole...
  • cc3bd2d pre_update_hook.go, pre_update_hook_test.go: return SQLite's error when the h...
  • 958c979 Merge branch 'vfs-write' into 'master'
  • 10767d8 CHANGELOG.md: a zero-length BLOB reads as an empty []byte (GitHub PR #15)
  • 90ed2d4 Merge GitHub pull request #15 'master'
  • Additional commits viewable in compare view

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 <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

… updates

Bumps the go-dependencies group with 3 updates in the / directory: [github.com/Backblaze/blazer](https://github.com/Backblaze/blazer), [github.com/clerk/clerk-sdk-go/v2](https://github.com/clerk/clerk-sdk-go) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `github.com/Backblaze/blazer` from 0.9.0 to 0.10.1
- [Release notes](https://github.com/Backblaze/blazer/releases)
- [Changelog](https://github.com/Backblaze/blazer/blob/main/CHANGELOG.md)
- [Commits](Backblaze/blazer@v0.9.0...v0.10.1)

Updates `github.com/clerk/clerk-sdk-go/v2` from 2.8.0 to 2.10.0
- [Release notes](https://github.com/clerk/clerk-sdk-go/releases)
- [Changelog](https://github.com/clerk/clerk-sdk-go/blob/v2/CHANGELOG.md)
- [Commits](clerk/clerk-sdk-go@v2.8.0...v2.10.0)

Updates `modernc.org/sqlite` from 1.62.0 to 1.63.0
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.62.0...v1.63.0)

---
updated-dependencies:
- dependency-name: github.com/Backblaze/blazer
  dependency-version: 0.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/clerk/clerk-sdk-go/v2
  dependency-version: 2.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: modernc.org/sqlite
  dependency-version: 1.63.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants