Skip to content

Releases: dropbox/SwiftyDropbox

Spec Update

11 Oct 00:00
Compare
Choose a tag to compare

Files Namespace:

  • Updated doc strings

Team_log Namespace:

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

Team_policies Namespace:

  • New CameraUploadsPolicyState union

Spec Update

25 May 22:02
Compare
Choose a tag to compare

The following spec changes are released in this version.

files namespace:

New documentation
Added new too_large error type for uploads

team namespace:

Add is_directory_restricted attribute to MemberProfile, MemberAddArg
Add new_is_directory_restricted to MemberSetProfileArg

team_log namespace:

Additional documentation

Spec Update

11 Apr 21:31
Compare
Choose a tag to compare
  • file_properties namespace:

    • updated comments
  • files namespace:

    • new SymlinkInfo struct on FileMetadata
    • added too_many_write_operations error type to WriteError
    • New CreateFolderBatch endpoint and related datatypes
    • Added parent_rev attribute to DeleteArg
    • New Thumbnail sizes
    • New ThumbnailMode object
    • New SyncSettings objects
  • sharing namespace:

    • add seen_State.PlatformType to UserFileMembershipInfo
    • new set_access_inheritance for FolderAction
    • additional user info added to UserInfo struct
    • new AccessInheritance union
    • new set_access_inheritance route
  • team namespace:

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

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

Spec Update

06 Apr 21:48
Compare
Choose a tag to compare
  • Added support for PathRoot

  • files namespace:

    • Added download_zip endpoint
    • Add properties_error to UploadError
  • team_common namespace:

    • Added new MemberSpaceLimitType union
  • team namespace:

    • Added additional error types to MembersRemoveError union
    • Updated docstring
  • users namespace:

    • Additional member space limit fields in TeamSpaceAllocation struct
  • team_log namespace:

    • Lots of updates to struct names and descriptions (note these routes and structs are still in preview and subject to further changes)

Spec update and bug fixes

19 Nov 02:38
Compare
Choose a tag to compare

Spec update

    Namespace Common:
    - New PathRoot and RootInfo related structs and unions

    Namespace File_properties:
    - additional documentation
    - new RemoveTemplateArg struct
    - new routes for templates
    - updated TemplateFilter union
    - new PropertiesSearch structs
    - new properties/search/continue route

    Namespace Files:
    - updated documentation
    - updated routes with support for select_admin_mode
    - add include_property_groups attribute to to args structs
    - add propert_groups attribute to response structs

    Namespace Sharing:
    - update routes to include indicate for select_admin_mode
    - updated examples
    - add too_many_files attribute to RemoveFolderMemberError

    Namespace Team:
    - add new has_file_events input/output structs to featres/get_values endpoint
    - add additional examples for device related structs
    - reduce minimum value for UserQuota to 15
    - Updated QuotaError structs
    - New structs and routes to support excluded_users

    Namespace Team_policies:
    - add new SmartSyncPolicy union

    Namespace Users:
    - add root_info object to FullAccount struct

Bug fixes

  • Use correct String constructor.
  • Improved auth flow security with state parameter.

Bug fix

19 Oct 18:40
Compare
Choose a tag to compare

Bug fix

  • Fixed (potentially) longpoll crash issue.

Spec update

11 Oct 03:16
Compare
Choose a tag to compare

Spec update

  • Move shared_link to end of parameter list for ListFolderArg.
  • Add mode to ListRevisionsArg.

Bug fix

  • Fixed bug where project wouldn't build in Xcode 8.

Spec update and bug fix

19 Sep 08:59
Compare
Choose a tag to compare

Spec update

General:
Updated docstrings in multiple namespaces
Updated general route configuration to support select_admin_mode

file_properties namespace:
New routes and structs for the file properties and templates API functionality

file_requests namespace:
New routes and structs for the file_requests API functionality

files:
deprecate preview routes for files_properties

properties:
removed in favor of file_properties

team_property_templates:
removed in favor of file_properties

team:
deprecate beta properites routes

team_members:
Update NamePart? to be OptionalNamePart?

team_policies:
Add new team policies for SSO Paper, RolloutMethod and PasswordStrength

Bug fix

  • Removed Xcode 9 compile warnings.

Spec update and numerous fixes

17 May 19:25
Compare
Choose a tag to compare

Potentially breaking changes

  • Browser auth no longer supported on iOS
  • In-app webview no longer supported on iOS or macOS

Example:

DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self,
                                                      openURL: {(url: URL) -> Void in UIApplication.shared.openURL(url)},
                                                browserAuth:true)

becomes

DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self,
                                                      openURL: {(url: URL) -> Void in UIApplication.shared.openURL(url)})

Motivation:

Companies like Google, which Dropbox uses as an identity provider, are starting to force everyone away from using lightweight web-views, in favor of full-fledged browsers (for security reasons).

Fixes

  • Added SFSafariViewController for auth.
  • Update to AlamoFire 4.4.0
  • Fixed CocoaPods WebKit import issue.
  • Switched to OAuth 2.0 API v2 page.
  • Fixed longpoll timeout issue.
  • Fixed locked phone upload issue.
  • Make controllers nullable.
  • Clear persistent cookies.
  • Fixed cancel handler bug on iOS.
  • OAuth flow now localized.
  • Added support for 403 access error type.
  • Exposed user_message and error_summary in error response.
  • Fixed Xcode warnings.
  • Consolidated test project.
  • Added release scripts.

Spec update

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.

Updated public specs.

29 Sep 19:29
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.