Releases: zombiezen/go-sqlite
Releases · zombiezen/go-sqlite
0.7.2
0.7.1
0.7.0
Added
sqlitemigration.Schema
has a new option for disabling foreign keys for individual migrations. This makes it easier to perform migrations that require reconstructing a table. (#20)
Changed
sqlitemigration.Migrate
and*sqlitemigration.Pool
no longer use a transaction to apply the entire set of migrations: they now only use transactions during each individual migration. This was never documented, so in theory no one should be depending on this behavior. However, this does mean that two processes trying to open and migrate a database concurrently may race to apply migrations, whereas before only one process would acquire the write lock and migrate.
Fixed
- Fixed compile breakage on 32-bit architectures. Thanks to Jan Mercl for the report.
0.6.2
0.6.1
0.6.0
Added
- Added back the session API:
Session
,ChangesetIterator
,Changegroup
, and various functions. There are some slight naming changes from thecrawshaw.io/sqlite
API, but they can all be migrated automatically with the migration tool. (#16)
Changed
- Method calls to a
nil
*sqlite.Conn
will return an error rather than panic. (#17)
Removed
- Removed
OpenFlags
that are only used for VFS.
Fixed
- Properly clean up WAL when using
sqlitex.Pool
(#14) - Disabled double-quoted string literals.