diff --git a/changelog b/changelog index 9622edb..7539ac0 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,10 @@ -## [3.0.0] - 2022-11-24 +## [3.0.1] - 2024-06-25 + +## Fixed + +- Enable TCP keepalive socket option to fix "Connection reset by peer" problem. https://github.com/psf/requests/issues/4664 + +## [3.0.0] - 2024-04-08 ## Change @@ -37,7 +43,7 @@ ### Fixed - created_at and updated_at were missing on LCFile. -- updated_at was missing on new created LCObject. +- updated_at was missing on new created LCObject. ## [2.9.8] - 2021-12-10 diff --git a/requirements.txt b/requirements.txt index d998f11..023768a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,9 +3,9 @@ arrow>=1.0.0,<2.0.0; python_version >= '3.6' iso8601>=0.1.14 six>=1.11.0 qiniu>=7.3.1 -requests>=2.25.1 -requests-toolbelt>=1.0.0 -urllib3<2 +requests<=2.31.0 +urllib3<=1.26.18 +requests-toolbelt==1.0.0 Werkzeug>=0.16.0,<2.0.0 secure-cookie>=0.1.0,<1.0.0 gevent>=22.10.2,<23.0.0 diff --git a/setup.py b/setup.py index d5c8288..129a9e4 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( name='leancloud', - version='3.0.0', + version='3.0.1', description='LeanCloud Python SDK', url='https://leancloud.cn/', author='asaka',