Skip to content

Latest commit

 

History

History
executable file
·
323 lines (230 loc) · 12.5 KB

CHANGELOG.md

File metadata and controls

executable file
·
323 lines (230 loc) · 12.5 KB

Change Log

3.x Releases

2.x Releases

1.x Releases

0.x Releases


Added

Changed

Changed

  • Handle empty landing pages with HTML meta redirects
  • fixed youtube and open graph tags image metadata issues
  • Fixed github link image for og:image property.

Changed

  • Updated Package.swift to swift-tools-version:4.2
  • Fixes the NSRange to use a String defined range instead of inferring length from the count property

Changed

Added

Released on 2019-01-02.

Added

Changed

  • Response is now a swift struct instead of a Dictionary<String, Any>
  • Moving to Swift 4.2

Released on 2018-09-23.

Changed

Released on 2018-06-07.

Changed

  • Improved scraping - issues #70 #86
  • Handle in-url redirections - issue #83
  • Swift 4.2 Compatibility - issue #85

Released on 2018-01-06.

Changed

  • Improved scraping
  • Improved error logging
  • Retry as GET if HEAD is redirected
  • String charset set to UTF16
  • No force wrapping

Released on 2017-11-09.

Added

Released on 2017-07-24.

Added

Released on 2017-07-06.

Changed

Released on 2017-06-08.

Changed

Released on 2017-04-15.

Changed

Released on 2017-03-13.

Changed

  • Renamed the Objective-C compatible wrapper fro the preview method to previewLink. This resolves ambiguous method errors in Swift builds - issue #41.

Released on 2017-03-09.

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.

Released on 2017-02-24.

Changed

  • Local analysis out of threads.
  • iOS8 backport compatibility

Fixed

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.




Released on 2016-09-17.

Added

Released on 2016-09-14.

Added




Released on 2016-09-04.

Fixed

Released on 2016-07-19.

Added

  • Background task.

Removed

  • Removed resources from podspec file.

Released on 2016-07-19.

Added

  • Improved crawling. itemprop is now a supported meta property.
  • More tests.

Removed

  • Removed unnecessary data from the code such as style, link, comments and script for faster analysis. Additionally I've put it inside a dispatch_async. #19

Released on 2016-07-16.

Added

  • Improved URL parsing. No need to add http:// or https:// in the start of an URL anymore. #17
  • URL parsing tests.
  • Tests for other platforms.

Fixed

  • Image url uses finalUrl host component rather than its full path

Released on 2016-07-13.

Added

Removed

  • Remove Package.swift from .xcproject to avoid build issues. Still supporting SPM though. #16

Released on 2016-07-11.

Added

Fixed

  • Crash when parsing pages without title - #11

Released on 2016-07-04.

Added

Released on 2016-06-25.

Added

Removed

Released on 2016-06-23.

Added