forked from leancloud/python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog
257 lines (214 loc) · 6.65 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
## [2.0.0] - 2017-08-05
### Added
- leancloud.User.session_token property
### Fixed
- invalid timezone on leancloud.Object#created_at and leancloud.Object#updated_at
- leancloud.Query#get using get ACL permission, not find
### Removed
- leancloud.Engine#current_user (use leancloud.Engine#current.user instead)
- type_ param in leancloud.File constructor (use mime_type instead)
- type_ param in leancloud.File.create_with_url (use mime_type instead)
- leancloud.Object#fetch_when_save property (use fetch_when_save param in leancloud.Object#save function instead)
- leancloud.Object#attribute property
- leancloud.Relation#query not is a property, not a function
- leancloud.Query#does_not_exists (use leancloud.Query#does_not_exist instead)
- leancloud.Query#matched_key_in_query (use leancloud.Query#matches_key_in_query instead)
## [1.13.0] - 2017-08-04
### Added
- leancloud.Engine#wrap
- leancloud.Engine#register
- support leanengine hook key
- add fetch_user param in leancloud.Engine constructor
- support setting expires and max_age in CookieSessionMiddleware
## [1.12.0] - 2017-06-05
### Added
- Captcha related API
- Conversation related API
- support SNI in earlier python versions
## [1.11.0] - 2017-04-14
### Added
- LeanCloud API app router v2
## [1.10.0] - 2017-02-22
### Added
- leancloud.Query#size_equal_to
- leancloud.Query#scan
- allow query leancloud.File
### Fixed
- cookie session middleware typo
## [1.9.0] - 2016-12-13
### Added
- leancloud.Object#save now accept fetch_when_save as keyword parameter
- support request hooks
### Fixed
- bugfixes on CookieSessionMiddleware
## [1.8.0] - 2016-11-15
### Added
- leancloud.User#refresh_session_token()
- leancloud.User#is_authenticated()
- keep alive on LeanCloud API Server HTTP connections
## [1.7.0] - 2016-10-31
### Fixed
- leancloud.Notification now support fetch()
- allow return a nested structure of leancloud.Object in rpc call
### Added
- define cloud function with alternate function name
- support dev mode in leancloud.push.send
- leancloud.Engine#current request local variable
- session token WSGI middleware
## [1.6.5] - 2016-09-27
### Fixed
- LeanEngine on_login / on_verified bugfix
## [1.6.4] - 2016-09-26
### Fixed
- LeanEngine CORS middleware error in Python3
- missing objectId while using Object._deep_save to update an object
- allow Object.get method get objectId / createAt/ updatedAt field
### Updated
- leancloud.User#get_roles()
- rename leancloud.Engine#on_bigquery to leancloud.Engine#on_insight
## [1.6.3] - 2016-08-03
### Fixed
- deprecate leancloud.Query.does_not_exists and add leancloud.Query.does_not_exist
### Updated
- updated pyi stub files
## [1.6.2] - 2016-07-21
### Fixed
- invalid push_time format in leancloud.push.send function
### Updated
- add leancloud.Object.as_class static function
## [1.6.1] - 2016-07-08
### Added
- leancloud.User.reset_password_by_sms_code
- add default value for leancloud.Object.get
### Updated
- refactor file upload process
- clean up leancloud.Object fields (reduce memory size)
- add type interface for python3.5's type announce
- raise ValueError while pass a None value to leancloud.Query.near
## [1.6.0] - 2016-05-23
### Updated
- support python 3.5
## [1.5.1] - 2016-05-19
### Fixed
- fixed before update hook not word correctly
## [1.5.0] - 2016-05-16
### Added
- leancloud.cloudfunc.rpc
- use api host from app router
- support cos file upload
## [1.4.2] - 2016-04-26
### Fixed
- User.set_password now set the password to field `password`
### Updated
- Relation.query now is a property (not a function)
- allow `X-LC-UA` CORS header
- upload files to AWS S3 when region is US
## [1.4.1] -2016-02-24
### Added
- add leancloud.Object.disable_before_hook and leancloud.Object.disable_after_hook
- allow where param in Object.save
### Updated:
- fixed query with leancloud.Engine.current_user as param bug
## [1.4.0] - 2016-02-02
### Added
- add leancloud.File.fetch function
- add leancloud.engine.before_update hook
- add leancloud.Object.save_all and leancloud.Object.destroy_all function
- add leancloud.Object.fetch_when_save flag
- ### Updated
- bugfix for leancloud.User._session_token is set to None when modify User object
- bugfix for query leancloud.Role object
## [1.3.12] - 2015-12-30
### Updated
- fixed engine hook current user's bug
- access to leancloud.Object.attributes will raise a warning
## [1.3.11] - 2015-12-17
### Updated
- use API base URL from env
## [1.3.10] - 2015-11-30
### Added
- support min_distance param in GEO query
### Updated
- bugfix for User.request_mobile_phone_verify and User.request_password_reset_by_sms_code
## [1.3.9] - 2015-11-17
### Updated
- bugfix for leanengine on login hook
## [1.3.8] - 2015-11-13
### Updated
- allow use 'name' as parameter in leancloud.engine.cloudfunc
- update leancloud.File name generator
- bugfix for leancloud.Query.add_ascending and leancloud.Query.add_descending
## [1.3.7] - 2015-10-23
### Updated
- revert last version's leancloud.File name generator modify
## [1.3.6] - 2015-10-21
### Updated
- bugfix on leancloud.Relation operations
- bugfix on leancloud.File name generator
- now leancloud.User.login set the user to current user
- handle the engine.current_user as normal leancloud.User
- bugfix on leancloud.User.logout
### Added
- leancloud.use_master_key
## [1.3.5] - 2015-09-22
### Updated
- cache werkzeug's request object in environ
## [1.3.4] - 2015-09-18
### Updated
- fixed LeanEngine authorize bug
## [1.3.3] - 2015-09-18
### Updated
- allow init Role withoud acl
- support JS-SDK's body params
## [1.3.2] - 2015-09-17
### Updated
- support short headers
## [1.3.1] - 2015-09-02
### Added
- more function in leancloud.User
### Updated
- bugfix for push query
## [1.3.0] - 2015-08-24
### Added
- add third party login support
- fix leanengine.client.use_region bug
## [1.2.7] - 2015-08-20
### Updated
- fixed cloud hook bug
## [1.2.6] - 2015-08-18
### Updated
- bugfix for inherit leancloud.User class
## [1.2.5] - 2015-08-07
### Updated
- bugfix for FriendshipQuery
- bugfix for use masterkey
## [1.2.4] - 2015-08-04
### Updated
- bugfix for Query#matched_key_in_query
## [1.2.3] - 2015-07-28
### Updated
- bugfix for ACL#get_role_write_access
- bugfix for ACL#_get_access
- more unit test
## [1.2.2] - 2015-07-17
### Updated
- bugfix for save file to qiniu
## [1.2.1] - 2015-07-15
### Updated
- fixed Object._merge_magic_field bug
- add CORS support in cloud func
## [1.2.0] - 2015-07-14
### Updated
- add User#become method
## [1.1.1] - 2015-07-14
### Updated
- upload files to qiniu server directly
- use request sigh instead of app key
### Fixed
- fix Role class don't have underscore bug
## [1.1.0] - 2015-06-12
### Added
- LeanEngine: support bigquery hook
## [1.0.8] - 2015-04-23
### Added
- Python 2.6 support