Skip to content

Commit e1a39c8

Browse files
committed
Update api spec, readme and changelog for 3.0.2 release.
1 parent 5f47303 commit e1a39c8

File tree

5 files changed

+39
-32
lines changed

5 files changed

+39
-32
lines changed

ChangeLog.txt

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,12 @@
1-
3.0.1 (2017-03-29)
1+
3.0.2 (2017-04-11)
22
---------------------------------------------
3-
- Add OpenWith support for official partners.
4-
5-
3.0.0 (2017-03-17)
6-
---------------------------------------------
7-
- Breaking changes:
8-
- static INSTANCE is removed from OkHttp3Requestor and OkHttpRequestor
9-
- copyBatch/moveBatch now takes RelocationBatchArg instead of List<RelocationPath>
103
- Update to latest API specs:
114
- Auth namespace:
12-
- Added user_suspended to AuthError.
135
- Added TokenFromOAuth1Arg, TokenFromOAuth1Result and TokenFromOAuth1Error.
146
- Added token/from_oauth1 rote.
157
- Added AccessError and PaperAccessError.
168
- Added InvalidAccountTypeError.
179
- Files namespace:
18-
- Added PathRootError.
19-
- Added invalid_path_root to LookupError.
20-
- Added autorename to CreateFolderArg.
21-
- Added DeleteBatchArg, DeleteBatchResultEntry, DeleteResult, DeleteBatchResult, DeleteBatchError, DeleteBatchJobStatus and DeleteBatchLaunch.
22-
- Added delete_batch and delete_batch/check routes.
23-
- Added RelocationPath.
24-
- Added to allow_shared_folder and autorename to RelocationArg.
25-
- Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus, RelocationResult,RelocationBatchError and RelocationBatchLaunch.
26-
- Added copy_batch and copy_batch/check routes.
27-
- Added move_batch and move_batch/check routes.
28-
- Sharing namespace: - Changed PathOrId validation pattern.
29-
- Changed path in ShareFolderArg from type files.Path to files.WritePath.
30-
- Added contains_app_folder, contains_team_folder and invalid_path_root to ShareFolderArg.
3110
- Added UploadSessionFinishBatchLaunch and made it new return type for upload_session/finish_batch.
3211
- Added Sha256HexHash alias.
3312
- Added content_hash to FileMetadata.
@@ -51,13 +30,10 @@
5130
- Added actions, link_settings, viewer_info_policy to ShareFolderArg and removed default values from policies in ShareFolderArg.
5231
- Added viewer_info_policy, link_settings to UpdateFolderPolicyArg.
5332
- Stone Cfg namespace:
54-
- Changed validation pattern for owner in Route.
5533
- Added feature route attribute.
5634
- Added attribute api_group, is_preview.
5735
- Removed attributes alpha_group, beta_group.
5836
- Team namespace:
59-
- Added team_license_limit to MembersRecoverError.
60-
- Removed beta_group attribute from members/recover.
6137
- Added group_name_already_used and group_name_invalid to GroupUpdateError.
6238
- Added joined_on, persistent_id to MemberProfile.
6339
- Added team_member_id, external_id to UserSelectorArg.
@@ -75,6 +51,39 @@
7551
- Added members_not_in_team, users_not_found to GroupMembersAddError.
7652
- Added joined_on to TeamMemberProfile.
7753
- Added member_persistent_id, duplicate_member_persistent_id, persistent_id_disabled, new_persistent_id, persistent_id_disabled, persistent_id_used_by_other_user to MemberSelectorError.
54+
3.0.1 (2017-03-29)
55+
---------------------------------------------
56+
- Add OpenWith support for official partners.
57+
58+
3.0.0 (2017-03-17)
59+
---------------------------------------------
60+
- Breaking changes:
61+
- static INSTANCE is removed from OkHttp3Requestor and OkHttpRequestor
62+
- copyBatch/moveBatch now takes RelocationBatchArg instead of List<RelocationPath>
63+
- Update to latest API specs:
64+
- Auth namespace:
65+
- Added user_suspended to AuthError.
66+
- Files namespace:
67+
- Added PathRootError.
68+
- Added invalid_path_root to LookupError.
69+
- Added autorename to CreateFolderArg.
70+
- Added DeleteBatchArg, DeleteBatchResultEntry, DeleteResult, DeleteBatchResult, DeleteBatchError, DeleteBatchJobStatus and DeleteBatchLaunch.
71+
- Added delete_batch and delete_batch/check routes.
72+
- Added RelocationPath.
73+
- Added to allow_shared_folder and autorename to RelocationArg.
74+
- Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus, RelocationResult,RelocationBatchError and RelocationBatchLaunch.
75+
- Added copy_batch and copy_batch/check routes.
76+
- Added move_batch and move_batch/check routes.
77+
- Sharing namespace:
78+
- Changed PathOrId validation pattern.
79+
- Changed path in ShareFolderArg from type files.Path to files.WritePath.
80+
- Added contains_app_folder, contains_team_folder and invalid_path_root to ShareFolderArg.
81+
- Stone Cfg namespace:
82+
- Changed validation pattern for owner in Route.
83+
- Added feature route attribute.
84+
- Team namespace:
85+
- Added team_license_limit to MembersRecoverError.
86+
- Removed beta_group attribute from members/recover.
7887
- Fix the bug that when InputStream throws IOException, DbxUploader#uploadAndFinish() throws NetworkIOException
7988

8089
2.1.1 (2016-08-01)

ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `<
1414
<dependency>
1515
<groupId>com.dropbox.core</groupId>
1616
<artifactId>dropbox-core-sdk</artifactId>
17-
<version>3.0.1</version>
17+
<version>3.0.2</version>
1818
</dependency>
1919
```
2020

@@ -23,7 +23,7 @@ If you are using Gradle, then edit your project's "build.gradle" and add this to
2323
```groovy
2424
dependencies {
2525
// ...
26-
compile 'com.dropbox.core:dropbox-core-sdk:3.0.1'
26+
compile 'com.dropbox.core:dropbox-core-sdk:3.0.2'
2727
}
2828
```
2929

src/test/java/com/dropbox/core/v1/DbxClientV1IT.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ public void testSearch() throws Exception {
279279
addFile(p("search - a.txt"), 100);
280280
client.createFolder(p("sub"));
281281
addFile(p("sub/search - b.txt"), 200);
282-
addFile(p("search - c.txt"), 300);
283-
client.delete(p("search - c.txt"));
284282

285283
List<DbxEntry> results;
286284

@@ -411,7 +409,7 @@ public void testPhotoInfo() throws Exception {
411409
assertEquals(uploadEntry.path.toLowerCase(), orig.toLowerCase());
412410

413411
// Get metadata with photo info (keep trying until photo info is available)
414-
int maxTries = 20;
412+
int maxTries = 30;
415413
int delaySeconds = 2;
416414
DbxEntry.File origEntry;
417415
for (int tries = 0; ; tries++) {

stone

Submodule stone updated 69 files

0 commit comments

Comments
 (0)