Skip to content

0.4.0

Compare
Choose a tag to compare
@ishkawa ishkawa released this 20 Mar 04:04
· 873 commits to master since this release
  • Add responseErrorFromObject to create detailed error using response object #16
  • Add defaultURLSession and its delegate instead of instancePair #14
    Breaking changes:
    • API does not create singleton instances for each API subclasses.
      • API.instance is no longer available.
      • API.session is no longer available.
      • From 0.4.0, if an API subclass needs a separated session, defaultURLSession should be overrided.
    • Delegate methods for custom behaviors of NSURLSession implemented in API should be move to custom delegate class, and its instance should be a delegate of defaultURLSession.