Changelog

1.0.0

Arbitrarily bump version to 1.0.0. API is stable and it doesn't make sense to have it in production and still be on the 0.X versioning scheme.

0.14.0

0.13.0

Breaking changes:

This makes it possible to get the error messages from the request, but also lets the caller know more about the request.

For example, with the new parameters:

New way

Api<Post>.find { post, response in
  if let post = post {
    print("Got post \(post.title)")
  } else if let errors = response.errorMessages {
    print("got errors: \(errors.join("\n"))")
  }
}

Old way

Api<Post>.find { post in
  if let post = post {
    print("Got post \(post.title)")
  } else {
    print("error?")
  }
}

0.12.0

Breaking changes:

0.11.0

Breaking changes:

func perform(value: AnyObject?, realm: Realm?) -> AnyObject?

This will be the Realm object that will be associated with any newly created objects. For example in ModelTransform or ArrayTransform.

Dependency upgrade:

0.10.2

0.10.1

0.10.0

Breaking changes:

0.9.0

(This version was never released to cocoapods.org)

0.8.3

0.8.2

0.8.1

0.8.0

Behind the scenes:

0.7.0

0.6.0

0.5.3

Fixed:

0.5.2

Fixed:

0.5.1

0.5.0

Breaking changes:

Fixed:

0.4.0

0.3.0

0.2.0

0.1.0