Skip to content

Releases: leancloud/python-sdk

v3.0.2

04 Jul 03:42
9ed38c8
Compare
Choose a tag to compare

What's Changed

  • chore: Pin requests/urllib version on Python 3.7+ by @juvenn in #559

Full Changelog: v3.0.1...v3.0.2

v3.0.1

28 Jun 05:26
6fd43b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

Release 3.0.0

08 Apr 06:38
84cac98
Compare
Choose a tag to compare
  • Require phone_number when verify sms
  • Drop support for python 2.7 and 3.5

2.9.12

24 Nov 06:32
6a359b3
Compare
Choose a tag to compare
  • upgrade gevent version to 22 to support python3.11

2.9.11

23 Jun 08:57
dcc0445
Compare
Choose a tag to compare
  • Fixed a typo in the API path used by leancloud.User#verify_mobile_phone_number.
  • Pinned MarkupSafe to 2.0.1 or earlier.

Update Domains

28 Jan 09:00
b19c3c7
Compare
Choose a tag to compare
  • Updated API domains for apps in the China North region.

Time Files

14 Dec 08:29
1a7ad7f
Compare
Choose a tag to compare
  • 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

10 Dec 11:30
a05b6e4
Compare
Choose a tag to compare

This release fixes a bug that url was missing in included LCFile attribute.

Bug Fixes

11 Oct 12:26
0f1bf69
Compare
Choose a tag to compare
  • Fix onAuthData hook.
  • Hide url attributes of LCFile when failed to upload a file.

onAuthData

15 Sep 10:04
9b46377
Compare
Choose a tag to compare

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