From a99c970dc05826e4e53b70fad76bffda1f240cd4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 12 Jul 2026 20:35:36 +0000 Subject: [PATCH 1/2] Release notes and version bump for 4.1.1 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01CBrmXFL3fLjopdfJV934AV --- docs/changelog.rst | 9 +++++++++ pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 5b9355f78..cffdbe7cd 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,15 @@ Changelog =========== +.. _v4_1_1: + +4.1.1 (2026-07-12) +------------------ + +- ``table.transform()`` now raises a ``TransactionError`` if called while a transaction is open with ``PRAGMA foreign_keys`` enabled and the table is referenced by foreign keys with destructive ``ON DELETE`` actions - ``CASCADE``, ``SET NULL`` or ``SET DEFAULT``. The pragma cannot be changed inside a transaction, so previously dropping the old table as part of the transform could fire those actions and silently delete or modify referencing rows. See :ref:`python_api_transform_foreign_keys_transactions` for details and workarounds. (:issue:`794`) +- The CLI and Python API documentation now cross-reference each other: CLI sections link to the equivalent Python API functionality and Python API sections link back to the corresponding CLI command. (:issue:`791`) +- Clarified that :ref:`named parameters ` are passed to ``sqlite-utils query`` using ``-p name value``. + .. _v4_1: 4.1 (2026-07-11) diff --git a/pyproject.toml b/pyproject.toml index 971f5a0fb..003322c0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sqlite-utils" -version = "4.1" +version = "4.1.1" description = "CLI tool and Python library for manipulating SQLite databases" readme = { file = "README.md", content-type = "text/markdown" } authors = [ From f1a490dfabb420c3bfa0f2b7195752c56080141f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 12 Jul 2026 20:49:31 +0000 Subject: [PATCH 2/2] Remove named parameters bullet from 4.1.1 release notes Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01CBrmXFL3fLjopdfJV934AV --- docs/changelog.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index cffdbe7cd..a8006c3e5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -11,8 +11,6 @@ - ``table.transform()`` now raises a ``TransactionError`` if called while a transaction is open with ``PRAGMA foreign_keys`` enabled and the table is referenced by foreign keys with destructive ``ON DELETE`` actions - ``CASCADE``, ``SET NULL`` or ``SET DEFAULT``. The pragma cannot be changed inside a transaction, so previously dropping the old table as part of the transform could fire those actions and silently delete or modify referencing rows. See :ref:`python_api_transform_foreign_keys_transactions` for details and workarounds. (:issue:`794`) - The CLI and Python API documentation now cross-reference each other: CLI sections link to the equivalent Python API functionality and Python API sections link back to the corresponding CLI command. (:issue:`791`) -- Clarified that :ref:`named parameters ` are passed to ``sqlite-utils query`` using ``-p name value``. - .. _v4_1: 4.1 (2026-07-11)