Skip to content

1.0.0 beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@ishkawa ishkawa released this 15 Oct 13:03
· 615 commits to master since this release
  • NSURLRequest instance of RequestType is now available from buildURLRequest() method. #78
  • Change type of RequestType.parameters from [String: AnyObject] to [String: AnyObject?]. Now, parameter can contain nullable values and it will be encoded correctly both in JSON and URL encoding. #83 This change is reverted by #84 in 1.0.0-beta.8. If you want to pass nullable value to parameters, use NSNull. Both NSJSONSerialization and URLEncodedSerialization handle it.

Breaking Changes

  • Request protocol is renamed as RequestType for consistency with the Swift standard library. #82