diff --git a/docs/changelog.rst b/docs/changelog.rst index 7bc15b0..c061446 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,18 @@ Changelog =========== +.. _v0_13: + +0.13 (2019-02-23) +----------------- + +- New ``--table`` and ``--fmt`` options can be used to output query results in a variety of visual table formats, see :ref:`cli_query_table` +- New ``hash_id=`` argument can now be used for :ref:`python_api_hash` +- Can now derive correct column types for numpy int, uint and float values +- ``table.last_id`` has been renamed to ``table.last_rowid`` +- ``table.last_pk`` now contains the last inserted primary key, if ``pk=`` was specified +- Prettier indentation in the ``CREATE TABLE`` generated schemas + .. _v0_12: 0.12 (2019-02-22) diff --git a/docs/cli.rst b/docs/cli.rst index 7228fc3..d1aabd0 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -1,4 +1,4 @@ -.. _python_api: +.. _cli: ================================ sqlite-utils command-line tool diff --git a/docs/python-api.rst b/docs/python-api.rst index fe58903..1da1c84 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -182,6 +182,8 @@ Note that the ``pk`` and ``column_order`` parameters here are optional if you ar An ``upsert_all()`` method is also available, which behaves like ``insert_all()`` but performs upserts instead. +.. _python_api_hash: + Setting an ID based on the hash of the row contents =================================================== diff --git a/setup.py b/setup.py index ed86ab7..8bb23e4 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import io import os -VERSION = "0.12" +VERSION = "0.13" def get_long_description():