Skip to content

Releases: urschrei/pyzotero

v1.13.1

08 Jun 20:55

Choose a tag to compare

Send If-Match at register-upload step for existing files (#322)

_register_upload hardcoded If-None-Match: * regardless of whether the
file was new or an update, so replacing an existing attachment's
contents made the Zotero API return 412 ("If-None-Match: * set but file
exists"). _get_auth (Step 1) already branched on md5; thread that same
md5 through _upload_file to _register_upload (Step 3) and branch on it.

Per the Zotero file upload API, Step 3 must use If-Match: <previous md5>
for existing files and If-None-Match: * for new ones. Adds tests for both
cases.

v1.13.0

27 May 14:08

Choose a tag to compare

Replace deprecated py_datetime() function

Fixes #319

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.12.0

20 May 09:03

Choose a tag to compare

Make create_items() timeout configurable

Fixes #316

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.11.1

24 Apr 11:33

Choose a tag to compare

Version bump

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.11.0

18 Mar 08:42

Choose a tag to compare

prepare for Pyzotero 1.11.0 release

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.10.0

06 Feb 12:46

Choose a tag to compare

Version bump

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.9.0

03 Feb 23:58

Choose a tag to compare

Add new CLI commands: item, children, tags, subset, doiindex, fulltext

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.8.0

16 Jan 12:05

Choose a tag to compare

Version 1.8 release

Signed-off-by: Stephan Hügel <shugel@tcd.ie>

v1.7.6

02 Dec 14:30

Choose a tag to compare

Set contentType in attachment item metadata during upload

v1.7.5

10 Nov 08:06

Choose a tag to compare

Version bump