From 14ef88e1aecce1b767ef7a3824e90c009899e1f7 Mon Sep 17 00:00:00 2001 From: Mathias Loesch Date: Sun, 17 May 2020 09:22:33 +0200 Subject: [PATCH] Release 0.7.0 --- .gitignore | 1 + CHANGES.rst | 14 ++++++++++++-- docs/conf.py | 2 +- setup.py | 2 +- sickle/__init__.py | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ff096db..4449576 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ coverage.xml .coverage* .idea .eggs/ +.DS_Store diff --git a/CHANGES.rst b/CHANGES.rst index d13a73f..25ddd07 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,18 @@ Changelog ========= +Version 0.7.0 +------------- + +May 17, 2020 + +- method for record metadata extraction has been extracted (``Record.get_metadata()``) to make subclassing easier + (https://github.com/mloesch/sickle/pull/38) +- retryable HTTP status codes and default wait time between retries can be customized (https://github.com/mloesch/sickle/issues/21 https://github.com/mloesch/sickle/pull/41) +- retry logic has been fixed: ``max_retries`` parameter now refers to no. of retries, not counting the initial request anymore +- the default number of HTTP retries has been set to 0 (= no retries) +- fix for https://github.com/mloesch/sickle/pull/39 + Version 0.6.5 ------------- @@ -9,7 +21,6 @@ January 12, 2020 - fix: repr methods where causing an exception on Python 3 (https://github.com/mloesch/sickle/issues/30) - Version 0.6.4 ------------- @@ -18,7 +29,6 @@ October 2, 2018 - fix: resumption token with empty body indicates last response (https://github.com/mloesch/sickle/issues/25) - Version 0.6.3 ------------- diff --git a/docs/conf.py b/docs/conf.py index 21f6fbe..afa08f2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,7 +51,7 @@ # built documents. # # The short X.Y version. -version = '0.6.5' +version = '0.7.0' # The full version, including alpha/beta/rc tags. release = version diff --git a/setup.py b/setup.py index 1659692..74bedb6 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='Sickle', - version='0.6.5', + version='0.7.0', url='http://github.com/mloesch/sickle', license='BSD', author='Mathias Loesch', diff --git a/sickle/__init__.py b/sickle/__init__.py index d6469d7..fb5519b 100644 --- a/sickle/__init__.py +++ b/sickle/__init__.py @@ -8,7 +8,7 @@ :copyright: Copyright 2015 Mathias Loesch """ -__version__ = '0.6.5' +__version__ = '0.7.0' from sickle.response import OAIResponse from .app import Sickle