SwiftLinkPreview v2.0.0 Release Notes

  • ๐Ÿš€ Released on 2017-01-19.

    ๐Ÿ”„ Changed

    • Fully asynchronous (DispatchQueue).
    • โœ‚ Removed global state
    • ๐Ÿ‘ Better response dictionary subscription via Enum
    • ๐Ÿ”ง Configurable via constructor (URLSession, Work Queue, Response Queue)

    โž• Added

    • ๐Ÿ‘ Caching support (InMemoryCache, but can be extended to other types)

    API breaking changes

    • Subscriptions via Enum require changes in current code
    • ๐Ÿ”ง preview method returns a Cancellable object with cancel method. This allows reusing of single configured SLP instance for multiple requests. cancel method removed from SwiftLinkPreview class.