Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dbkit/sqlite/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ linters:
- github.com/gopherium/framework/dbkit
- github.com/pressly/goose/v3
- modernc.org/sqlite
- modernc.org/libc
- golang.org/x/sys
exclusions:
rules:
Expand Down
10 changes: 10 additions & 0 deletions dbkit/sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ Releases of this module are tagged `dbkit/sqlite/vX.Y.Z`.

### Changed

- **Breaking.** Requires `modernc.org/sqlite` v1.61.0 and `modernc.org/libc` v1.79.0, and `LibcVersion` is v1.79.0.
- **Breaking.** A `BeginTx` error after its context ends matches only the context error, no longer `dbkit.ErrBusy`, unless opening its connection answered busy.
- **Breaking.** A lock wait that starts while reading a later row of a query, or closing its rows, ends at `BusyTimeout` and not with the query's context.
- **Breaking.** A connection waiting for a lock tries again on SQLite's own schedule, up to every 100ms, so `BusyPoll` only paces opening a connection.
- Each connection waits for a lock through the driver's own busy handler, so `PRAGMA busy_timeout` reads `BusyTimeout` again.
- `sql.Conn.Raw` hands out the driver's own connection again.
- The module needs Go 1.27.3.

### Removed

- dbkit's own busy handler and its read of a private field of the driver.

## [0.2.0] - 2026-10-20

### Added
Expand Down
331 changes: 0 additions & 331 deletions dbkit/sqlite/busy.go

This file was deleted.

Loading
Loading