Skip to content

Releases: zombiezen/go-sqlite

0.7.2

11 Sep 17:05
Compare
Choose a tag to compare

Fixed

  • Updated modernc.org/sqlite dependency to a released version instead of a prerelease

0.7.1

10 Sep 04:01
Compare
Choose a tag to compare

Added

  • Added an example to sqlitemigration.Schema

0.7.0

27 Aug 16:14
Compare
Choose a tag to compare

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

17 Aug 23:26
Compare
Choose a tag to compare

Changed

  • *sqlitex.Pool.Put now accepts nil instead of panicing. (#17)

0.6.1

17 Aug 00:47
Compare
Choose a tag to compare

Fixed

  • Fixed a potential memory corruption issue introduced in 0.6.0. Thanks to Jan Mercl for the report.

0.6.0

15 Aug 21:03
Compare
Choose a tag to compare

Added

  • Added back the session API: Session, ChangesetIterator, Changegroup, and various functions. There are some slight naming changes from the crawshaw.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.

0.5.0

22 May 20:40
Compare
Choose a tag to compare

Added

  • Added shell package with basic REPL
  • Added SetAuthorizer, Limit, and SetDefensive methods to *Conn for use in (#12)
  • Added Version and VersionNumber constants

Fixed

  • Documented compiled-in extensions (#11)
  • Internal objects are no longer susceptible to ID wraparound issues (#13)

0.4.0

14 May 04:30
Compare
Choose a tag to compare
  • Add Context.Conn method (#10)
  • Add methods to get and set auxiliary function data (#3)

0.3.1

04 May 02:04
Compare
Choose a tag to compare

Fix conversion of BLOB to TEXT when returning BLOB from a user-defined function

0.3.0

27 Apr 17:29
Compare
Choose a tag to compare
  • Implement io.StringWriter, io.ReaderFrom, and io.WriterTo on Blob (#2)
  • Add godoc examples for Blob, sqlitemigration, and SetInterrupt
  • Add more README documentation