1.2.0
Version 1.2.0 adds a sqlitex.Pool.Take method and improves error messages.
Added
sqlitex.Poolhas a new methodTakewhich returns anerroralong with aConn(#83).sqlite.ErrorOffsetis a new function that returns the SQL byte offset that an error references.
Changed
sqlite.Conn.Prep,sqlite.Conn.Prepare, andsqlite.Conn.PrepareTransientnow include position information in error messages if available.- Many error messages around statement execution changed their format for better readability. Error messages are not stable API and should not be depended on.
Deprecated
- The
sqlitex.Pool.Getmethod has been deprecated in favor of the newTakemethod.
Fixed
- Error messages no longer duplicate information from their error code (reported in #84).