Started a changelog, releasing 0.6

This commit is contained in:
Simon Willison 2018-08-12 17:46:22 -07:00
commit 594b25ef9f
4 changed files with 32 additions and 1 deletions

28
docs/changelog.rst Normal file
View file

@ -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 <python_api>` 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

View file

@ -17,5 +17,6 @@ Contents
:maxdepth: 2
python-api
changelog
Take a look at `this script <https://github.com/simonw/russian-ira-facebook-ads-datasette/blob/master/fetch_and_build_russian_ads.py>`_ for an example of this library in action.

View file

@ -1,3 +1,5 @@
.. _python_api:
============
Python API
============

View file

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