1.1.1 (2017-04-06)
- Compatibility with Swift 4.1.
- Fix bug with media objects JSON decoding (#26).
1.1.0 (2017-01-21)
- 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], ...)
retrieveAccessToken()method is now public (#15).storeAccessToken()is also public (#17).
- Problem with all the HTTP POST requests (e.g. #20).
1.0.6 (2017-11-03)
- JSON parser improvements.
- General source code improvements.
searchLocation()method attributeslatandlnghave been replaced bycoordinates.isSessionValid()method has been renamed toisAuthenticated(property).- Change key for keychain (#11).
- Better handling of #7 bug.
1.0.5 (2017-10-18)
- The
SuccessandFailurehandlers, for all the API endpoints, are no longer nullable.
- Fixed the bug parsing
InstagramMediaobjects with alocationproperty (#7).
1.0.4 (2017-10-10)
- 100% documented code.
- Now, the redirection URI must be defined in the Info.plist file. See wiki.
- The
createdTimeattribute of the classesInstagramCommentandInstagramMediahas been renamed tocreatedDateand returns an object of typeDate. - Improves Codebeat GBA.
- Fixed the type of the returned errors.
1.0.3 (2017-10-08)
- Improved documentation.
InstagramAuthScoperenamed toInstagramScope.
1.0.2 (2017-10-07)
InstagramLoginViewControllerhides automatically when concludes.@discardableResulttologout()method.
- Better code organization, especially for networking.
- Authorization process errors are now correctly captured.
- Travis CI build error.
1.0.1 (2017-10-03)
- Use of
DispatchQueuefor parsing JSON and calling callback functions.
- 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 (
successandfailure) instead of just one.
- Login page
WKWebViewnow fits correctly when rotating device.
1.0.0 (2017-09-30)
- Initial release.