3.1.0 (2016-07-07)
SwiftyDropbox features / bugs:
- Add User/Business API unit integration tests for most endpoints.
- Swift 2.2 compatibility.
- Ability to download content directly to memory.
- Added Business API endpoint support.
- Integration with open source “Stone” generation framework.
- Expose serialization methods.
- Support Stone spec inheritance.
- Support Union route parameters.
- Improved OAuth support:
- Network activity indicator shown when loading the app authorization page.
- "No Internet Connection" error shown in the event there is no internet connection.
- Cancelling OAuth flow sends a cancel URL to the delegate.
- Perform downloads / uploads in background with background NSURLSession.
- Upload route methods argument name changed from
body
toinput
. - Shared Dropbox client class variable (for convenience) removed.
Update to latest API specs:
- Authentication
- Add token/revoke endpoint.
- Account
- Add disabled field to Account.
- Sharing (DbxUserSharingRequests)
- Add endpoints for sharing files and managing shared file membership.
- Change return type of removeFolderMember(..) endpoint to always be an async Job ID (LaunchEmptyResult.isAsyncJobId() will be true).
- Add checkRemoveMemberJobStatus(..) for checking asynchronous removeFolderMember(..) requests.
- Returns additional information compared to checkJobStatus(..)
- Change return type of updateFolderMember(..) to return a MemberAccessLevelResult instead of void.
- Add NO_EXPLICIT_ACCESS to UpdateFolderMemberError.
- Files (DbxUserFilesRequests)
- Add file properties endpoints.
- Add saveUrl(..) saving online content to your Dropbox.
- Shared folders (DbxUserSharingRequests)
- Add AccessLevel.VIEWER_NO_COMMENT.
- Add GroupInfo.getIsOwner().
- Change return type of SharePathError.Tag.ALREADY_SHARED from Void to SharedFolderMetadata.
- Add leaveACopy argument to relinquishFolderMembership(..).
- Change relinquishFolderMembership(..) to return async job ID when leaving a copy.
- Add JobError.Tag.RELINQUISH_FOLDER_MEMBERSHIP_ERROR.
- Add leave_a_copy to FolderAction.
- Add time_invited to SharedFolderMetadata.
- Return is_osx_package or inside_osx_package error when user attempts to share an OS X package or
- Add include_deleted and include_has_explicit_shared_members parameter to get_metadata and list_folder.
- Add close parameter to upload_session/start endpoint to support explicitly close an upload session.
- Add upload_session/append_v2 endpoint which provides explicit session close support.
- Add copy_reference endpoint.
- Add get_temporary_link endpoint.
- Shared links
- Add remove_expiration parameter to modify_shared_link_settings endpoint.
- Business endpoints (DbxTeamTeamRequests)
- Add MemberProfiler.getMembershipType().
- Add keepAccount argument to membersRemove(..).
- Add CANNOT_KEEP_ACCOUNT_AND_TRANSFER and CANNOT_KEEP_ACCOUNT_AND_DELETE_DATA to MembersRemoveError.
- member_count is now optional in GroupSummary.
- devices/list_team_devices endpoint is now deprecated by devices/list_member_devices.
- linked_apps/list_team_linked_apps is now deprecated by linked_apps/list_members_linked_apps endpoint.
- Add return_members parameter to groups/members/set_access_type endpoint.