Skip to content

Commit b3b100d

Browse files
committed
Release 3.31
Refs #509, #517, #520, #525, #527, #532, #534, #536, #537, #538, #539
1 parent c764a9e commit b3b100d

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

docs/changelog.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
Changelog
55
===========
66

7+
.. _v3_31:
8+
9+
3.31 (2023-05-08)
10+
-----------------
11+
12+
- Dropped support for Python 3.6. Tests now ensure compatibility with Python 3.11. (:issue:`517`)
13+
- Automatically locates the SpatiaLite extension on Apple Silicon. Thanks, Chris Amico. (`#536 <https://github.com/simonw/sqlite-utils/pull/536>`__)
14+
- New ``--raw-lines`` option for the ``sqlite-utils query`` and ``sqlite-utils memory`` commands, which outputs just the raw value of the first column of every row. (:issue:`539`)
15+
- Fixed a bug where ``table.upsert_all()`` failed if the ``not_null=`` option was passed. (:issue:`538`)
16+
- Fixed a ``ResourceWarning`` when using ``sqlite-utils insert``. (:issue:`534`)
17+
- Now shows a more detailed error message when ``sqlite-utils insert`` is called with invalid JSON. (:issue:`532`)
18+
- ``table.convert(..., skip_false=False)`` and ``sqlite-utils convert --no-skip-false`` options, for avoiding a misfeature where the :ref:`convert() <python_api_convert>` mechanism skips rows in the database with a falsey value for the specified column. Fixing this by default would be a backwards-compatible change and is under consideration for a 4.0 release in the future. (:issue:`527`)
19+
- Tables can now be created with self-referential foreign keys. Thanks, Scott Perry. (`#537 <https://github.com/simonw/sqlite-utils/pull/537>`__)
20+
- ``sqlite-utils transform`` no longer breaks if a table defines default values for columns. Thanks, Kenny Song. (:issue:`509`)
21+
- Fixed a bug where repeated calls to ``table.transform()`` did not work correctly. Thanks, Martin Carpenter. (:issue:`525`)
22+
- Improved error message if ``rows_from_file()`` is passed a non-binary-mode file-like object. (:issue:`520`)
23+
724
.. _v3_30:
825

926
3.30 (2022-10-25)

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.30"
5+
VERSION = "3.31"
66

77

88
def get_long_description():

0 commit comments

Comments
 (0)