Carlos v0.4 Release Notes

Release Date: 2015-10-04 // over 8 years ago
  • Major changes

    • ➕ Adds a Fetcher protocol that you can use to create your custom fetchers.
    • ➕ Adds the possibility to transform values coming out of Fetcher instances through OneWayTransformer objects without forcing them to be TwoWayTransformer as in the case of transforming values of CacheLevel instances
    • ➕ Adds a JSONCache function to CacheProvider
    • ➕ Adds output processers to process/sanitize values coming out of CacheLevels (see postProcess)
    • ➕ Adds a way to compose multiple OneWayTransformers through functions, operators and protocol extensions
    • ➕ Adds a way to compose multiple TwoWayTransformers through functions, operators and protocol extensions
    • ➕ Adds a normalize function and protocol extension transforming CacheLevel instances into BasicCache ones to make it easier to store instance properties
    • ➕ Adds a JSONTransformer class conforming to TwoWayTransformer
    • ➕ Adds a ImageTransformer class for the iOS and WatchOS 2 frameworks conforming to TwoWayTransformer
    • ➕ Adds a StringTransformer class conforming to TwoWayTransformer

    Minor improvements

    • invert is now available as a protocol extension to the TwoWayTransformer protocol

    WatchOS 2

    • ➕ Adds WatchOS 2 support through CocoaPods

    tvOS

    • ➕ Adds framework support for tvOS