Release 1.11

This commit is contained in:
Simon Willison 2019-09-02 17:58:41 -07:00
commit d5e1f8ac77
3 changed files with 16 additions and 1 deletions

View file

@ -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 <https://github.com/simonw/sqlite-utils/pull/57>`__)
- ``sqlite-utils enable-fts ... --create-triggers`` - see :ref:`Configuring full-text search using the CLI <cli_fts>`
- ``db["tablename"].enable_fts(..., create_triggers=True)`` - see :ref:`Configuring full-text search using the Python library <python_api_fts>`
- Support for introspecting triggers for a database or table - see :ref:`python_api_introspection` (`#59 <https://github.com/simonw/sqlite-utils/issues/59>`__)
.. _v1_10:
1.10 (2019-08-23)

View file

@ -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
=========================

View file

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import io
import os
VERSION = "1.10"
VERSION = "1.11"
def get_long_description():