Skip to content

ADNKit 1.1.2 Release Notes

joeldev edited this page Apr 13, 2013 · 2 revisions

ANKClient Improvements

  • Added -isAuthenticated for determining if an ANKClient instance has been authed or not.

  • Added -logOut. I don't want people to have to know ADNKit implementation details to know how to log a user out.

  • Added a better API for creating files from existing ANKFile objects.

ANKFile and ANKAnnotation Improvements

  • ANKAnnotation now has a method +oembedAnnotationForFile for easily creating an image oembed from a file.

  • ANKFile now supports the image_info object that is sent back for images.

  • ANKFile now has an -isImage method.

ANKTokenLimits

  • ANKTokenStatus now exposes a new token limits object, which includes a user's max allowed file upload size (in bytes)

Bug Fixes

  • The meta parameter is now passed back in all cases.

  • Fixed a rare crash when no errorID is passed back in response meta.

  • Fixed an infinite loop with one of ANKClient's messaging API calls. (thanks @wjl)

  • Fixed a crash in ANKResource.

  • Fixed a problem embedding ANKFile objects in ANKAnnotations.