Box v3.0.0-alpha.2 Release Notes
Release Date: 2019-08-09 // over 4 years ago-
๐ Box iOS Swift SDK for Limited Beta Release
Disclaimer:
- This limited beta is intended for select Box customers
- โ This beta software should not be used in live/production environments; it is for development / test only.
- โก๏ธ This beta software will be updated frequently and breaking changes should be expected
- Please send all feedback / questions to: [email protected]
๐ฅ 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()
and
client.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
to
Folder
๐ 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