Releasing 0.12

This commit is contained in:
Simon Willison 2019-02-22 18:22:28 -08:00
commit 1ffa40301d
4 changed files with 15 additions and 1 deletions

View file

@ -2,6 +2,16 @@
Changelog
===========
.. _v0_12:
0.12 (2019-02-22)
-----------------
- Added ``db[table].rows`` iterator - see :ref:`python_api_rows`
- Replaced ``sqlite-utils json`` and ``sqlite-utils csv`` with a new default subcommand called ``sqlite-utils query`` which defaults to JSON and takes formatting options ``--nl``, ``--csv`` and ``--no-headers`` - see :ref:`cli_query_json` and :ref:`cli_query_csv`
- New ``sqlite-utils rows data.db name-of-table`` command, see :ref:`cli_rows`
- ``sqlite-utils table`` command now takes options ``--counts`` and ``--columns`` plus the standard output format options, see :ref:`cli_tables`
.. _v0_11:
0.11 (2019-02-07)

View file

@ -86,6 +86,8 @@ You can return every row in a specified table using the ``rows`` subcommand::
This command accepts the same output options as ``query`` - so you can pass ``--nl``, ``--csv`` and ``--no-headers``.
.. _cli_tables:
Listing tables
==============

View file

@ -52,6 +52,8 @@ You can also iterate through the table objects themselves using the ``.tables``
>>> db.tables
[<Table dogs>]
.. _python_api_rows:
Listing rows
============

View file

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