Skip to content

Releases: simonw/sqlite-utils

3.9.1

13 Jun 03:00

Choose a tag to compare

  • Fixed bug when using table.upsert_all() to create a table with only a single column that is treated as the primary key. (#271)

3.9

12 Jun 02:08

Choose a tag to compare

3.9

3.8

03 Jun 05:17

Choose a tag to compare

3.8
  • New sqlite-utils indexes command to list indexes in a database, see Listing indexes. (#263)
  • table.xindexes introspection property returning more details about that table's indexes, see .xindexes. (#261)

3.7

29 May 05:49

Choose a tag to compare

3.7
  • New table.pks_and_rows_where() method returning (primary_key, row_dictionary) tuples - see Listing rows with their primary keys. (#240)
  • Fixed bug with table.add_foreign_key() against columns containing spaces. (#238)
  • table_or_view.drop(ignore=True) option for avoiding errors if the table or view does not exist. (#237)
  • sqlite-utils drop-view --ignore and sqlite-utils drop-table --ignore options. (#237)
  • Fixed a bug with inserts of nested JSON containing non-ascii strings - thanks, Dylan Wu. (#257)
  • Suggest --alter if an error occurs caused by a missing column. (#259)
  • Support creating indexes with columns in descending order, see API documentation and CLI documentation. (#260)
  • Correctly handle CSV files that start with a UTF-8 BOM. (#250)

3.6

19 Feb 05:19

Choose a tag to compare

3.6

This release adds the ability to execute queries joining data from more than one database file - similar to the cross database querying feature introduced in Datasette 0.55.

3.5

14 Feb 22:44

Choose a tag to compare

3.5
  • sqlite-utils insert --sniff option for detecting the delimiter and quote character used by a CSV file, see Alternative delimiters and quote characters. (#230)
  • The table.rows_where(), table.search() and table.search_sql() methods all now take optional offset= and limit= arguments. (#231)
  • New --no-headers option for sqlite-utils insert --csv to handle CSV files that are missing the header row, see CSV files without a header row. (#228)
  • Fixed bug where inserting data with extra columns in subsequent chunks would throw an error. Thanks @nieuwenhoven for the fix. (#234)
  • Fixed bug importing CSV files with columns containing more than 128KB of data. (#229)
  • Test suite now runs in CI against Ubuntu, macOS and Windows. Thanks @nieuwenhoven for the Windows test fixes. (#232)

3.4.1

06 Feb 02:11

Choose a tag to compare

  • Fixed a code import bug that slipped in to 3.4. (#226)

3.4

06 Feb 01:38

Choose a tag to compare

3.4

3.3

18 Jan 04:29

Choose a tag to compare

3.3

3.2.1

12 Jan 23:23

Choose a tag to compare

  • Fixed a bug where .add_missing_columns() failed to take case insensitive column names into account. (#221)