From 59a2e8ebdcbde7e6fb091b0556713ca5a20ea4e7 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 5 Jan 2020 09:23:02 -0800 Subject: [PATCH] Release 2.0.1 --- docs/changelog.rst | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index c853357..72b19fc 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,13 @@ Changelog =========== +.. _v2_0_1: + +2.0.1 (2020-01-05) +------------------ + +The ``.upsert()`` and ``.upsert_all()`` methods now raise a ``sqlite_utils.db.PrimaryKeyRequired`` exception if you call them without specifying the primary key column using ``pk=`` (`#73 `__). + .. _v2: 2.0 (2019-12-29) diff --git a/setup.py b/setup.py index 270ce31..32619ae 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import io import os -VERSION = "2.0" +VERSION = "2.0.1" def get_long_description():