Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

0.4

Compare
Choose a tag to compare
@vittoriom vittoriom released this 04 Oct 17:22
· 209 commits to master since this release

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