From a8b922bcb91186c44fc163f7f6566598d962d364 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 1 Aug 2020 13:58:47 -0700 Subject: [PATCH] Release 2.14 Refs #127, #130 --- docs/changelog.rst | 9 +++++++++ setup.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 9cd608c..1239f39 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,15 @@ Changelog =========== +.. _v2_14: + +2.14 (2020-08-01) +----------------- + +- The :ref:`insert-files command ` can now read from standard input: ``cat dog.jpg | sqlite-utils insert-files dogs.db pics - --name=dog.jpg``. (`#127 `__) +- You can now specify a full-text search tokenizer using the new ``tokenize=`` parameter to :ref:`enable_fts() `. This means you can enable Porter stemming on a table by running ``db["articles"].enable_fts(["headline", "body"], tokenize="porter")``. (`#130 `__) +- You can also set a custom tokenizer using the :ref:`sqlite-utils enable-fts ` CLI command, via the new ``--tokenize`` option. + .. _v2_13: 2.13 (2020-07-29) diff --git a/setup.py b/setup.py index 1aa233e..60bc917 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import io import os -VERSION = "2.13" +VERSION = "2.14" def get_long_description():