From 594b25ef9f633dabdaca98b46dea9fbb82628166 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 12 Aug 2018 17:46:22 -0700 Subject: [PATCH] Started a changelog, releasing 0.6 --- docs/changelog.rst | 28 ++++++++++++++++++++++++++++ docs/index.rst | 1 + docs/python-api.rst | 2 ++ setup.py | 2 +- 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 docs/changelog.rst diff --git a/docs/changelog.rst b/docs/changelog.rst new file mode 100644 index 0000000..4ce5563 --- /dev/null +++ b/docs/changelog.rst @@ -0,0 +1,28 @@ +=========== + Changelog +=========== + +.. _v0_6: + +0.6 (2018-08-12) +---------------- + +- ``.enable_fts()`` now takes optional argument ``fts_version``, defaults to ``FTS5``. Use ``FTS4`` if the version of SQLite bundled with your Python does not support FTS5 +- New optional ``column_order=`` argument to ``.insert()`` and friends for providing a partial or full desired order of the columns when a database table is created +- :ref:`New documentation ` for ``.insert_all()`` and ``.upsert()`` and ``.upsert_all()`` + +.. _v0_5: + +0.5 (2018-08-05) +---------------- + +- ``db.tables`` and ``db.table_names`` introspection properties +- ``db.indexes`` property for introspecting indexes +- ``table.create_index(columns, index_name)`` method +- ``db.create_view(name, sql)`` method +- Table methods can now be chained, plus added ``table.last_id`` for accessing the last inserted row ID + +0.4 (2018-07-31) +---------------- + +- ``enable_fts()``, ``populate_fts()`` and ``search()`` table methods diff --git a/docs/index.rst b/docs/index.rst index d511528..6bbbb73 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,5 +17,6 @@ Contents :maxdepth: 2 python-api + changelog Take a look at `this script `_ for an example of this library in action. diff --git a/docs/python-api.rst b/docs/python-api.rst index eadc942..194a309 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -1,3 +1,5 @@ +.. _python_api: + ============ Python API ============ diff --git a/setup.py b/setup.py index 8230168..095b8e1 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import io import os -VERSION = "0.5" +VERSION = "0.6" def get_long_description():