Releases: urschrei/pyzotero
Releases · urschrei/pyzotero
v1.13.1
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
Replace deprecated py_datetime() function Fixes #319 Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.12.0
Make create_items() timeout configurable Fixes #316 Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.11.1
Version bump Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.11.0
prepare for Pyzotero 1.11.0 release Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.10.0
Version bump Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.9.0
Add new CLI commands: item, children, tags, subset, doiindex, fulltext Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.8.0
Version 1.8 release Signed-off-by: Stephan Hügel <shugel@tcd.ie>
v1.7.6
Set contentType in attachment item metadata during upload
v1.7.5
Version bump