Skip to content
This repository has been archived by the owner on Oct 14, 2018. It is now read-only.

Latest commit

 

History

History
executable file
·
101 lines (90 loc) · 4.16 KB

CHANGELOG.md

File metadata and controls

executable file
·
101 lines (90 loc) · 4.16 KB

Changelog

1.1.1 (2017-04-06)

Full Changelog

Added

  • Compatibility with Swift 4.1.

Fixed

  • Fix bug with media objects JSON decoding (#26).

1.1.0 (2017-01-21)

Full Changelog

Added

  • You can now use your own authentication method (Read more).
  • New success handlers on:
    • createComment()
    • deleteComment()
    • like(media: ...)
    • unlike(media: ...)
  • Search media and location by latitude and longitude:
    • func searchMedia(latitude: Double? = nil, longitude: Double? = nil, ...)
    • func searchLocation(latitude: Double? = nil, longitude: Double? = nil, ...)
  • New option to get all the permission scopes on login:
    • login(..., withScopes: [.all], ...)

Changed

  • retrieveAccessToken() method is now public (#15).
  • storeAccessToken() is also public (#17).

Fixed

  • Problem with all the HTTP POST requests (e.g. #20).

1.0.6 (2017-11-03)

Full Changelog

Added

  • JSON parser improvements.
  • General source code improvements.

Changed

  • searchLocation() method attributes lat and lng have been replaced by coordinates.
  • isSessionValid() method has been renamed to isAuthenticated (property).
  • Change key for keychain (#11).
  • Better handling of #7 bug.

1.0.5 (2017-10-18)

Full Changelog

Changed

  • The Success and Failure handlers, for all the API endpoints, are no longer nullable.

Fixed

  • Fixed the bug parsing InstagramMedia objects with a location property (#7).

1.0.4 (2017-10-10)

Full Changelog

Added

  • 100% documented code.

Changed

  • Now, the redirection URI must be defined in the Info.plist file. See wiki.
  • The createdTime attribute of the classes InstagramComment and InstagramMedia has been renamed to createdDate and returns an object of type Date.
  • Improves Codebeat GBA.

Fixed

  • Fixed the type of the returned errors.

1.0.3 (2017-10-08)

Full Changelog

Changed

  • Improved documentation.
  • InstagramAuthScope renamed to InstagramScope.

1.0.2 (2017-10-07)

Full Changelog

Added

  • InstagramLoginViewController hides automatically when concludes.
  • @discardableResult to logout() method.

Changed

  • Better code organization, especially for networking.

Fixed

  • Authorization process errors are now correctly captured.
  • Travis CI build error.

1.0.1 (2017-10-03)

Full Changelog

Added

  • Use of DispatchQueue for parsing JSON and calling callback functions.

Changed

  • The source code is now a little simpler thanks to the use of typealias.
  • The structure of the functions has changed, there are two callbacks now (success and failure) instead of just one.

Fixed

  • Login page WKWebView now fits correctly when rotating device.

1.0.0 (2017-09-30)

Added

  • Initial release.