Skip to content

Releases: dropbox/dropbox-sdk-python

v7.3.1

16 May 23:47
Compare
Choose a tag to compare

Common namespace:

  • Added PathRootError.

Updated specs and docs

11 May 07:02
Compare
Choose a tag to compare

Files namespace:

  • Added too_many_write_operations in UploadSessionFinishError.
  • Removed PathRootError and invalid_path_root in LookupError. (breaking change)
  • Added team_folder to WriteError.

Sharing namespace:

  • Added access_level to LinkSettings.
  • Added change_access_level to LinkAction.
  • Added access_level and audience_restricting_shared_folder to SharedContentLinkMetadataBase.
  • Added access_type and expected_link_metadata to SharedFileMetadata.
  • Added path to ParentFolderAccessInfo.
  • Added actions to UpdateFolderPolicyArg.
  • Added team_folder to UpdateFolderPolicyError.

Stone Cfg namespace:

  • Added allow_app_folder_app attribute.
  • Added takes_path_root attribute.

Team namespace:

  • Added route token/get_authenticated_admin.
  • Added route features/get_values.
  • Added expires to ActiveWebSession.
  • Added cursor and has_more to TeamFolderListResult for pagination.
  • Added route team_folder/list/continue.
  • Made member_given_name and member_surname optional in MemberAddArg. (breaking change)

User namepsace:

  • Moved AccountType from user namespace to user_common namespace.

Added TeamLog namespace.

Update specs and docs

28 Feb 23:15
Compare
Choose a tag to compare

Added Paper namespace.

Files namespace:

  • Added Sha256HexHash alias.
  • Added content_hash to FileMetadata.
  • Added upload_api_rate_limit feature attribute to upload_session/start, upload_session/append_v2, upload_session/append, upload, upload_session/finish_batch.
  • Added duplicated_or_nested_paths to RelocationError and removed from RelocationBatchError.
  • Added properties api_group attribute and is_preview attribute to properties/*.
  • Added disable_viewer_info and enable_viewer_info to CommitInfoWithProperties.
  • Added link_metadata to SharedFileMetadata.
  • Added ViewerInfoPolicy union.
  • Added no_explicit_access to MemberSelector.
  • Deprecated change_file_member_access.
  • Added update_file_member route and UpdateFileMemberArgs struct.

Sharing namespace:

  • Added viewer_info_policy, disable_viewer_info, enable_viewer_info to FolderPolicy.
  • Added team, is_inside_team_folder, path_lower to SharedLinkPolicy.
  • Added link_metadata, policy, shared_folder_id, time_invited to SharedFolderMetadata.
  • 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:

  • Added attribute api_group, is_preview.
  • Removed attributes alpha_group, beta_group.

Team namespace:

  • Added joined_on, persistent_id to MemberProfile.
  • Added team_member_id, external_id to UserSelectorArg.
  • Added TeamMemberId, MemberExternalId, GroupExternalId, ResellerId aliases.
  • Added company_managed, system_managed to GroupManagementType.
  • Added TimeRange.
  • Added archive_in_progress to TeamFolderStatus, TeamFolderIdArg.
  • Added BaseTeamFolderError.
  • Added folder_name_reserved to TeamFolderCreateError.
  • TeamFolderRenameError, TeamFolderArchiveError, BaseTeamFolderError, TeamFolderPermanentlyDeleteError now extend BaseTeamFolderError.
  • Added folder_name_reserved to TeamFolderRenameError.
  • Added GroupSelectorWithTeamGroupError.
  • GroupMemberSelectorError, GroupMembersSelectorError now extends GroupSelectorWithTeamGroupError.
  • Removed alpha from alpha/groups/*.
  • GroupDeleteError, GroupUpdateError, GroupMembersAddError now extends GroupSelectorWithTeamGroupError.
  • 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.

Breaking changes

27 Oct 01:43
Compare
Choose a tag to compare
  1. File upload endpoints no longer accept file-like objects. Only byte strings are allowed. This helps prevent errors in previous versions where automatic request retries would use the next part of the stream rather than re-using the portion that was rejected.
  2. The return value of the OAuth flows are now an object that includes account_id rather than a tuple. Please use account_id (v2 concept) rather than user_id (v1 concept). This will improve future extensibility.

Updated specs

29 Sep 23:33
Compare
Choose a tag to compare

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 and DeleteBatchJobStatus.
  • Added delete_batch and delete_batch/check routes.
  • Added RelocationPath.
  • Added to allow_shared_folder and autorename to RelocationArg.
  • Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus.
    RelocationResult and RelocationBatchError.
  • 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.

Team namespace:

  • Added team_license_limit to MembersRecoverError.
  • Removed beta_group attribute from members/recover.

Added optional timeout on requests

07 Sep 21:19
Compare
Choose a tag to compare
  • Improved docstrings for route methods and types.

Structured errors for auth and rate limit

11 Aug 22:03
Compare
Choose a tag to compare

You can now see more details when getting an auth or rate limit error. For example, you can inspect why the rate limit error occurred (too many requests or too many write operations).

Added typing dependency

11 Aug 01:09
Compare
Choose a tag to compare
v6.6.2

6.6.2 release

Bumped version of requests package to v2.6.2

10 Aug 08:53
Compare
Choose a tag to compare

Bug in requests v2.6.1 causes chunked responses to not be properly decompressed. Issue found in #71.

Updated public spec.

27 Jul 22:45
Compare
Choose a tag to compare

Stone specs:

  • Updated to new stone spec format (unions are default open).

Auth namespace:

  • Added RateLimitReason and RateLimitError for describing 429 responses.

Files namespace:

  • Added upload_session/finish_batch route.

Sharing namespace:

  • Added change_member_file_access route.
  • Added invite_view_no_comment to FolderPolicy.
  • Added share_link to FolderAction.
  • Added make_viewer_no_comment to MemberAction.
  • Added preview_url to SharedFolderMetadata.
  • Added access_details to MemberAccessLevelResult, which is the parent folders that amember has access to.
  • Added too_many_invitees error to AddFolderMemberError.
  • Added automatic_group to AddMemberSelectorError.
  • Added insufficient_quota to MountFolderError.
  • Added removed to TeamMemberStatus.

Team namespace:

  • Added new_group_management_type to GroupUpdateArgs for groups/delete.
  • Added include_removed flag to MembersListArg
  • Added members/recover route.