Releases: dropbox/dropbox-sdk-obj-c
Releases · dropbox/dropbox-sdk-obj-c
Small improvements
Adds
- Convert auth tokens on defined NSOperationQueues.
- Improves dismiss view controller logic.
- Updated README to include links to documentation.
Fixes
- Removes iOS 8 from podspec.
- Adds
uploadsInProgress
method to batch upload method.
Fixed operation queue regression
Fixes
- Fixed regression where default queue is no longer main queue (sorry all for this regression!).
- Defined explicit queues for OAuth 1 token conversion.
- Added
isEqual
andhash
logic to generated API datatypes. - Fix controller dismiss logic.
- Improved partner
openWithInfoFromURL:
method to perform scheme check.
Use non-main queue as default for network response dispatch
Fixes
- Use non-main queue as default for network response dispatch.
Fixed `asAccessError` interface bug
Fixes
asAccessError
method interface bug.- Removed remnants of iOS 8 forked code.
Dropped iOS 8 support
iOS 8 usage now constitutes less than 3% of all iOS users. Supporting it with our new auth flow is proving to be challenging, so we have dropped support for iOS 8.
Changed
- Fixed CocoaPods bug where
SafariServices
was being included in macOS target. - Dropped iOS 8 support to accommodate new
SFSafariViewController
auth flow. - No longer Build Active Architecture on debug mode for Carthage project.
3.0.11
Breaking change
- Changed type of
inputUrl
toNSString
(fromNSURL
) for all file uploads.
Added
- Support for
SFSafariViewController
and remove browser auth option.- Google is dropping support for "Sign in with Google" via WebViews, so we are forcing our users on iOS to use the WebView-like
SFSafariViewController
(or an external browser on iOS 8), and for macOS, an external browser. - Accordingly,
authorizeFromController:controller:openURL:browserAuth
has been changed toauthorizeFromController:controller:openURL
.
- Google is dropping support for "Sign in with Google" via WebViews, so we are forcing our users on iOS to use the WebView-like
Fixes
- Fixed rotation bug for OAuth page.
- Fixed Carthage scheme bug where debug builds were being built, not release builds.
- Added
copy
attribute to nullable property fields. - Added nil check in route data serialization.
Improved OpenWith partner logic
Added
openWithInfoFromURL
convenience class method inDBOfficialAppConnector
for official third-party partners.- API datatypes now implement
NSCopying
, so they can be used as dictionary keys now. init
is now marked asNS_UNAVAILABLE
in API datatypes.- Convenience imports added to user / team / app clients (not applicable if using umbrella header).
Fixed memory leak and expanded `DBClientsManager`
Added
- In
DBClientsManager
, renamedreauthorizeClient
/reauthorizeTeamClient
toauthorizeClientFromKeychain
authorizeTeamClientFromKeychain
. - In
DBClientsManager
, removedresetClients
.
Fixed
- Memory leak in
DBSDKKeychain
.
Thread-safety and Multi-user improvement
Added
- SDK is now thread-safe. You may make requests from any thread. Please reach out to us if you notice any bugs.
- Support for having multiple Dropbox users at once is much more robust. See documentation here for more details.
Added convenience methods to `DBClientsManager`
Added
userClientFromTokenUid
andteamClientFromTokenUid
toDBClientsManager
which are both useful in the multi-account use-case.
Fixed
- Missing
DBGlobalErrorResponseHandler.h
Carthage bug.