From 9c7fa23e5b3a10d14d191eb1e570e0a4827d0fff Mon Sep 17 00:00:00 2001 From: Jiuyang Zhao Date: Sat, 14 Dec 2019 01:10:00 -0800 Subject: [PATCH] 3.1.2 release --- ChangeLog.txt | 376 ++++++++++++++++++ ReadMe.md | 4 +- .../java/com/dropbox/core/DbxSdkVersion.java | 2 +- src/main/stone | 2 +- stone | 2 +- 5 files changed, 381 insertions(+), 5 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index bdfb35028..a9a0a9ec8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,379 @@ +3.1.2 (2019-12-14) +--------------------------------------------- +- Account namespace: + - Added set_profile_photo end point. +- Auth namespace: + - Added route_access_denied to AuthError. +- Check namespace: + - Added this namespace for authentication test +- Common namespace: + - Added SecondaryEmail struct. +- Contacts namespace: + - Added scope route attribute to delete_manual_contacts end point. +- Files namespace: + - Added scope route attribute to the following end points: + - get_metadata + - list_folder/longpoll + - list_folder + - list_folder/continue + - list_folder/get_latest_cursor + - download + - download_zip + - export + - upload_session/start + - upload_session/append + - upload_session/append:2 + - upload_session/finish + - upload_session/finish_batch + - upload_session/finish_batch/check + - search + - upload + - create_folder + - create_folder:2 + - create_folder_batch + - create_folder_batch/check + - delete + - delete:2 + - delete_batch + - delete_batch/check + - permanently_delete + - copy + - copy:2 + - copy_batch + - copy_batch:2 + - copy_batch/check + - copy_batch/check:2 + - move + - move:2 + - move_batch + - move_batch:2 + - move_batch/check:2 + - move_batch/check + - get_thumbnail + - get_thumbnail_batch + - get_preview + - list_revisions + - restore + - get_temporary_link + - get_temporary_upload_link + - copy_reference/get + - copy_reference/save + - save_url + - save_url/check_job_status + - Added new search:2 end point. + - Added new search/continue:2 end point + - Added new lock_file_batch end point + - Added new unlock_file_batch end point + - Added new get_file_lock_batch end point + - Added New MetadataV2 union + - Added new HighlightSpan struct + - Added new FileLockMetadata struct + - Added file_lock_info to FileMetadata struct + - Added template_error to ListFolderError union + - Added retry_error to ExportError union +- File_properties namespace: + - Added scope route attribute to to the following end points: + - properties/add + - properties/overwrite + - properties/update + - properties/remove + - properties/search + - templates/add_for_user + - templates/add_for_team + - templates/get_for_user + - templates/get_for_team + - templates/update_for_user + - templates/update_for_team + - templates/list_for_user + - templates/list_for_team + - templates/remove_for_user + - templates/remove_for_team +- File_requests namespace: + - Added optional scope route attribute to to the following end points: + - list:2 + - list/continue + - list + - get + - create + - update + - count + - delete + - delete_all_closed + - Updated docstrings for CreateFileRequestError +- Team namespace: + - Added scope route attribute to to the following end points: + - legal_holds/release_policy + - members/secondary_emails/add + - members/secondary_emails + - get_info + - token/get_authenticated_admin + - features/get_values + - devices/list_member_devices + - devices/list_members_devices + - devices/revoke_device_session + - devices/revoke_device_session_batch + - team_folder/create + - team_folder/rename + - team_folder/list + - team_folder/list/continue + - team_folder/get_info + - team_folder/activate + - team_folder/archive + - team_folder/archive/check + - team_folder/permanently_delete + - groups/list + - groups/list/continue + - groups/get_info + - groups/create + - groups/delete + - groups/update + - groups/members/add + - groups/members/remove + - groups/members/set_access_type + - groups/members/list + - groups/members/list/continue + - linked_apps/list_member_linked_apps + - linked_apps/list_members_linked_apps + - linked_apps/revoke_linked_app + - linked_apps/revoke_linked_app_batch + - member_space_limits/set_custom_quota + - member_space_limits/remove_custom_quota + - member_space_limits/get_custom_quota + - member_space_limits/excluded_users/add + - member_space_limits/excluded_users/remove + - member_space_limits/excluded_users/list + - members/list + - members/list/continue + - members/get_info + - members/add + - members/add/job_status/get + - members/set_admin_permissions + - members/send_welcome_email + - members/remove + - members/remove/job_status/get + - members/suspend + - members/unsuspend + - members/recover + - members/move_former_member_files + - namespaces/list + - namespaces/list/continue + - reports/get_storage + - reports/get_activity + - reports/get_membership + - Added new legal_holds/release_policy end point. + - Added new members/secondary_emails/add end point. + - Added new members/secondary_emails/resend_verification_emails + - Added new members/secondary_emails/delete end point + - Added new members/set_profile_photo end point + - Added new members/delete_profile_photo end point + - Added secondary_emails to MemberProfile struct + - Added invited_on to MemberProfile struct + - Added retain_team_shares in MembersRemoveArg Struct + - Added the following to MembersRemoveError union + - cannot_retain_shares_when_data_wiped + - cannot_retain_shares_when_no_account_kept + - cannot_retain_shares_when_team_external_sharing_off + - cannot_keep_account + - cannot_keep_account_under_legal_hold + - cannot_keep_account_required_to_sign_tos + - Updated docstring for DateRange +- Team_log namespace: + - Add scope route attribute to the following end points: + - get_events + - Added unlink_device to QuickActionType union + - Added enterprise_console to AccessMethodLogInfo + - Added was_linked_apps_truncated, was_linked_devices_truncated, was_linked_shared_folders_truncated to JoinTeamDetails struct + - Added web_session, qr_code, apple_oauth to LoginMethod union + - Added enterprise_admin to TrustedNonTeamMemberType union + - Added team to TeamMemberLogInfo struct + - Added is_shared_namespace to NamespaceRelativePathLogInfo struct + - Added organization_team to ContextLogInfo union + - Added legal_holds to EventCategory union + - Added notification_type to AccountCaptureNotificationEmailsSentDetails struct + - Added the following to EventDetails union: + - folder_overview_description_changed_details + - folder_overview_item_pinned_details + - folder_overview_item_unpinned_details + - legal_holds_activate_a_hold_details + - legal_holds_add_members_details + - legal_holds_change_hold_details_details + - legal_holds_change_hold_name_details + - legal_holds_export_a_hold_details + - legal_holds_release_a_hold_details + - legal_holds_remove_members_details + - legal_holds_report_a_hold_details + - member_delete_profile_photo_details + - member_set_profile_photo_details + - pending_secondary_email_added_details + - secondary_email_deleted_details + - secondary_email_verified_details + - paper_published_link_change_permission_details + - export_members_report_fail_details + - file_transfers_file_add_details + - file_transfers_transfer_delete_details + - file_transfers_transfer_download_details + - file_transfers_transfer_send_details + - file_transfers_transfer_view_details + - shared_content_restore_invitees_details + - shared_content_restore_member_details + - device_approvals_add_exception_details + - device_approvals_remove_exception_details + - file_locking_policy_changed_details + - file_transfers_policy_changed_details + - password_strength_requirements_change_policy_details + - smarter_smart_sync_policy_changed_details + - tfa_add_exception_details + - tfa_remove_exception_details + - watermarking_policy_changed_details + - changed_enterprise_admin_role_details + - changed_enterprise_connected_team_status_details + - ended_enterprise_admin_session_details + - ended_enterprise_admin_session_deprecated_details + - started_enterprise_admin_session_details + - shared_link_settings_add_expiration_details + - shared_link_settings_add_password_details + - shared_link_settings_allow_download_disabled_details + - shared_link_settings_allow_download_enabled_details + - shared_link_settings_change_audience_details + - shared_link_settings_change_expiration_details + - shared_link_settings_change_password_details + - shared_link_settings_remove_expiration_details + - shared_link_settings_remove_password_details + - Added the following to EventType union: + - folder_overview_description_changed + - folder_overview_item_pinned + - folder_overview_item_unpinned + - legal_holds_activate_a_hold + - legal_holds_add_members + - legal_holds_change_hold_details + - legal_holds_change_hold_name + - legal_holds_export_a_hold + - legal_holds_release_a_hold + - legal_holds_remove_members + - legal_holds_report_a_hold + - member_delete_profile_photo + - member_set_profile_photo + - pending_secondary_email_added + - secondary_email_deleted + - secondary_email_verified + - paper_published_link_change_permission + - export_members_report_fail + - file_transfers_file_add + - file_transfers_transfer_delete + - file_transfers_transfer_download + - file_transfers_transfer_send + - file_transfers_transfer_view + - shared_content_restore_invitees + - shared_content_restore_member + - device_approvals_add_exception + - device_approvals_remove_exception + - file_locking_policy_changed + - file_transfers_policy_changed + - password_strength_requirements_change_policy + - smarter_smart_sync_policy_changed + - tfa_add_exception + - tfa_remove_exception + - watermarking_policy_changed + - changed_enterprise_admin_role + - changed_enterprise_connected_team_status + - ended_enterprise_admin_session + - ended_enterprise_admin_session_deprecated + - started_enterprise_admin_session +- Team_policies namespace: + - Added disabled in TwoStepVerificationState union + - Added new unions PasswordControlMode, SmarterSmartSyncPolicyState, FileLockingPolicyState +- Paper namespace: + - Updated doctoring for the namespace + - Updated doctoring for PaperApiBaseError + - Added PaperFolderCreateArg, PaperFolderCreateResult structs + - Added new PaperFolderCreateError union + - Updated docstring for following end points: + - docs/folder_users/list + - docs/folder_users/list/continue + - docs/sharing_policy/get + - docs/sharing_policy/set + - docs/archive + - docs/permanently_delete + - docs/download + - docs/get_folder_info + - docs/users/add + - docs/users/remove + - docs/users/list + - docs/users/list/continue + - docs/list + - docs/list/continue + - docs/create + - docs/update + - folders/create + - Added scope route attribute to the following end points: + - docs/folder_users/list + - docs/folder_users/list/continue + - docs/sharing_policy/get + - docs/sharing_policy/set + - docs/archive + - docs/permanently_delete + - docs/download + - docs/get_folder_info + - docs/users/add + - docs/users/remove + - docs/users/list + - docs/users/list/continue + - docs/list + - docs/list/continue + - docs/create + - docs/update +- Sharing namespace: + Add scope route attribute to the following end points: + - get_shared_link_metadata + - list_shared_links + - modify_shared_link_settings + - create_shared_link_with_settings + - revoke_shared_link + - get_shared_link_file + - add_file_member + - update_file_member + - get_file_metadata + - get_file_metadata/batch + - list_file_members + - list_file_members/batch + - list_file_members/continue + - list_received_files + - list_received_files/continue + - remove_file_member + - remove_file_member_2 + - relinquish_file_membership + - unsharp_file + - list_folders + - list_folders/continue + - list_mountable_folders + - list_mountable_folders/continue + - get_folder_metadata + - list_folder_members + - list_folder_members/continue + - share_folder + - check_share_job_status + - check_job_status + - unsharp_folder + - transfer_folder + - update_folder_policy + - add_folder_member + - remove_folder_member + - check_remove_member_job_status + - update_folder_member + - mount_folder + - unmount_folder + - relinquish_folder_membership + - set_access_inheritance + - Add parent_folder_name to SharedFolderMetadataBase +- Users namespace: + - Added scope route attribute to the following end points: + - get_account + - get_current_account + - get_space_usage + - get_account_batch + - Added user_within_team_space_used_cached to TeamSpaceAllocation struct + - Added new features/get_values end point + 3.1.1 (2019-6-17) --------------------------------------------- - Fix Fix protocol and ciphersuite selection to enable TLSv1.2 and TLSv1.1 diff --git a/ReadMe.md b/ReadMe.md index 3391c1778..08fd86293 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -14,7 +14,7 @@ If you're using Maven, then edit your project's "pom.xml" and add this to the `< com.dropbox.core dropbox-core-sdk - 3.1.1 + 3.1.2 ``` @@ -23,7 +23,7 @@ If you are using Gradle, then edit your project's "build.gradle" and add this to ```groovy dependencies { // ... - implementation 'com.dropbox.core:dropbox-core-sdk:3.1.1' + implementation 'com.dropbox.core:dropbox-core-sdk:3.1.2' } ``` diff --git a/src/main/java/com/dropbox/core/DbxSdkVersion.java b/src/main/java/com/dropbox/core/DbxSdkVersion.java index b40740c3f..d4915b486 100644 --- a/src/main/java/com/dropbox/core/DbxSdkVersion.java +++ b/src/main/java/com/dropbox/core/DbxSdkVersion.java @@ -12,6 +12,6 @@ public class DbxSdkVersion private static String loadVersion() { - return "3.1.1"; //TODO: figure out a consistent way to generate it. + return "3.1.2"; //TODO: figure out a consistent way to generate it. } } diff --git a/src/main/stone b/src/main/stone index 0e697d79d..fbc2f1e20 160000 --- a/src/main/stone +++ b/src/main/stone @@ -1 +1 @@ -Subproject commit 0e697d79d684fd800448405ecfc5a50fcb5a125f +Subproject commit fbc2f1e2063ed4aed4ced6df53f1f3d3c6755491 diff --git a/stone b/stone index 0e929e00c..590f3e68d 160000 --- a/stone +++ b/stone @@ -1 +1 @@ -Subproject commit 0e929e00c7cdcfb1fa69c0a21812552a70c94e15 +Subproject commit 590f3e68dada8a2010b0022746c8b9a49e49af8b