0.8.0
This release contains 2 large changes
-
class func URLRequest(_:_:_:)
is deprecated to improve readability and flexibility.- Old:
class func URLRequest(_:_:_:)
- New:
class func URLRequest(method:path:parameters:requestBodyBuilder)
You can use the alternative function like below. The last 2 arguments,
parameters
andrequestBodyBuilder
, in new method have default values, so you can omit them.var URLRequest: NSURLRequest? { return GitHub.URLRequest( method: .GET, path: "/search/repositories", parameters: ["q": query, "sort": sort.rawValue, "order": order.rawValue] ) }
- Old:
-
LlamaKit is replaced by Result. Interface of
Box
type is changed due to this dependency replacement.- Old:
box.unbox
- New:
box.value
- Old: