Skip to content

Latest commit

 

History

History
110 lines (84 loc) · 3.82 KB

CHANGELOG.md

File metadata and controls

110 lines (84 loc) · 3.82 KB

Change Log

All notable changes to this project will be documented in this file. SPTDataLoader adheres to Semantic Versioning.

--

Released on 2022-06-02.

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

Released on 2021-02-17.

Changed

  • Standardized deployment targets across project

Released on 2021-02-16.

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

Released on 2020-07-23.

Changed

  • SPTDataLoaderAuthorizer: requestFailedAuthorisation also accepts SPTDataLoaderResponse (breaking change)
  • Fixed multiple issues

Released on 2016-02-20.

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.

Released on 2016-02-15.

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.

Released on 2015-12-22.

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.

Released on 2015-02-01.

Added

  • Initial release of SPTDataLoader.