Breaking Changes:
- Change
status
field for task assignments from a String to an Enum
New Features and Enhancements:
- Make authentication session classes
OAuth2Session
,SingleTokenSession
, andDelegatedAuthSession
public
Breaking Changes:
New Features and Enhancements:
- Add shared link downscoping
- Add closure parameter for progress of uploads and downloads
- Add marker based pagination to list users endpoint
Breaking Changes:
New Features and Enhancements:
- Added file specific icons for the Sample Apps.
Breaking Changes:
- For Module methods that returned a collection of objects, changed from returning a PaginationIterator to returning a PagingIterator in a completion.
- Modules are now automatically instantiated with the BoxClient object and no longer allow the client app to instantiate them
- Related RetentionPolicy classes no longer allow rawData to be set by the client app
- UploadPartDescription made private
- Fixed bug with exponential backoff and changed SDK configuration item "retryAfterTime" to "retryBaseInterval"
New Features and Enhancements:
- RetentionPolicyModule methods made public
- Added additional supporting types
- Improved support for logging to file, allow for custom file path, and fixed some related bugs
- Improved console logging formatting
- Updated Sample Apps to use new PagingIterator responses
Breaking Changes:
- Changed SDK errors from customValue enum cases to specific enum cases
New Features and Enhancements:
- Added Xcode 11 + iOS 13 support to Travis CI
Breaking Changes:
- Changed TaskAssignment.resolutionState from String to new AssignmentState enum type
- Changed Group.groupType from String to new GroupType enum type
- Changed Folder.allowedSharedLinkAccessLevels from [String] to new [SharedLinkAccess] enum type
- Changed File.allowedInviteeRoles from [String] to new [CollaborationRole] enum type
- Network responses with 4xx or 5xx status codes are now transformed into an API Error
- CollaborationItem changed from class to enum
- CommentItem changed from class to enum
- FolderItem changed from class to enum
- WebhookItem changed from class to enum
- TaskItem changed from class to enum
- JSON decoding errors now emit expected type
- Public method names changed to a new convention in many of the "module" classes
- Redesigned error classes and error hierarchy
- Temporarily removed progress closure for uploads and downloads
New Features and Enhancements:
-
Added Xcode 11 support (SDK builds still target iOS 11.0)
-
Removed AlamoFire dependency
-
Added support for Device Pins
-
Added SDK Configuration URL validation
-
Added SDK-level constants rootFolder and currentUser for convenience
-
Added support for Collaboration Whitelist endpoints
-
Added support for Retention Policy endpoints
-
Added support for Tasks endpoints
-
Added support for Webhooks endpoints
-
Added support for Groups and Group Membership endpoints
-
Added support for Legal Holds endpoints
-
Added support for Terms of Service endpoints
-
Added support for Terms of Service User Status endpoints
-
Added support for Watermarking endpoints
-
Added support for Storage Policy endpoints
-
Added support for Metadata Cascade Policy endpoints
-
Added support for User endpoints
-
Added support for Events endpoints
-
Added Error Views in Sample Apps
-
Improved structure and usability of Sample Apps
Breaking Changes:
- Changed File Entry Container "entries" from optional to not optional
New Features and Enhancements:
- Added support for Web Links
- Added support for Trash endpoints
- Added support for Recent Items
- Added support for File Version endpoints
- Added support for Delete File endpoint
- Added support for Chunked Upload Endpoints
- Added support for upload preflight check
- Added support for downloading a representation of a file
- Added support for custom OAuth2 Callback URL
- Added KeychainTokenStore for OAuth2SampleApp
Breaking Changes:
- Moved some constants to different namespaces:
Box.rootFolder
is nowBoxSDK.Constants.rootFolder
Box.currentUser
is nowBoxSDK.Constants.currentUser
- Updated the arguments that
client.files.updateFileInfo()
takes for consistency with the rest of the SDK - Changed the type of the
expiresAt
arguments inclient.files.lockFile()
fromString
toDate
- Removed unused arguments from
client.files.unlockFile()
- Changed the type of the
unsharedAt
andpassword
arguments ofclient.files.setSharedLink()
andclient.folders.setSharedLink()
to accept.null
values - Replaced the
access
,password
,unsharedAt
, andcanDownload
arguments ofclient.folders.updateFolder()
with a singlesharedLink
argument to enable setting the entire shared link field to.null
in order to remove the shared link - Replaced
client.getFavoritesCollectionId()
withclient.collections.getFavoritesCollection()
- Removed
client.collections.addItemsToCollection()
andclient.collections.deleteItemsFromCollection()
- Changed the result type for
client.files.addFileToFavorites()
,client.files.addFileToCollection()
,client.files.removeFileFromFavorites()
, andclient.files.removeFileFromCollection()
fromVoid
toFile
- Changed the result type for
client.folders.addFolderToFavorites()
,client.folders.addFolderToCollection()
,client.folders.removeFolderFromFavorites()
, andclient.folders.removeFolderFromCollection()
fromVoid
toFolder
New Features and Enhancements:
- Added support for token downscoping
- Added a
KeychainTokenStore
implementation to enable persisting authentication state on the Keychain - The SDK now automatically clears the token store after destroying a client and revoking its tokens
Initial beta release 🎉