forked from dropbox/dropbox-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.txt
265 lines (228 loc) · 11.5 KB
/
ChangeLog.txt
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
258
259
260
261
262
263
264
265
2.0.6 (2016-06-20)
---------------------------------------------
- Update to latest API specs:
- Files (DbxUserFilesRequests)
- Add file properties endpoints.
- Sharing (DbxUserSharingRequests)
- Add endpoints for sharing files and managing shared file membership.
- Change return type of removeFolderMember(..) endpoint to always be an async Job ID (LaunchEmptyResult.isAsyncJobId() will be true).
- Add checkRemoveMemberJobStatus(..) for checking asynchronous removeFolderMember(..) requests.
- Returns additional information compared to checkJobStatus(..)
- Change return type of updateFolderMember(..) to return a MemberAccessLevelResult instead of void.
- Add NO_EXPLICIT_ACCESS to UpdateFolderMemberError.
- Fix Android Fake ID exploit where app certificate chains aren't properly validated.
2.0.5 (2016-06-08)
---------------------------------------------
- Allow old locale formats for APIv2 requests.
- Fix ExceptionInInitializationError caused by CertificateParsingException when using Java 6 JREs.
- Fix CertPathValidatorException: Trust anchor for certification path not found.
- Add support for OkHttp3.
- Add support for Google App Engine with new GoogleAppEngineRequestor.
- Add support for require_role, force_reapprove, state, and disable_signup parameters in the OAuth 2 web-based authorization flow (DbxWebAuth).
- Enable certificate pinning for OkHttpRequestor and OkHttp3Requestor by default.
2.0.4 (2016-05-31)
---------------------------------------------
- Update to latest API specs:
- Files (DbxUserFilesRequests)
- Add saveUrl(..) saving online content to your Dropbox.
- Shared folders (DbxUserSharingRequests)
- Add AccessLevel.VIEWER_NO_COMMENT.
- Add GroupInfo.getIsOwner().
- Change return type of SharePathError.Tag.ALREADY_SHARED from Void to SharedFolderMetadata.
- Add leaveACopy argument to relinquishFolderMembership(..).
- Change relinquishFolderMembership(..) to return async job ID when leaving a copy.
- Add JobError.Tag.RELINQUISH_FOLDER_MEMBERSHIP_ERROR.
- Business endpoints (DbxTeamTeamRequests)
- Add MemberProfiler.getMembershipType().
- Add keepAccount argument to membersRemove(..).
- Add CANNOT_KEEP_ACCOUNT_AND_TRANSFER and CANNOT_KEEP_ACCOUNT_AND_DELETE_DATA to MembersRemoveError.
- Migrate build from maven to gradle.
- Improve code shrinking when using ProGuard.
- Response/request serialization updated to be better optimized by ProGuard.
- Properly support multidex builds.
- Response/request objects should no longer always be kept in primary dex.
- Add partial download support through range requests.
- Fix deserialization bug when handling new server responses that were previously void.
- Fix bug where user locale is ignored for APIv2 requests.
- Fix bug where filenames containing line feeds were rejected as bad requests.
---------------------------------------------
2.0.3 (2016-05-07)
- Fix Bad JSON error on ProGuard optimized APKs when deserializing error responses.
- All 2.0.x versions before 2.0.3 are affected and should be upgraded immediately.
- Only affects Android apps that enable ProGuard.
- Affected apps may crash when deserializing an error response from Dropbox servers.
---------------------------------------------
2.0.2 (2016-04-28)
- Update to latest API specs:
- Authentication
- Add token/revoke endpoint.
- Account
- Add disabled field to Account.
- Files (DbxUserFilesRequests)
- Add withIncludeDeleted(Boolean) and withIncludeHasExplicitSharedMembers(Boolean) to GetMetadataBuilder and ListFolderBuilder.
- Add close argument to uploadSessionStart(..) to explicitly close an upload session.
- Add uploadSessionAppendV2(..) that provides explicit session close support. uploadSessionAppend(..) is now deprecated.
- Add copyReferenceGet(..) and copyReferenceSave(..) for copying files and folders.
- Add getTemporaryLink(..) endpoint.
- Shared links (DbxUserSharingRequests)
- Add removeExpiration argument to modifySharedLinkSettings(..).
- Shared folders
- Add FolderAction.LEAVE_A_COPY.
- Add SharedFolderMetadata.getTimeInvited().
- Add IS_OSX_PACKAGE and INSIDE_OSX_PACKAGE to SharePathError. Returned when a user attempts to share an OS X package or folder inside an OS X package.
- Business endpoints (DbxTeamTeamRequests)
- GroupSummary.getMemberCount() is now optional and returns a Long.
- devicesListTeamDevices(..) is now deprecated by devicesListMemberDevices(..).
- linkedAppsListTeamLinkedApps(..) is now deprecated by linkedAppsListMembersLinkedApps(..).
- Add returnMembers argument to groupsMembersSetAccessType(..).
- Fix JsonDateReaderTest failures for non-English systems.
- Update ProGuard rules to fix handling of embedded trusted SSL certs resource.
- Fix tutorial example to list folder entries for folders with many files.
---------------------------------------------
2.0.1 (2016-03-09)
- Update to latest API specs:
- Update documentation.
- Add FolderPolicy.getResolvedMemberPolicy()
- Add GroupInfo.getGroupType()
- Add SharedFolderMetadataBase.getOwnerTeam()
- Add SharedFolderMetadataBase.getParentSharedFolderId()
- Add MountFolderError.NOT_MOUNTABLE
- Add UmountFolderError.NOT_UNMOUNTABLE
- Add validation for member external id and email address
- Add TeamSharingPolicies.getSharedLinkCreatePolicy()
- Add MembersSuspendError.TEAM_LICENSE_LIMIT
- Add MembersUnsuspendError.TEAM_LICENSE_LIMIT
- Fix bug when deserializing v2 data types with missing optional primitive fields.
- Fix bug where some Date objects were not being properly truncated to seconds granularity in v2
data types.
- Fix v2 timestamp parsing to support DateTime and Date formats.
- Add support for Dropbox API app endpoints.
- Update upload-file example to include chunked upload example.
- Increase default socket read timeout to 2 minutes.
- Parse Retry-After header for 503 retry exceptions in API v1.
- Add example from online tutorial.
---------------------------------------------
2.0.0 (2016-03-03)
- Remove toJson(..) and fromJson(..) methods from data types.
- Support ProGuard shrinking for Android development and provide example.
- Rename v2 request classes to support future auth styles:
- DbxFiles -> DbxUserFilesRequests
- DbxSharing -> DbxUserSharingRequests
- DbxUsers -> DbxUserUsersRequests
- DbxTeam -> DbxTeamTeamRequests
- Replace public final references in DbxClientV2 and DbxTeamClientV2 with accessor methods.
- Update longpoll example with better documentation on setting timeout values.
---------------------------------------------
2.0-beta-7 (2016-02-24)
- Updated to latest API specs.
---------------------------------------------
2.0-beta-6 (2016-02-22)
- Updated to latest API specs.
- Use getter methods instead of public final fields.
- Rename exception classes to be consistent with Java practices (e.g. end in "Exception").
- Move DbxException inner classes out into their own files.
- Expose Retry-After backoff for rate limiting exceptions.
- Add configuration setting for automatically retrying failed requests.
- Fix bug that hid certain routes containing union request arguments.
- Add new Java packages for v2 client.
- Break out v2 nested classes into their own files in the appropriate packages.
- Change format of builder methods.
- Prepend 'with' to method names
- Change format of tagged union classes.
- getTag() renamed to tag() to avoid naming conflicts
- Tags without values now referenced as public static final singletons
- Unions of value-less tags generated as enums
- Add builders for request and response classes.
- Fix deserialization bug with Union containing tags with optional values.
- Make read timeouts more easily configurable for StandardHttpRequestor.
- Add longpoll example.
- Separate integration tests from unit tests and enable unit tests by default.
- Fix android example bugs and linter warnings
- Fix compilation error
- Fix upload failure bug
- Fix download failure bug
- Update build dependencies
- Stop using deprecated interfaces
---------------------------------------------
2.0-beta-5 (2016-01-22)
- Updated to latest API specs.
- Change format of tagged union classes.
- Change getter method format from getAbc() to getAbcValue().
- Add new isAbc() convenience methods.
- Add new getTag() method for tag discrimination.
- Accept List instead of ArrayList for requests.
- Fix BadRequest exception for DbxFiles.listFolderLongpoll(String).
- Uppercase enum and static fields.
- Add support for Dropbox API team endpoints.
- Expose localized user messages and request IDs in exceptions.
---------------------------------------------
2.0-beta-4 (2015-12-10)
- Update sharing endpoints to support new paging routes.
- Fix bug that caused sharing calls to fail due to bad shared folder IDs.
---------------------------------------------
2.0-beta-3 (2015-12-01)
- Add a workaround for older Android versions' buggy SecureRandom.
- Fix android example.
---------------------------------------------
2.0-beta-2 (2015-11-13)
- Put "Dbx" prefix on namespace classes (Files -> DbxFiles, etc.)
- Updated to latest API specs.
---------------------------------------------
2.0-beta-1 (2015-10-13)
- Add support for Dropbox API v2. Moved API v1-specific classes to
'v1' sub-package.
- Add support for Android.
- Add support for using OkHttp as the HTTP client library.
---------------------------------------------
1.8.2 (2015-10-19)
- Fix bug parsing "photo_info" in file metadata.
- Add support for /account/info fields: email, email_verified,
name_details.
---------------------------------------------
1.8.1 (2015-09-21)
- Fix bug in version validation code that caused crash at startup.
---------------------------------------------
1.8 (2015-09-14)
- Include SDK version in HTTP requests (via the User-Agent header).
- Fix 'urlState' handling in DbxWebAuth. Was mistakenly include the
'|' separator.
- Add support for /delta/latest_cursor and /longpoll_delta.
- Add support for include_media_info=true on /metadata and /delta.
- Add support for using OkHttp as the underlying HTTP client.
---------------------------------------------
1.7.7 (2014-09-02)
- Fix encoding of Unicode characters in API request URL paths. Bug
affected systems where Java's "file.encoding" wasn't UTF-8.
---------------------------------------------
1.7.6 (2013-12-09)
- Stricter SSL: Hard-code the ciphersuites and trusted root
certificates (instead of using the system defaults).
- Add DbxOAuth1Upgrader, which upgrades existing OAuth 1 access tokens
to OAuth 2 access tokens.
- Add support for /delta's new "path_prefix" parameter.
---------------------------------------------
1.7.5 (2013-09-16)
- Fix crash in getRevisions.
---------------------------------------------
1.7.4 (2013-09-13)
- Fix crash in getAccountInfo, caused by new quota field "datastores".
- Fix file uploading by setting Content-Type explicitly.
---------------------------------------------
1.7.3 (2013-09-05)
- Fix copy/move for folders.
- Fix getMetadataWithChildren for when the file/folder doesn't exist.
---------------------------------------------
1.7.2 (2013-08-22)
- Get thumbnails working (they were completely broken).
---------------------------------------------
1.7.1 (2013-08-21)
- Get chunked uploads working (they were almost completely broken).
---------------------------------------------
1.7 (2013-07-31)
- Added support for most API calls.
- A few minor backwards-incompatibilities.
---------------------------------------------
1.6 (2013-07-07)
- Completely rewritten SDK, focused on web apps (no Android support).
- Many API calls not yet implemented.
- Not backwards compatible with previous versions.