Releases: spotify/SPTDataLoader
Releases · spotify/SPTDataLoader
SPTDataLoader 2.2.0
Added
- Added SPTDataLoaderSwift convenience methods for accessing active requests
- Added SPTDataLoaderSwift response code validators
- Added SPTDataLoaderSwift wrappers for Concurrency and Combine
- Added Xcode 13 support
Fixed
- Fixed invalid response body for retried requests
Changed
- Changed SPTDataLoaderSwift to ignore status code related errors by default
- Changed SPTDataLoaderSwift to allow throwing errors within a request modifier
- Changed chunked responses to use the unenumerated data
Full Changelog: 2.1.1...2.2.0
SPTDataLoader 2.1.1
SPTDataLoader 2.1.0
Added
- Added SPTDataLoaderBlockWrapper callback API
- Added SPTDataLoaderSwift overlay
- Added Xcode 12 support
Changed
- Changed Accept-Language header to remove duplicates
- Changed modules to be disabled by default for static library and test targets
Full Changelog: 2.0.0...2.1.0
SPTDataLoader 1.1.1
Added
- Added support for SSL pinning.
- Added iOS 10 support.
Fixed
- Fixed nil URLs in the rate limiter causing a crash.
- Fixed requests executing after they have been cancelled due to a race condition.
- Fixed unique identifiers incrementing by 2 on every request made.
Removed
- Removed iOS 7.0 support.
Full Changelog: 1.1.0...1.1.1
SPTDataLoader 1.1.0
Watch the loader on your TV. In other words, the watchOS and tvOS release ⌚ 📺
Added
- Added support for watchOS and tvOS.
- Added error handling when a chunked request is made without the delegate supporting chunks.
Fixed
- Fixed HTTP errors not being correctly reported if they are not above the 400 HTTP status codes.
- Fixed a bug allowing infinite retries of requests.
Removed
- Removed the non-optional status of cancellation callbacks in the delegate.
Changed
- Changed Accept-Language values to be publically accessible.
- Changed blanket HTTPS certificate accepting a runtime variable rather than a preprocessor macro.
- Changed the name of SPTCancellationToken to SPTDataLoaderCancellationToken.
Full Changelog: 1.0.1...1.1.0
SPTDataLoader 1.0.1
Added
- Added an option to skip NSURLCache.
- Added absolute timeouts regardless of retries.
- Added a build flag option that can allow SPTDataLoader to ignore valid HTTPS certificates.
- Added source identifiers to request objects (for view based tracking of HTTP usage).
- Added support for custom URL protocols.
- Added clang module support.
- Added Accept-Language headers to all requests.
- Added redirection limit.
- Added sending the response rather than the request in the SPTDataLoaderConsumer protocol.
Fixed
- Fixed a crash that can occur occasionally when copying data from NSURLSession.
- Fixed Xcode 6.2 project warnings.
- Fixed retry timeouts from firing constantly when certain conditions are met.
- Fixed Xcode 6.3 project warnings.
- Fixed crashes that can occur when calling SPTDataLoader from multiple threads.
- Fixed swallowing 401s if retrying is not possible.
- Fixed Xcode 7 warnings.
- Fixed HTTP redirects not working.
Full Changelog: 1.0.0...1.0.1
SPTDataLoader 1.0.0
Added
- Initial release of SPTDataLoader