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 now BoxSDK.Constants.rootFolder
      • Box.currentUser is now BoxSDK.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 in client.files.lockFile() from String to Date
    • โœ‚ Removed unused arguments from client.files.unlockFile()
    • ๐Ÿ”„ Changed the type of the unsharedAt and password arguments of client.files.setSharedLink() and
      client.folders.setSharedLink() to accept .null values
    • โšก๏ธ Replaced the access, password, unsharedAt, and canDownload arguments of client.folders.updateFolder() with
      ๐Ÿšš a single sharedLink argument to enable setting the entire shared link field to .null in order to remove the
      shared link
    • Replaced client.getFavoritesCollectionId() with client.collections.getFavoritesCollection()
    • โœ‚ Removed client.collections.addItemsToCollection() and client.collections.deleteItemsFromCollection()
    • ๐Ÿ”„ Changed the result type for client.files.addFileToFavorites(), client.files.addFileToCollection(),
      ๐Ÿšš client.files.removeFileFromFavorites(), and client.files.removeFileFromCollection() from Void to File
    • ๐Ÿ”„ Changed the result type for client.folders.addFolderToFavorites(), client.folders.addFolderToCollection(),
      ๐Ÿšš client.folders.removeFolderFromFavorites(), and client.folders.removeFolderFromCollection() from Void 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