Skip to content

Latest commit

 

History

History
98 lines (71 loc) · 3.65 KB

CHANGELOG.md

File metadata and controls

98 lines (71 loc) · 3.65 KB

LayerVaultAPI CHANGELOG

3.0.4

  • Using a file stream instead of reading file data into memory.

3.0.3

  • Caching NSDateFormatter so we don’t have to create multiple copies during each difference operation.

3.0.2

  • Remove credential.expired check for deciding if we need to request a new credential. If the client time is ahead of the server time, the server could still send the same credential even though the client things it’s expired. Instead, we will rely on HTTP 401 exclusively to determine if we need to request a new credential.

3.0.1

  • Updating documentation might be useful.

3.0.0

  • Remove authenticating with refresh token.
  • Add ‘token expired’ authentication state.
  • Save requests while token expired.
  • re-run saved requests when re-authenticated.

2.5.0

  • Added size to LVCFileRevision.
  • Fixed an alert about coding convention.

2.4.2

  • Fix issue where unexpected refresh token failure would not log us out.

2.4.1

  • Remove file_size assert. File size of 0 issues should be handled higher up the stack, or in the response.

2.4.0

  • Added userRole to LVCOrganization.
  • Added LVCFileSyncStatusUnsupportedType to LVCFile.

2.3.0

  • All syncChecking requires a file size parameter.
  • Deprecated checkSyncStatusForFilePath:md5:completion:
  • Added checkSyncStatusForFileAtRemotePath:md5:fileSize:completion:

2.2.1

  • Fixed an issue where failed refresh authentication would prevent other url requests from executing.

2.2.0

  • Added loginWithEmail:password:completion: to LVCAuthenticatedClient

2.1.0

  • Fixed LVCAuthenticatedClient to only refresh the token once, even if multiple requests attempt it concurrently.
  • Added NSURLRequest and NSMutableURLRequest OAuth bearer additions.

2.0.2

  • Fixed LVCAuthenticatedClient, logout only called when /oauth/token return 401.

2.0.1

  • Fixed LVCAuthenticatedClient, refresh token always on 401 OR credential expired.

2.0.0

  • LVCAuthenticatedClient is now considered authenticated only when a credential is set (user property no longer a factor).
  • - [LVCAuthenticatedClient authenticationCallback] no-longer passes a user. Instead passes success and operation.

1.2.0

  • Added LVCAmazonS3Bucket to handle S3 Region buckets.

1.1.1

  • Fixed nil key insertions in LVCAmazonS3Client.

1.1.0

  • Only refresh credential when we get 401 AND the credential is expired.
  • Added syncType property to LVCOrganization.

1.0.0

  • Added LVCOAuthCredentialStorage to give more flexibility with OAuth Credentials.
  • Removed automatic saving to the keychain in LVCAuthenticatedClient.
  • Many LVCHTTPClientMethods that take a path must now be percent encoded. See method doc for more info.
  • Added NSString+PercentEncoding to force percent encoding on reserved characters. Useful for filenames that may contain these reserved characters.
  • Added userID property to LVCUser.
  • Added percentEncodedURLPath property to LVCNode and LVCFileRevision.
  • Exposed NSString *mimeForFile(NSURL *fileURL) in LVCAmazonS3Client.
  • Fixed issue where refreshing a token during /me would never execute completion.
  • Calling - getMeWithCompletion: will always update the user property in LVCAuthenticatedClient.
  • Added + colorLabelForName: to LVCColorUtils.
  • Fixed a crash with the demo application when the first organization doesn’t have and projects.
  • Fixed some compiler warning with LVCMockResponses.

0.2.0

  • Added LVCAutenticatedClient to abstract out:
    • Handling Refresh Tokens
    • Keychain Support
    • Getting the Logged In User
  • Exposed defaultBaseURL in LVCHTTPClient
  • Fixed some non-passing tests

0.1.0

Initial release.