From 885a0b321d8daddc2e4e2e5cc991591df9abc44c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 7 Dec 2023 21:31:03 -0800 Subject: [PATCH] Release 3.36 Refs #344, #604, #606 --- docs/changelog.rst | 11 +++++++++++ setup.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 72b3d500..0f17cb79 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,17 @@ Changelog =========== +.. _v3_36: + +3.36 (2023-12-07) +----------------- + +- Support for creating tables in `SQLite STRICT mode `__. Thanks, `Taj Khattra `__. (:issue:`344`) + - CLI commands ``create-table``, ``insert`` and ``upsert`` all now accept a ``--strict`` option. + - Python methods that can create a table - ``table.create()`` and ``insert/upsert/insert_all/upsert_all`` all now accept an optional ``strict=True`` parameter. + - The ``transform`` command and ``table.transform()`` method preserve strict mode when transforming a table. +- The ``sqlite-utils create-table`` command now accepts ``str``, ``int`` and ``bytes`` as aliases for ``text``, ``integer`` and ``blob`` respectively. (:issue:`606`) + .. _v3_35_2: 3.35.2 (2023-11-03) diff --git a/setup.py b/setup.py index 1912f6fe..0ade8fc3 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ import io import os -VERSION = "3.35.2" +VERSION = "3.36" def get_long_description():