Skip to content

Releases: dropbox/dropbox-sdk-dotnet

v5.1.0

11 Sep 21:27
becee18
Compare
Choose a tag to compare

Change Notes:

  • Update Readme to show correct supported versions
  • Fix bug allowing support for SLT in Team Client
  • Fix typo bug in dropboxRequestHandler.cs and ITransport.cs
    resposneDecoder => responseDecoder
  • Change license/icon in nuspec file

v5.0.0

12 Aug 17:08
Compare
Choose a tag to compare
  • Move officially supported versions to Net45 and NetStandard2.0

  • Migrate from VS2015 to VS2017 build system

  • Move all build targets into single CSProj file

  • Add System.Security.Cryptography as dependency

  • Add support for PKCE oauth flow

  • Add PKCE Oauth Example

  • Add option for requesting specific scopes and including already granted scopes in oauth flow

  • Add support for requesting specific scopes on token refresh

  • Expose refresh method publicly to dropbox client

  • Update tests to include downscoping

  • Update oauth example to support different scope examples

  • Add token_access_type to oauth flow

    • Legacy - default - the current long lived token flow
    • Online - requests only a short-lived access token
    • Offline - requests both a short-lived access token and a refresh token
  • Add refresh check to each API call

  • Add refresh check on client creation

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 union.
  • Add external_sharing_create_report to EventType union.
  • Add external_sharing_report_failed to EventType union.
  • 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.

v4.10.0

30 Apr 18:00
10814f5
Compare
Choose a tag to compare

Change Notes:
(cfd31ba4ca1af7b82e3e6a35fae5ecf825584598)
Account namespace:

  • Added set_profile_photo end point.

Auth namespace:

  • Added route_access_denied to AuthError.

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 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
  • 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
  • rev...
Read more

v4.9.4

07 Oct 18:40
a56abe7
Compare
Choose a tag to compare

What's New:

  • Files namespace:
    • Added new ExportInfo struct
    • Added new fields (is_downloadable, export_info) to FileMetadata
    • Added new include_non_downloadable_files to ListFolderArg
    • Added new ExportMetadata, ExportArg, Export Result Structs
    • Added new ExportError union
    • Added new /export route
  • Sharing namespace:
    • Added password field to LinkAudience
    • Added effective_audience and link_access_level fields to LinkPermissions struct
    • Updated docstrings for LinkPermissions
    • Added audience and access fields to SharedLinkSettings struct
    • New LinkAccessLevel and RequestedLinkAccessLevel union
    • Added new create_view_link and create_edit_link fields to FileAction union
  • Team_log namespace:
    • New types added
  • Team_policies namespace:
    • New TwoStepVerificationState union
  • Team_reports namespace:
    • New TemporaryFailureReason union added.

v4.9.3

17 Dec 20:04
8abced6
Compare
Choose a tag to compare

What's New:

  • Common Namespace:

    • Force matching dot character in alias EmailAddress
    • Allow DisplayNameLegacy to support a name of zero chars
  • Contacts namespace:

    • New namespace
    • New routes: delete_manual_contacts and delete_manual_contacts_batch
    • New argument structs for new routes
  • File_properties namespace:

    • Doesn't allow app folder app to access file property endpoints.
  • Files namespace:

    • Create copy_batch:2 and move_batch:2 endpoints. Deprecate existing copy_batch and move_batch.
  • Sharing namespace:

    • Add no_one option to LinkAudience union
  • Sharing_files namespace:

    • Doesn't allow app folder app to access sharing files endpoints.
  • Teams namespace:

    • Only Team apps with Team member file access can access team/properties endpoints.
    • Add is_disconnected boolean to RemovedStatus struct
    • Add error response type to namespace/list route
  • Team_log namespace:

    • New event types added

v4.9.2

07 Nov 23:08
Compare
Choose a tag to compare

What's New:

  • Files Namespace:

    • Updated doc strings
  • TeamLog Namespace:

    • Updated event docstrings
    • New reset field for loading events with a cursor
    • New event types added
  • TeamPolicies Namespace:

    • New CameraUploadsPolicyState union

v4.9.0

04 Jul 03:03
Compare
Choose a tag to compare

What's New:

  • Add native support for .Net Standard 2.0.
  • Remove unused data types.

v4.8.1

24 May 00:02
Compare
Choose a tag to compare

What's New:

  • Files:

    • added new TooLarge error type for uploads
  • Team:

    • add is_directory_restricted attribute to MemberProfile, MemberAddArg
    • add new_is_directory_restricted to MemberSetProfileArg

v4.8.0

12 Apr 01:10
Compare
Choose a tag to compare

What's New:

  • Files:

    • new SymlinkInfo struct on FileMetadata
    • added TooManyWriteOperations error type to WriteError
    • New CreateFolderBatch endpoint and related datatypes
    • Added parent_rev attribute to DeleteArg
    • New ThumbnailSize
    • New ThumbnailMode object
    • New SyncSettings objects
  • Sharing:

    • add SeenState.PlatformType to UserFileMembershipInfo
    • new SetAccessInheritance for FolderAction
    • additional user info added to UserInfo struct
    • new AccessInheritance union
    • new SetAccessInheritance route
  • Team:

    • new HasTeamSelectiveSync object
    • new selective sync settings included in various return objects and error types
    • new update_sync_settings route
  • TeamPolicies:

    • new ShowcaseEnabledPolicy object
    • new ShowcaseDownloadPolicy object
    • new ShowcaseExternalSharingPolicy object

v4.7.0

19 Dec 00:20
Compare
Choose a tag to compare

What's New:

  • Files
    • Add DownloadZip endpoint
    • Add PropertiesError to UploadError
  • TeamLog
    • Add more event types