Releases: simonw/sqlite-utils
Releases · simonw/sqlite-utils
2.5
13 Apr 03:54
Compare
Sorry, something went wrong.
No results found
Panda’s Timestamp is now stored as a SQLite TEXT column. Thanks, b0b5h4rp13! (#96 )
table.last_pk is now only available for inserts or upserts of a single record. (#98 )
New Database(filepath, recreate=True) parameter for deleting and recreating the database. (#97 )
2.4.4
23 Mar 20:34
Compare
Sorry, something went wrong.
No results found
Fixed bug where columns with only null values were not correctly created. (#95 )
2.4.3
23 Mar 20:00
Compare
Sorry, something went wrong.
No results found
Column type suggestion code is no longer confused by null values. (#94 )
2.4.2
14 Mar 20:13
Compare
Sorry, something went wrong.
No results found
table.column_dicts now works with all column types - previously it would throw errors on types other than TEXT, BLOB, INTEGER or FLOAT. (#92 )
Documentation for NotFoundError thrown by table.get(pk) - see Retrieving a specific record .
2.4.1
14 Mar 20:06
Compare
Sorry, something went wrong.
No results found
table.enable_fts() now works with columns that contain spaces. (#90 )
2.4
27 Feb 04:58
Compare
Sorry, something went wrong.
No results found
table.disable_fts() can now be used to remove FTS tables and triggers that were created using table.enable_fts(...). (#88 )
The sqlite-utils disable-fts command can be used to remove FTS tables and triggers from the command-line. (#88 )
Trying to create table columns with square braces ([ or ]) in the name now raises an error. (#86 )
Subclasses of dict, list and tuple are now detected as needing a JSON column. (#87 )
2.3.1
11 Feb 05:59
Compare
Sorry, something went wrong.
No results found
table.create_index() now works for columns that contain spaces. (#85 )
2.3
08 Feb 23:59
Compare
Sorry, something went wrong.
No results found
table.exists() is now a method, not a property. This was not a documented part of the API before so I’m considering this a non-breaking change. (#83 )
2.2.1
07 Feb 07:24
Compare
Sorry, something went wrong.
No results found
Fixed a bug where .upsert(..., hash_id="pk") threw an error (#84 ).
2.2
07 Feb 07:18
Compare
Sorry, something went wrong.
No results found
New feature: sqlite_utils.suggest_column_types([records]) returns the suggested column types for a list of records. See Suggesting column types . (#81 ).
This replaces the undocumented table.detect_column_types() method.