Releases: libtnb/sqlite
Releases · libtnb/sqlite
Release list
v1.2.0
This release fixes a batch of migrator and DDL-parser bugs found in a full audit of the driver (most of them shared with the upstream drivers; three fixes have been submitted upstream as go-gorm/sqlite#234/#235/#236).
- Fix nil-pointer panic in
AlterColumn/DropColumnwhen called with a table-name string - Table rebuilds (
AlterColumn/DropColumn/constraints) now preserve indexes, triggers and table options (WITHOUT ROWID,STRICT), and work on tables referenced by views - Foreign keys are disabled during
DropColumn/constraint rebuilds, with PRAGMAs pinned to a single pool connection HasColumn/HasConstraintmatch exactly instead of LIKE substring matching, eliminating false positives;DropColumnon unquoted DDL no longer fails silently- CHECK violations now translate to
gorm.ErrCheckConstraintViolated, rowid conflicts togorm.ErrDuplicatedKey - Fix
Explainstring quoting (single quotes),decimal(M,N)parsing with precision/scale, composite primary keys withautoIncrement, andGetTablesno longer listssqlite_*internal tables - Removed the unused exported
ErrConstraintsNotImplementedvariable
Changelog
- 2f38e47 fix(migrator): only skip replay errors caused by a dropped column
- 0495c7a test: close pooled connections on cleanup for Windows
- 0ab2b56 test: add migrator regression tests
- 46cd41f refactor!: remove unused ErrConstraintsNotImplemented
- a36ecff fix(sqlite): translate CHECK errors, fix Explain quoting and composite PK
- 9563ce7 fix(migrator): harden migration operations
- 38c31a2 fix(ddlmod): improve DDL parsing accuracy
- 72321b8 chore(deps): Update module gorm.io/gorm to v1.31.2 (#21)
- a9eb593 chore(deps): Update module modernc.org/sqlite to v1.53.0 (#20)
- c7f3a83 chore(deps): Update actions/checkout action to v7 (#19)
v1.1.2
v1.1.1
v1.1.0
v1.0.4
v1.0.3
- Updated modernc.org/sqlite to fix memory issues
Changelog
v1.0.1
What's Changed
- chore(deps): Update goreleaser/goreleaser-action action to v7 by @renovate[bot] in #5
- chore(deps): Update actions/upload-artifact action to v7 by @renovate[bot] in #6
- chore(deps): Update module modernc.org/sqlite to v1.46.2 by @renovate[bot] in #7
- chore(deps): Update module modernc.org/sqlite to v1.47.0 by @renovate[bot] in #8
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- chore(deps): Update actions/upload-artifact action to v6 by @renovate[bot] in #1
- chore(deps): Update module modernc.org/sqlite to v1.46.0 by @renovate[bot] in #3
- chore(deps): Update module modernc.org/sqlite to v1.46.1 by @renovate[bot] in #4
New Contributors
Full Changelog: v0.1.0...v1.0.0
v1.0.0-beta.1
v0.1.0
Changelog
- 48b6f33 fix: use wrapper driver before fix
- b0d2fb9 feat: support Chinese table column name
- ad3dc36 fix: test
- 2dbaf73 fix: test
- a8e9ac4 fix: test
- 588abf1 fix: test
- 40a331a fix: lint
- c8b9cbf fix: test
- 33c62c3 fix: test
- 94aeb1e chore: update dependencies
- 2c37b14 fix: lint
- 62631f8 fix lint
- ed2abd3 fix: parsing DDL with TAB between column name and the column type (#222)
- 8181962 fix:GetIndexes多余的Debug (#219)
- 13eb4ae fix: improve DDL parsing for CHECK/CONSTRAINT/FOREIGN KEY (#207)
- 6a02dbc Don't overwrite existing clause builders
- d6d9d77 fix: cover more constraint syntax (#198)
- a2e38e6 🐛 fix logic of parsing multiple columns (i.e. for PRIMARY KEYS, CONSTRAINT) (#193)
- 290788f Added Config for custom driver (specifically libSQL) (#185)
- 8943826 feat: init