- Fix handler was called even when the request was cancelled
- Added
PATCH
method support Hernan Gonzalez
-
Swift 3.0 Support
-
Renamed
HTTPBody
tohttpBody
andHTTPHeader
tohttpHeader
-
HTTPMethod
enum cases are now lowercase -
Updated APIs to follow Swift 3 new naming guidelines:
serialize(_ keyTransformer: KeyTransformer? = nil) -> Any?
->serialized(transformingKeys keyTransformer: KeyTransformer? = nil) -> Any?
customSerialize(_ keyTransformer: KeyTransformer?) -> Any?
->customSerialized(transformingKeys keyTransformer: KeyTransformer?) -> Any?
filter<T: Storable>(_: T.Type, includeElement: (T) -> Bool) -> [T]
->filter<T: Storable>(_: T.Type, isIncluded: (T) -> Bool) -> [T]
data(includeRelationships: Bool, includeAttributes: Bool, keyTransformer: KeyTransformer?) -> Any?
->data(includingRelationships: Bool, includingAttributes: Bool, transformingKeys keyTransformer: KeyTransformer?) -> Any?
includedRelationships(includeChildren: Bool, keyTransformer: KeyTransformer?) -> [Any]?
->includedRelationships(includingChildren: Bool, transformingKeys keyTransformer: KeyTransformer?) -> [Any]?
init(_ object: T, topLevelLinks: [String: JSONAPILink]? = nil, topLevelMeta: Serializable? = nil, includeChildren: Bool = false)
->init(_ object: T, topLevelLinks: [String: JSONAPILink]? = nil, topLevelMeta: Serializable? = nil, includingChildren: Bool = false)
- Fix
Router
to handle same url with different HTTP methods
- Swift 2.3 support
- Renamed
KakapoDB
toStore
init(id:db:)
required byStorable
protocol has been changed toinit(id:store:)
- Renamed
KakapoServer
toServer
- Just another Swift 2.2 release before 1.0.0
- Implement
NSURLProtocol.stopLoading()
for delayed requests (#96) by @leviathan - Prevent empty include array on `JSONAPISerializable arrays when no relationships
- Update excluded link key
topLinks
torelationshipsLinks
- Initial release 🎉