All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning starting from 1.x releases.
All recent changes are published
0.7.x
Releases - 0.7.0 | 0.7.1 | 0.7.20.6.x
Releases - 0.6.0 | 0.6.10.5.x
Releases - 0.5.00.4.x
Releases - 0.4.0 | 0.4.10.3.x
Releases - 0.3.0 | 0.3.1
Released on 2017-07-12
LocalizationContext
is now a public variable onSpace
so that SDK consumers can direclty initializeEntry
orAsset
instances from bundled JSON.
Released on 2017-06-20
- Delta messages were not always forwarded to
PersistenceIntegration
when callingClient.nextSync()
andClient.initialSync()
in #71
Released on 2017-06-19
- BREAKING: Subsequent sync is now a method on the
Client
callednextSync
rather than being a method onSyncSpace
.
PersistenceIntegration
protocol.Client
can now be initialized with apersisistenceIntegration
which will receive messages whenAsset
s &Entry
s are ready to be transformed to a persistable format and cached in persistent store such as CoreData. Note that this only works for theinitialSync
andnextSync
operations.- The
updatedAt
andcreatedAt
properties of theSys
type are now stored asDate
objects instead of asString
s. Integration
protocol to append information about external integrations to Contentul HTTP user-agent headers.- A
ContentModel
type used to contain mappedContentModellable
(user-defined types) instances rather thanEntry
&Asset
s. - Support for
initialSync
when using the Content Preview API.
Released on 2017-06-12
ImageOption
that changed background using `Fit.pad(with: Color) now generates the correct URL.- Build error for watchOS caused by file from test target being added to watch target.
Released on 2017-06-12
- Support for mirroring API fallback locale logic in the SDK for scenarios when all locales are returned (i.e. when using the
/sync
endpoint or specifinglocale=*
) - Support for HTTP rate limit headers
- Unintentionally triggered Swift errors that were thrown during JSON deserialization.
- Fixed by @loudmouth in #71
- Crash when using contentful-persistence.swift caused by missing
defaultLocale
property: Issue #68 and #65- Fixed by @sebastianludwig and @tapwork in #70.
Released on 2017-05-31
- Better support and Swifty API for Images API.
Released on 2017-05-23.
- Potential crash during sync callback due to unretained
SyncSpace
instance
Released on 2017-05-18.
- Swift'ier API for Contentful Delivery API Search Parameters
- Mechanism for mapping responses to user-defined Swift types when using
QueryOn
queries. - Improved link resolving via the new
Link
type - Swift 3.1, Xcode 8.3 support.
- BREAKING:
Contentful.Array
is now calledArrayResponse
to avoid clashing with native Swift arrays. - BREAKING:
fetch
methods no longer return tuples of(URLSessionTask?, Observable)
and now simply return the observable.
Released on 2017-02-03.
- Support for installation via Carthage on all of iOS, macOS, tvOS, & watchOS.
Released 2017-01-08.
- BREAKING: Upgrade to Swift 3 and Xcode 8. Versions of Swift < 3 and Xcode < 8 no longer supported.