Skip to content

Releases: dropbox/dropbox-sdk-python

v10.5.0

05 Oct 21:16
Compare
Choose a tag to compare

Release Notes:

  • Automated Spec Update (#263)

  • Bump actions/setup-python from v2.1.2 to v2.1.3 (#258)

  • Add release scripts (#256)

  • Add local build for docs to contributing (#249)

  • Added "of" to Question / Help Template (#245)

  • Fix arguments in OAuth2FlowResult.repr return value (#247)

  • Bump peter-evans/create-pull-request from v3.3.0 to v3.4.0 (#239)

  • Update actions/setup-python requirement to v2.1.2 (#238)

  • File update (#229)

  • Updated sphinx syntax (#231)

  • Add github action to auto update spec (#232)

  • Run CodeCov through github actions and remove Tox (#225)

  • Fix lists introduced in #226 (#228)

  • Update OAuth.py Formatting (#226)

  • Update tox to not run codecov as github action takes care of it (#224)

  • Add github action for publishing master branch coverage (#222)

  • Add basic test to test codecov (#221)

  • Add 3.9-dev to travis and add codecov.yaml (#220)

  • Add Coverage.py and codecov functionality (#219)

v10.4.1

28 Aug 21:09
Compare
Choose a tag to compare
  • Fix bug with client copy
  • Fix bug with team client as_user and as_admin
  • Fix Python 3 linter issue
  • Update tox.ini to check python 3.7 and 3.8
  • Update setup.py to support python 3.7 and 3.8
  • Remove stone as submodule and add as dependency
  • Update Spec
    Files Namespace

Add internal_error to SearchError union.
Add locked to LookupError union.
Add cant_move_into_vault to RelocationError union.
Add MoveIntoVaultError union.
Add SearchMatchFieldOptions struct.
Add optional match_field_options to SearchV2Arg struct.
Doc/example changes.
Sharing Namespace

Add is_vault to SharePathError union.
Add invalid_shared_folder to AddFolderMemberError union.
Team Namespace

Make members field of LegalHoldsPolicyUpdateArg struct optional.
Add app_folder_removal_not_supported to RevokeLinkedAppError union.
Doc/example changes.
Team Log Namespace

Add auto_approve to InviteMethod union.
Add moved_from_another_team to InviteMethod union.
Add moved_from_another_team to MemberStatus union.
Add no_one to SharedLinkVisibility union.
Add optional new_team to MemberChangeStatusDetails struct.
Add optional previous_team to MemberChangeStatusDetails struct.
Add external_sharing_create_report_details to EventDetails union.
Add external_sharing_report_failed to EventDetails union.
Add content_administration_policy_changed_details to EventDetails
Add external_sharing_create_report to EventType.
Add external_sharing_report_failed to EventType.
Add content_administration_policy_changed to EventType.
union.
Add send_for_signature_policy_changed_details to EventDetails union.
Add external_sharing_create_report to EventTypeArgs union.
Add external_sharing_report_failed to EventTypeArgs union.
Add content_administration_policy_changed to EventTypeArgs union.
Add send_for_signature_policy_changed to EventTypeArgs union.
Add SendForSignaturePolicy union.
Add ExternalSharingCreateReportDetails struct.
Add ExternalSharingReportFailedDetails struct.
Add ContentAdministrationPolicyChangedDetails struct.
Add SendForSignaturePolicyChangedDetails struct.
Add ExternalSharingCreateReportType struct.
Add ExternalSharingReportFailedType struct.
Add ContentAdministrationPolicyChangedType struct.
Add SendForSignaturePolicyChangedType struct.

v10.3.1

10 Aug 21:40
Compare
Choose a tag to compare

Remove beta feature comments from short-lived tokens, scopes, and PKCE examples/code

v10.3.0

15 Jul 16:54
Compare
Choose a tag to compare

Change Notes:

  • Update Readme
  • Fix error message for non-UTF8 strings
  • Make with_path_root() update existing headers rather than overwrite them
  • Add Close() method to _DropboxTransport to cleanup any network resources
  • Add default timeout to oauth flow finish calls

v10.2.0

27 May 18:46
Compare
Choose a tag to compare

Change Notes:

Team Legal Holds Namespace:

  • Added comments to legalHoldPolicy struct
  • Add more detailed comments to LegalHoldsListHeldRevisionResult
  • Fix misc typos in comments

Team Log Namespace:

  • Add optional EventTypeArg event_type to GetTeamEventsArg struct
  • Add invalid_filters to GetTeamEventsError union

Team Log Generated Namespace:

  • Add deprecated tag to was_linked_apps_truncated, was_linked_devices_truncated, was_link_shared_folders_truncated parameters in JoinTeamDetails struct
  • Added the EventTypeArg union

Team Members Namespace:

  • Update comment for retain_team_shares arg of MembersRemoveArg

v10.1.2

07 May 17:30
Compare
Choose a tag to compare

Change Notes:

  • Fix bug in constructor for OAuth object (expires_in -> expiration)
  • Remove oauth examples from code and redirect to examples folder

v10.1.1

21 Apr 18:25
Compare
Choose a tag to compare

Change Notes:

  • Bug Fix to add timeout parameter to Refresh Token calls

v10.1.0

16 Apr 19:24
Compare
Choose a tag to compare

Change Notes:
Stone configuration

  • added a new route property is_cloud_doc_auth indicating whether the endpoint is a Dropbox cloud docs endpoint which takes cloud docs auth token.

Files namespace

  • lock_file_batch, unlock_file_batch and get_file_lock_batch are no longer preview routes
  • Update query description on SearchArg Struct, SearchV2Arg Struct
  • Update move:2 and move_batch:2 route descirption

Team namespace

  • Deleted deprecated routes legal_holds/export_policy and legal_holds/export_policy_job_status/check

Team_log namespace:

  • Added AccountState union
  • Added AccountLockOrUnlockedType struct
  • Added AccountLockOrUnlockedDetails struct
  • Added MemberSendInvitePolicy union
  • Added MemberSendInvitePolicyChangedType struct
  • Added MemberSendInvitePolicyChangedDetails struct
  • Added a new tag first_party_token_exchange to LoginMethod union
  • Added new tags account_lock_or_unlocked_details and member_send_invite_policy_changed_details to EventDetails union
  • Added new tags account_lock_or_unlocked and member_send_invite_policy_changed to EventType union
  • Added a new field file_size to FileOrFolderLogInfo and FileLogInfo struct
  • Added a new field file_count to FolderLogInfo struct
  • Add NoExpirationLinkGenCreateReportDetails, NoExpirationLinkGenReportFailedDetails, NoPasswordLinkGenCreateReportDetails, NoPasswordLinkGenReportFailedDetails, NoPasswordLinkViewCreateReportDetails, NoPasswordLinkViewReportFailedDetails, OutdatedLinkViewCreateReportDetails, OutdatedLnkViewReportFailedDetails structs to the EventDetails union
  • Add NoExpirationLinkGenCreateReportType, NoExpirationLinkGenReportFailedType, NoPasswordLinkGenCreateReportType, NoPasswordLinkGenReportFailedType, NoPasswordLinkViewCreateReportType, NoPasswordLinkViewReportFailedType, OutdatedLinkViewCreateReportType, OutdatedLinkViewReportFailedType structs to the EventType union

Cloud Docs Namespace

  • Add get_content, get_metadata, rename, unlock, and lock routes
  • Add corresponding args, results, and errors

File Properties Namespace

  • Update AddPropertiesArg description
  • Add duplicate_property_groups to InvalidPropertyGroupError Union
  • Update property_groups description on AddPropertiesError Union

Shared Links Namespace

  • Update SharedLinkSettings example

Stone CFG Namespace

  • Update auth type string patterns
  • Update host string patterns
  • Update style string patterns
  • Update select_admin_mode string patterns

Team Legal Holds Namespace

  • Add team_exceeded_legal_hold_quota to LegalHoldsPolicyCreateError union
  • Change LegalHoldsListHeldRevisionsError and LegalHoldsPolicyReleaseError to extend LegalHoldsError

Team Secondary Mails Namespace:

  • Remove is_preview from route add, resend_verification_emails, and delete

v10.0.0

16 Apr 17:57
Compare
Choose a tag to compare

General:

  • Add support for PKCE
  • Add support for Short-Lived Tokens
  • Add support for Scopes
  • These features are all in beta, please contact Dropbox support if you are interested in these features
  • Update Requirements.txt
  • Add Github action to auto-publish to pypi

Breaking Changes:

  • DropboxOAuth2Flow consumer_secret parameter moved to end of constructor as it became optional with support of PKCE
  • Assertions in constructors have been mapped to their BadInputException

v9.5.0

02 Apr 22:34
Compare
Choose a tag to compare

Files Namespace:
- Update comments on FileLockMetadata struct
- Add optional lockholder_account_id to FileLockMetadata struct
- Add optional invalid_argument to SearchError union
- Add get_thumbnail:2 route
- Add ThumbnailV2Error union
- Add MinimalFileLinkMetadata struct
- Add PreviewResult struct
- Add SharedLinkFileInfo struct
- Add PathOrLink union
- Add ThumbnailV2Arg struct
- Change UnlockFileArg's path type to WritePathOrId
- Change LockFileArg's path type to WritePathOrId

Shared Links Namespace:
- Fix Typo

Team Groups Namespace:
- Add add_creator_as_owner to GroupCreateArg struct
- Update comments for async_job_id on GroupMembersChangeResult struct

Team Legal Holds Namespace:
- Add exporting to LegalHoldStatus union
- Add invactive_legal_hold to LegalHoldsListHeldRevisionsError union
- Add legal_hold_policy_not_found to LegalHoldsPolicyUpdateError union
- Add MembersInfo struct
- Add LegalHoldsError union
- mark legal_holds/export_policy to deprecated
- mark legal_holds/export_policy_job_status/check to deprecated
- Change LegalHoldPolicy's members type to MembersInfo
- Update LegalHoldPolicy's examples
- Update LegalHoldsPolicyCreateError to extend LegalHoldsError
- Update LegalHoldsGetPolicyError to extend LegalHoldsError
- Update LegalHoldsListPoliciesError to extend LegalHoldsError
- Update LegalHoldsPolicyUpdateError to extend LegalHoldsError

Team Log Namespace:
- Remove lifespan comment

Team Log Generated Namesapce:
- Add team_invite_details to ActionDetails union
- Add optional has_linked_apps to JoinTeamDetails struct
- Add optional has_linked_devices to JoinTeamDetails struct
- Add optional has_linkeD_shared_folders to JoinTeamDetails struct
- Update comments in JoinTeamDetails struct
- Update JoinTeamDetails struct examples
- Update LegalHoldsExportAHoldDetails struct examples
- Update PaperContentRemoveFromFolderDetails target_asset_index to be optional
- Update PaperContentRemoveFromFolderDetails parent_asset_index to be optional
- Add shared_content_link to SharedLinkSettingsAddExpirationDetails struct
- Update SharedLinkSettingAddExpirationDetails struct examples
- Add optional shared_content_link to SharedLinkSettingsAddPasswordDetails struct
- Add optional shared_content_link to SharedLinkSettingsAllowDownloadDisabledDetails struct
- Add optional shared_content_link to SharedLinkSettingsAllowDownloadEnabledDetails struct
- Add optional shared_content_link to SharedLinkSettingsChangeAudienceDetails struct
- Add optional shared_content_link to SharedLinkSettingsChangeExpirationDetails struct
- Add optional shared_content_link to SharedLinkSettingsChangePasswordDetails struct
- Add optional shared_content_link to SharedLinkSettingsRemoveExpirationDetails struct
- Add optional shared_content_link to SharedLinkSettingsRemovePasswordDetails struct
- Add file_locking_status_changed_details to EventDetails union
- Add rewind_folder_details to EventDetails union
- Add legal_holds_export_cancelled_details to EventDetails union
- Add legal_holds_export_downloaded_details to EventDetails union
- Add legal_holds_export_removed_details to EventDetails union
- Add create_team_invite_link_details to EventDetails union
- Add delete_team_invite_link_details to EventDetails union
- Add binder_add_page_details to EventDetails union
- Add binder_add_section_details to EventDetails union
- Add binder_remove_page_details to EventDetails union
- Add binder_remove_section_details to EventDetails union
- Add binder_rename_page_details to EventDetails union
- Add binder_rename_section_details to EventDetails union
- Add binder_reorder_page_details to EventDetails union
- Add binder_reorder_section_details to EventDetails union
- Add rewind_policy_changed_details to EventDetails union
- Add team_sharing_whitelist_subjects_changed_details to EventDetails union
- Add web_sessions_change_active_session_limit_details to EventDetails union
- Add enterprise_settings_locking_details to EventDetails union
- Add file_locking_lock_status_changed to EventType union
- Add rewind_folder to EventType union
- Add legal_holds_export_cancelled to EventType union
- Add legal_holds_export_downloaded to EventType union
- Add legal_holds_export_removed to EventType union
- Add create_team_invite_link to EventType union
- Add delete_team_invite_link to EventType union
- Add binder_add_page to EventType union
- Add binder_add_section to EventType union
- Add binder_remove_page to EventType union
- Add binder_remove_section to EventType union
- Add binder_rename_page to EventType union
- Add binder_rename_section to EventType union
- Add binder_reorder_page to EventType union
- Add binder_reorder_section to EventType union
- Add rewind_policy_changed to EventType union
- Add team_sharing_whitelist_subjects_changed to EventType union
- Add web_sessions_change_active_session_limit to EventType union
- Add enterprise_settings_locking to EventType union
- Add TeamInviteDetails struct
- Add InviteMethod union
- Add LockStatus union
- Add RewindPolicy union
- Add FileLockingLockStatusChangedDetails struct
- Add RewindFolderDetails struct
- Add LegalHoldsExportCancelledDetails struct
- Add LegalHoldsExportDownloadedDetails struct
- Add LegalHoldsExportRemovedDetails struct
- Add CreateTeamInviteLinkDetails struct
- Add DeleteTeamInviteLinkDetails struct
- Add BinderAddPageDetails struct
- Add BinderAddSectionDetails struct
- Add BinderRemovePageDetails struct
- Add BinderRemoveSectionDetails struct
- Add BinderRenamePageDetails struct
- Add BinderRenameSectionDetails struct
- Add BinderReorderPageDetails struct
- Add BinderReorderSectionDetails struct
- Add RewindPolicyChangedDetails struct
- Add TeamSharingWhitelistSubjectsChangedDetails struct
- Add WebSessionsChangeActiviteSessionLimitDetails struct
- Add EnterpriseSettingsLockingDetails struct
- Add FileLockingLockStatusChangedType struct
- Add RewindFolderType struct
- Add LegalHoldsExportCancelledType struct
- Add LegalHoldsExportDownloadedType struct
- Add LegalHoldsExportRemovedType struct
- Add CreateTeamInviteLinkType struct
- Add DeleteTeamInviteLinkType struct
- Add BinderAddPageType struct
- Add BinderAddSectionType struct
- Add BinderRemovePageType struct
- Add BinderRemoveSectionType struct
- Add BinderRenamePageType struct
- Add BinderRenameSectionType struct
- Add BinderReorderPageType struct
- Add BinderReorderSectionType struct
- Add RewindPolicyChangedType struct
- Add TeamSharingWhitelistSubjectsChangedType struct
- Add WebSessionsChangeActiveSessionLimitType struct
- Add EnterpriseSettingsLockingType struct

Users Namespace:
- Add file_locking to UserFeature union
- Add file_locking to UserFeatureValue
- Update example for UserFeaturesGetaluesBatchArg
- Add FileLockingValue union