Skip to content

Commit

Permalink
Update api spec, readme and changelog for 3.0.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuyangzhao committed Apr 12, 2017
1 parent 5f47303 commit e1a39c8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 32 deletions.
59 changes: 34 additions & 25 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,12 @@
3.0.1 (2017-03-29)
3.0.2 (2017-04-11)
---------------------------------------------
- Add OpenWith support for official partners.

3.0.0 (2017-03-17)
---------------------------------------------
- Breaking changes:
- static INSTANCE is removed from OkHttp3Requestor and OkHttpRequestor
- copyBatch/moveBatch now takes RelocationBatchArg instead of List<RelocationPath>
- Update to latest API specs:
- Auth namespace:
- Added user_suspended to AuthError.
- Added TokenFromOAuth1Arg, TokenFromOAuth1Result and TokenFromOAuth1Error.
- Added token/from_oauth1 rote.
- Added AccessError and PaperAccessError.
- Added InvalidAccountTypeError.
- Files namespace:
- Added PathRootError.
- Added invalid_path_root to LookupError.
- Added autorename to CreateFolderArg.
- Added DeleteBatchArg, DeleteBatchResultEntry, DeleteResult, DeleteBatchResult, DeleteBatchError, DeleteBatchJobStatus and DeleteBatchLaunch.
- Added delete_batch and delete_batch/check routes.
- Added RelocationPath.
- Added to allow_shared_folder and autorename to RelocationArg.
- Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus, RelocationResult,RelocationBatchError and RelocationBatchLaunch.
- Added copy_batch and copy_batch/check routes.
- Added move_batch and move_batch/check routes.
- Sharing namespace: - Changed PathOrId validation pattern.
- Changed path in ShareFolderArg from type files.Path to files.WritePath.
- Added contains_app_folder, contains_team_folder and invalid_path_root to ShareFolderArg.
- Added UploadSessionFinishBatchLaunch and made it new return type for upload_session/finish_batch.
- Added Sha256HexHash alias.
- Added content_hash to FileMetadata.
Expand All @@ -51,13 +30,10 @@
- Added actions, link_settings, viewer_info_policy to ShareFolderArg and removed default values from policies in ShareFolderArg.
- Added viewer_info_policy, link_settings to UpdateFolderPolicyArg.
- Stone Cfg namespace:
- Changed validation pattern for owner in Route.
- Added feature route attribute.
- Added attribute api_group, is_preview.
- Removed attributes alpha_group, beta_group.
- Team namespace:
- Added team_license_limit to MembersRecoverError.
- Removed beta_group attribute from members/recover.
- Added group_name_already_used and group_name_invalid to GroupUpdateError.
- Added joined_on, persistent_id to MemberProfile.
- Added team_member_id, external_id to UserSelectorArg.
Expand All @@ -75,6 +51,39 @@
- Added members_not_in_team, users_not_found to GroupMembersAddError.
- Added joined_on to TeamMemberProfile.
- 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.
3.0.1 (2017-03-29)
---------------------------------------------
- Add OpenWith support for official partners.

3.0.0 (2017-03-17)
---------------------------------------------
- Breaking changes:
- static INSTANCE is removed from OkHttp3Requestor and OkHttpRequestor
- copyBatch/moveBatch now takes RelocationBatchArg instead of List<RelocationPath>
- Update to latest API specs:
- Auth namespace:
- Added user_suspended to AuthError.
- Files namespace:
- Added PathRootError.
- Added invalid_path_root to LookupError.
- Added autorename to CreateFolderArg.
- Added DeleteBatchArg, DeleteBatchResultEntry, DeleteResult, DeleteBatchResult, DeleteBatchError, DeleteBatchJobStatus and DeleteBatchLaunch.
- Added delete_batch and delete_batch/check routes.
- Added RelocationPath.
- Added to allow_shared_folder and autorename to RelocationArg.
- Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus, RelocationResult,RelocationBatchError and RelocationBatchLaunch.
- Added copy_batch and copy_batch/check routes.
- Added move_batch and move_batch/check routes.
- Sharing namespace:
- Changed PathOrId validation pattern.
- Changed path in ShareFolderArg from type files.Path to files.WritePath.
- Added contains_app_folder, contains_team_folder and invalid_path_root to ShareFolderArg.
- Stone Cfg namespace:
- Changed validation pattern for owner in Route.
- Added feature route attribute.
- Team namespace:
- Added team_license_limit to MembersRecoverError.
- Removed beta_group attribute from members/recover.
- Fix the bug that when InputStream throws IOException, DbxUploader#uploadAndFinish() throws NetworkIOException

2.1.1 (2016-08-01)
Expand Down
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `<
<dependency>
<groupId>com.dropbox.core</groupId>
<artifactId>dropbox-core-sdk</artifactId>
<version>3.0.1</version>
<version>3.0.2</version>
</dependency>
```

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

Expand Down
4 changes: 1 addition & 3 deletions src/test/java/com/dropbox/core/v1/DbxClientV1IT.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ public void testSearch() throws Exception {
addFile(p("search - a.txt"), 100);
client.createFolder(p("sub"));
addFile(p("sub/search - b.txt"), 200);
addFile(p("search - c.txt"), 300);
client.delete(p("search - c.txt"));

List<DbxEntry> results;

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

// Get metadata with photo info (keep trying until photo info is available)
int maxTries = 20;
int maxTries = 30;
int delaySeconds = 2;
DbxEntry.File origEntry;
for (int tries = 0; ; tries++) {
Expand Down
2 changes: 1 addition & 1 deletion stone
Submodule stone updated 69 files
+12 −14 .gitignore
+6 −0 .pylintrc
+16 −2 .travis.yml
+1 −0 MANIFEST.in
+10 −15 README.rst
+7 −7 docs/builtin_generators.rst
+0 −0 docs/evolve_spec.rst
+0 −0 docs/generator_ref.rst
+0 −0 docs/json_serializer.rst
+0 −0 docs/lang_ref.rst
+0 −0 docs/managing_specs.rst
+0 −0 docs/network_protocol.rst
+0 −0 example/__init__.py
+0 −0 example/generator/__init__.py
+0 −0 example/generator/ex1/__init__.py
+0 −0 example/generator/ex2/__init__.py
+1 −1 example/generator/ex2/ex2.stoneg.py
+0 −0 example/generator/ex3/__init__.py
+3 −8 example/generator/ex3/ex3.stoneg.py
+0 −0 example/generator/unstone/__init__.py
+29 −29 example/generator/unstone/unstone.stoneg.py
+5 −4 mypy-run.sh
+5 −0 mypy.ini
+3 −3 setup.cfg
+36 −21 setup.py
+56 −46 stone/api.py
+19 −4 stone/cli.py
+6 −3 stone/cli_helpers.py
+5 −4 stone/compiler.py
+38 −7 stone/data_type.py
+54 −50 stone/generator.py
+1 −0 stone/lang/exception.py
+6 −3 stone/lang/lexer.py
+23 −10 stone/lang/tower.py
+14 −7 stone/target/js_client.py
+1 −1 stone/target/js_helpers.py
+84 −44 stone/target/js_types.py
+45 −23 stone/target/obj_c.py
+268 −157 stone/target/obj_c_client.py
+37 −38 stone/target/obj_c_helpers.py
+2 −1 stone/target/obj_c_rsrc/DBStoneBase.h
+8 −8 stone/target/obj_c_rsrc/DBStoneSerializers.m
+30 −16 stone/target/obj_c_rsrc/jazzy.json
+561 −390 stone/target/obj_c_types.py
+22 −4 stone/target/python_client.py
+72 −0 stone/target/python_helpers.py
+6 −1 stone/target/python_rsrc/stone_base.py
+87 −17 stone/target/python_rsrc/stone_serializers.py
+18 −12 stone/target/python_rsrc/stone_validators.py
+91 −0 stone/target/python_type_mapping.py
+357 −0 stone/target/python_type_stubs.py
+40 −85 stone/target/python_types.py
+7 −16 stone/target/swift.py
+23 −14 stone/target/swift_client.py
+4 −4 stone/target/swift_helpers.py
+49 −36 stone/target/swift_types.py
+130 −0 stone/target/tsd_client.py
+130 −0 stone/target/tsd_helpers.py
+400 −0 stone/target/tsd_types.py
+6 −0 stone/typing_hacks.py
+0 −0 test/__init__.py
+1 −0 test/requirements.txt
+1 −0 test/test_cli.py
+20 −8 test/test_generator.py
+95 −14 test/test_python_gen.py
+370 −0 test/test_python_type_stubs.py
+4 −2 test/test_stone.py
+3 −2 test/test_stone_internal.py
+65 −3 tox.ini

0 comments on commit e1a39c8

Please sign in to comment.