5.9 KiB
5.9 KiB
zombiezen.com/go/sqlite Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.8.0 - 2021-11-07
Version 0.8 adds new transaction functions to sqlitex.
Added
- Added
sqlitex.Transaction,sqlitex.ImmediateTransaction, andsqlitex.ExclusiveTransaction.
0.7.2 - 2021-09-11
Fixed
- Updated
modernc.org/sqlitedependency to a released version instead of a prerelease
0.7.1 - 2021-09-09
Added
- Added an example to
sqlitemigration.Schema
0.7.0 - 2021-08-27
Added
sqlitemigration.Schemahas 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.Migrateand*sqlitemigration.Poolno 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 - 2021-08-17
Changed
*sqlitex.Pool.Putnow acceptsnilinstead of panicing. (#17)
0.6.1 - 2021-08-16
Fixed
- Fixed a potential memory corruption issue introduced in 0.6.0. Thanks to Jan Mercl for the report.
0.6.0 - 2021-08-15
Added
- Added back the session API:
Session,ChangesetIterator,Changegroup, and various functions. There are some slight naming changes from thecrawshaw.io/sqliteAPI, but they can all be migrated automatically with the migration tool. (#16)
Changed
- Method calls to a
nil*sqlite.Connwill return an error rather than panic. (#17)
Removed
- Removed
OpenFlagsthat are only used for VFS.
Fixed
- Properly clean up WAL when using
sqlitex.Pool(#14) - Disabled double-quoted string literals.
0.5.0 - 2021-05-22
Added
- Added
shellpackage with basic REPL - Added
SetAuthorizer,Limit, andSetDefensivemethods to*Connfor use in (#12) - Added
VersionandVersionNumberconstants
Fixed
- Documented compiled-in extensions (#11)
- Internal objects are no longer susceptible to ID wraparound issues (#13)
0.4.0 - 2021-05-13
Added
0.3.1 - 2021-05-03
Fixed
- Fix conversion of BLOB to TEXT when returning BLOB from a user-defined function
0.3.0 - 2021-04-27
Added
- Implement
io.StringWriter,io.ReaderFrom, andio.WriterToonBlob(#2) - Add godoc examples for
Blob,sqlitemigration, andSetInterrupt - Add more README documentation
0.2.2 - 2021-04-24
Changed
- Simplified license to ISC
Fixed
- Updated version of
modernc.org/sqliteto 1.10.4 to use mutex initialization - Fixed doc comment for
BindZeroBlob
0.2.1 - 2021-04-17
Fixed
- Removed bogus import comment
0.2.0 - 2021-04-03
Added
- New migration tool. See the README to get started. (#1)
Changed
*Conn.CreateFunctionhas changed entirely. See the reference for details.sqlitex.Fileandsqlitex.Bufferhave been moved to thesqlitefilepackage- The
sqlitefile.Exec*functions have been moved to thesqlitexpackage asExec*FS.
0.1.0 - 2021-03-31
Initial release