Releases: leancloud/python-sdk
Releases · leancloud/python-sdk
v3.0.2
v3.0.1
What's Changed
- fix connection reset error by @cshuaimin in #554
- chore: prepare release by @juvenn in #558
Full Changelog: v3.0.0...v3.0.1
Release 3.0.0
- Require phone_number when verify sms
- Drop support for python 2.7 and 3.5
2.9.12
2.9.11
Update Domains
- Updated API domains for apps in the China North region.
Time Files
- LCFile exposes the
key
attribute for non-external files. - Fix the bug that created_at and updated_at were missing on LCFile.
- Fix the bug that updated_at was missing on new created LCObject.
LCFile Decode Bug Fix
This release fixes a bug that url was missing in included LCFile attribute.
Bug Fixes
onAuthData
Python SDK now supports onAuthData
hook.
Example:
@engine.on_auth_data
def on_auth_data(auth_data):
if auth_data["foo"]["openid"] == "openid":
auth_data["foo"]["uid"] = "openid"
return auth_data