Skip to content

Commit 091c63c

Browse files
committed
Release 3.34
Refs #561, #563, #564, #565, #567, #568, #569, #570, #571
1 parent 249d7de commit 091c63c

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

docs/changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@
44
Changelog
55
===========
66

7+
.. _v3_34:
8+
9+
3.34 (2023-07-22)
10+
-----------------
11+
12+
This release introduces a new :ref:`plugin system <plugins>`, with the ability to install plugins that add commands to the ``sqlite-utils`` CLI tool. (:issue:`567`)
13+
14+
- Documentation describing :ref:`how to build a plugin <plugins_building>`.
15+
- First plugin hook: :ref:`plugins_hooks_register_commands`, for plugins to add extra commands to ``sqlite-utils``. (:issue:`569`)
16+
- ``sqlite-utils install -e path-to-directory`` option for installing editable code. This option is useful during the development of a plugin. (:issue:`570`)
17+
- ``table.create(...)`` method now accepts ``replace=True`` to drop and replace an existing table with the same name, or ``ignore=True`` to silently do nothing if a table already exists with the same name. (:issue:`568`)
18+
- ``sqlite-utils insert ... --stop-after 10`` option for stopping the insert after a specified number of records. Works for the ``upsert`` command as well. (:issue:`561`)
19+
- The ``--csv`` and ``--tsv`` modes for ``insert`` now accept a ``--empty-null`` option, which cases empty strings in the CSV file to be stored as ``null`` in the database. (:issue:`563`)
20+
- New ``db.rename_table(table_name, new_name)`` method for renaming tables. (:issue:`565`)
21+
- ``sqlite-utils rename-table my.db table_name new_name`` command for renaming tables. (:issue:`565`)
22+
- The ``table.transform(...)`` method now takes an optional ``keep_table=new_table_name`` parameter, which will cause the original table to be renamed to ``new_table_name`` rather than being dropped at the end of the transformation. (:issue:`571`)
23+
- Documentation now notes that calling ``table.transform()`` without any arguments will reformat the SQL schema stored by SQLite to be more aesthetically pleasing. (:issue:`564`)
24+
725
.. _v3_33:
826

927
3.33 (2023-06-25)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import os
44

5-
VERSION = "3.33"
5+
VERSION = "3.34"
66

77

88
def get_long_description():

0 commit comments

Comments
 (0)