Releases: contentful/contentful.swift
Releases · contentful/contentful.swift
0.9.3
Fixed
- Ensured all functions and instance members had an explicit protection level set.
Added
- Xcode 8 and 9 are now tested on Travis CI for iOS, macOS, and tvOS in a matrix build. You can now rest easy knowing that if you are developing for one of these platforms, the SDK will work for you!
- The Swift playground has been migrated from it's former home to live here, with the main SDK. Instructions have been added to the README.
DataDelegate
protocol to receive callbacks from SDK which contain rawData
from fetches to the API.
0.9.2
Fixed
- Corrupt reference to AppKit extensions in xcodeproj which prevented compilation on macOS. In order to prevent future regressions, travis now runs unit tests for tvOS and macOS.
- Initializer for
ContentModel
which was implicitlyinternal
. The initializer is now exposed as public.
Added
- Convenience methods for extracting typed values, including
Entry
s andAsset
s, fromfields
dictionaries. - Ability to make
Query
s on specific content types without conforming toEntryModellable
.
0.9.1
Added
- Support for installation via Swift Package Manager
0.9.0
Changed
- BREAKING:
Modellable
protocol now splits mapping of regular (non-relationship) fields, and link fields into two separate methods.
Fixed
- #108 circular link references causing recursive loops. Also, duplicate objects being mapped by the system is now fixed. Thanks to @AntonTheDev for help scoping the fix.
0.8.0
Fixed
- Project configuration so that contentful.swift may be built from source without warnings. Thanks to @brentleyjones for the help and guidance. Implications for this change are that:
- Dependencies are still managed with carthage but with the
--use-submodules
flag and the source (i.e. Carthage/Checkouts) is now tracked in git - Now travis doesn't install carthage or use it at all to build the project and Contentful.xcodeproj framework search paths are cleared.
- Dependencies are still managed with carthage but with the
- #100 enabling the usage of contentful.swift in app extensions.
Added
- The previously private
persistenceIntegration
instance variable is now apublic var
which means it can be set anytime afterClient
initialization.