Skip to content

Releases: LeonardoCardoso/SwiftLinkPreview

2.0.7

24 Jul 09:55
039785e
Compare
Choose a tag to compare

Added

2.0.6

06 Jul 10:15
75f3d41
Compare
Choose a tag to compare

Changed

2.0.5

08 Jun 20:17
c679757
Compare
Choose a tag to compare

Changed

2.0.4

15 Apr 16:32
Compare
Choose a tag to compare

Changed

2.0.3

13 Mar 11:38
f450c53
Compare
Choose a tag to compare
  • Renamed the Objective-C compatible wrapper fro the preview method to previewLink. This resolves ambiguous method errors in Swift builds - issue #41.

2.0.2

09 Mar 10:09
6c710cd
Compare
Choose a tag to compare

Added

  • Objective-C init method with no parameters, defaults to the same options as the Swift default parameters.
  • Objective-C init method which allows user to set parameters - passing nil will default the parameters. InMemoryCache is a BOOL parameter to use or not use a cache.
  • Objective-C preview method which returns a dictionary of values on success, and an NSError object on failure which contains a localized error description.

Changed

  • Referenced objects are now derived from NSObject to make them Objective-C compatible.

2.0.1

24 Feb 17:15
99d300a
Compare
Choose a tag to compare

Changed

  • Local analysis out of threads.
  • iOS8 backport compatibility

Fixed

2.0.0

19 Jan 16:09
e00e1d4
Compare
Choose a tag to compare

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.

1.0.1

17 Sep 14:23
Compare
Choose a tag to compare

Added

1.0.0

14 Sep 16:28
Compare
Choose a tag to compare

Added