Skip to content

Releases: devlucky/Kakapo

1.1.1

18 Oct 20:05
Compare
Choose a tag to compare

2.1.0

14 Oct 18:21
Compare
Choose a tag to compare

1.1.0

14 Oct 21:18
Compare
Choose a tag to compare

See build details and artifacts at buddybuild:
https://dashboard.buddybuild.com/apps/57e58ce073e94e0100c34a01/build/58014b553b4a9b0100067d1b

2.0.0

30 Sep 17:42
Compare
Choose a tag to compare

Breaking

  • _Swift 3.0 Support_

  • Renamed HTTPBody to httpBody and HTTPHeader to httpHeader

  • HTTPMethod enum cases are now lowercase

  • Updated APIs to follow Swift 3 new naming guidelines:

    Serializable

    • serialize(_ keyTransformer: KeyTransformer? = nil) -> Any? -> serialized(transformingKeys keyTransformer: KeyTransformer? = nil) -> Any?

    CustomSerializable

    • customSerialize(_ keyTransformer: KeyTransformer?) -> Any? -> customSerialized(transformingKeys keyTransformer: KeyTransformer?) -> Any?

    Store

    • filter<T: Storable>(_: T.Type, includeElement: (T) -> Bool) -> [T] -> filter<T: Storable>(_: T.Type, isIncluded: (T) -> Bool) -> [T]

    JSONAPISerializable

    • 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]?

    JSONAPISerializer

    • 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)

1.0.1

26 Sep 17:06
Compare
Choose a tag to compare
  • Fix Router to handle same url with different HTTP methods

1.0.0

24 Sep 09:37
Compare
Choose a tag to compare
  • Swift 2.3 support
  • Renamed KakapoDB to Store
  • init(id:db:) required by Storable protocol has been changed to init(id:store:)
  • Renamed KakapoServer to Server

0.2.0

19 Sep 17:05
Compare
Choose a tag to compare
  • 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 to relationshipsLinks

0.1.0

10 Aug 17:18
Compare
Choose a tag to compare

First release! :party_parrot:
Added Documentation and sample project

Beta 2

03 Jul 10:14
Compare
Choose a tag to compare
Beta 2 Pre-release
Pre-release
  • Key transformer
  • String id

Beta 1

30 Jun 19:25
Compare
Choose a tag to compare
Beta 1 Pre-release
Pre-release
  • JSON API support (part 2)