From 9d7da0606e98713896bbc9fc885a5b0cd54ac2fd Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 23 Nov 2024 14:38:40 -0800 Subject: [PATCH] Release 3.38 Refs #628, #633, #643, #644 --- docs/changelog.rst | 10 ++++++++++ setup.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index fab835ad..b4af0f9e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,16 @@ Changelog =========== +.. _v3_38: + +3.38 (2024-11-23) +----------------- + +- Plugins can now reuse the implementation of the ``sqlite-utils memory`` CLI command with the new ``return_db=True`` parameter. (:issue:`643`) +- ``table.transform()`` now recreates indexes after transforming a table. A new ``sqlite_utils.db.TransformError`` exception is raised if these indexes cannot be recreated due to conflicting changes to the table such as a column rename. Thanks, `Mat Miller `__. (:issue:`633`) +- ``table.search()`` now accepts a ``include_rank=True`` parameter, causing the resulting rows to have a ``rank`` column showing the calculated relevance score. Thanks, `liunux4odoo `__. (`#628 `__) +- Fixed an error that occurred when creating a strict table with at least one floating point column. These ``FLOAT`` columns are now correctly created as ``REAL`` as well, but only for strict tables. (:issue:`644`) + .. _v3_37: 3.37 (2024-07-18) diff --git a/setup.py b/setup.py index a5d54cb5..e8797ba8 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ import io import os -VERSION = "3.38a0" +VERSION = "3.38" def get_long_description():