You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/upgrade-to-v3.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,6 +224,36 @@ This new version improves the Java API provided to developers. To upgrade your a
224
224
225
225
> Note: the `DeltaCollectionPage` also offers a `getNextPage` method which simplifies iterating through results and removes the need for consumers to directly handle the next link themselves.
226
226
227
+
### ChunkedUploadProvider renamed to LargeFileUploadTask
228
+
229
+
The chunked upload provider has been renamed to larg file upload task and moved from the concurrency package to the tasks package in order to align with SDK design specifications and to clarify the intend of the class. To upgrade your application do the following.
final DriveItem result = chunkedUploadProvider.upload();
247
+
```
248
+
249
+
By
250
+
251
+
```Java
252
+
final LargeFileUploadResult<DriveItem> result = largeFileUploadTask.upload();
253
+
```
254
+
255
+
> Note: The **LargeFileUploadTask** now also provides an **uploadAsync** method to perform uploads in the background.
256
+
227
257
## Upgrade guide for non-breaking improvments
228
258
229
259
This section lists out other improvements which are not considered as breaking changes. SDK users are strongly encouraged to take advantage of those new improvements to simplify their code.
0 commit comments