From d5e1f8ac77d91b9b713358e80d9542abbf5f3633 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 2 Sep 2019 17:58:41 -0700 Subject: [PATCH] Release 1.11 --- docs/changelog.rst | 11 +++++++++++ docs/python-api.rst | 4 ++++ setup.py | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 02b5e41..4d56e96 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,17 @@ Changelog =========== +.. _v1_11: + +1.11 (2019-09-02) +----------------- + +Option to create triggers to automatically keep FTS tables up-to-date with newly inserted, updated and deleted records. Thanks, Amjith Ramanujam! (`#57 `__) + +- ``sqlite-utils enable-fts ... --create-triggers`` - see :ref:`Configuring full-text search using the CLI ` +- ``db["tablename"].enable_fts(..., create_triggers=True)`` - see :ref:`Configuring full-text search using the Python library ` +- Support for introspecting triggers for a database or table - see :ref:`python_api_introspection` (`#59 `__) + .. _v1_10: 1.10 (2019-08-23) diff --git a/docs/python-api.rst b/docs/python-api.rst index 572e330..4d9ba7e 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -788,6 +788,8 @@ For example: """).fetchall() # Returns [('Felton, CA',)] +.. _python_api_introspection: + Introspection ============= @@ -879,6 +881,8 @@ The ``.triggers`` property lists database triggers. It can be used on both datab >>> db.triggers ... similar output to db["authors"].triggers +.. _python_api_fts: + Enabling full-text search ========================= diff --git a/setup.py b/setup.py index 9d0a9a6..8e216c6 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import io import os -VERSION = "1.10" +VERSION = "1.11" def get_long_description():