Skip to content

Commit 8c542d2

Browse files
committed
Release 3.7
Refs #237, #238, #240, #250, #257, #259, #260
1 parent 8de5595 commit 8c542d2

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

docs/changelog.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Changelog
33
===========
44

5+
.. _v3_7:
6+
7+
3.7 (2021-05-28)
8+
----------------
9+
10+
- New ``table.pks_and_rows_where()`` method returning ``(primary_key, row_dictionary)`` tuples - see :ref:`python_api_pks_and_rows_where`. (`#240 <https://github.com/simonw/sqlite-utils/issues/240>`__)
11+
- Fixed bug with `table.add_foreign_key()` against columns containing spaces. (`#238 <https://github.com/simonw/sqlite-utils/issues/238>`__)
12+
- ``table_or_view.drop(ignore=True)`` option for avoiding errors if the table or view does not exist. (`#237 <https://github.com/simonw/sqlite-utils/issues/237>`__)
13+
- ``sqlite-utils drop-view --ignore`` and ``sqlite-utils drop-table --ignore`` options. (`#237 <https://github.com/simonw/sqlite-utils/issues/237>`__)
14+
- Fixed a bug with inserts of nested JSON containing non-ascii strings - thanks, Dylan Wu. (`#257 <https://github.com/simonw/sqlite-utils/issues/257>`__)
15+
- Suggest ``--alter`` if an error occurs caused by a missing column. (`#259 <https://github.com/simonw/sqlite-utils/issues/259>`__)
16+
- Support creating indexes with columns in descending order, see :ref:`API documentation <python_api_create_index>` and :ref:`CLI documentation <cli_create_index>`. (`#260 <https://github.com/simonw/sqlite-utils/issues/260>`__)
17+
- Correctly handle CSV files that start with a UTF-8 BOM. (`#250 <https://github.com/simonw/sqlite-utils/issues/250>`__)
18+
519
.. _v3_6:
620

721
3.6 (2021-02-18)

docs/python-api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,6 +1848,8 @@ If the ``_counts`` table ever becomes out-of-sync with the actual table counts y
18481848
18491849
db.reset_counts()
18501850
1851+
.. _python_api_create_index:
1852+
18511853
Creating indexes
18521854
================
18531855

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import os
44

5-
VERSION = "3.6"
5+
VERSION = "3.7"
66

77

88
def get_long_description():

0 commit comments

Comments
 (0)