Documentation Archive Developer
Search

CloudKitJS Changes for JavaScript

CloudKitJS

Removed CloudKit.ChangedRecordsResponse
Removed CloudKit.ChangedRecordsResponse.desiredKeys
Removed CloudKit.ChangedRecordsResponse.isChangedRecordsResponse
Removed CloudKit.ChangedRecordsResponse.moreComing
Removed CloudKit.ChangedRecordsResponse.resultsLimit
Removed CloudKit.ChangedRecordsResponse.reverse
Removed CloudKit.ChangedRecordsResponse.syncToken
Removed CloudKit.ChangedRecordsResponse.toString()
Removed CloudKit.ChangedRecordsResponse.zoneID
Removed CloudKit.Container.discoverAllContactUserInfos()
Removed CloudKit.Container.discoverUserInfoWithEmailAddress()
Removed CloudKit.Container.discoverUserInfoWithUserRecordName()
Removed CloudKit.Container.fetchUserInfo()
Removed CloudKit.Database.deleteRecord()
Removed CloudKit.Database.deleteRecordZone()
Removed CloudKit.Database.deleteSubscription()
Removed CloudKit.Database.fetchChangedRecords()
Removed CloudKit.Database.fetchRecord()
Removed CloudKit.Database.fetchRecordZone()
Removed CloudKit.Database.fetchSubscription()
Removed CloudKit.Database.lookupRecords()
Removed CloudKit.Database.saveRecord()
Removed CloudKit.Database.saveRecordZone()
Removed CloudKit.Database.saveSubscription()
Removed CloudKit.Record.zoneID
Removed CloudKit.UserInfo.emailAddress
Removed CloudKit.UserInfo.firstName
Removed CloudKit.UserInfo.isDiscoverable
Removed CloudKit.UserInfo.lastName
Removed CloudKit.UserInfo.userRecordName
Removed CloudKit.UserInfosResponse
Removed CloudKit.UserInfosResponse.isUserInfosResponse
Removed CloudKit.UserInfosResponse.toString()
Removed CloudKit.UserInfosResponse.users
Removed CloudKit.UserInfo [struct]
Added CloudKit.ShareParticipantAcceptanceStatus.REMOVED
Added CloudKit.SharingUIComponent [struct]
Declaration
From
Promise<CloudKit.UserInfo, CloudKit.CKError> setUpAuth ()
To
Promise<CloudKit.UserIdentity, CloudKit.CKError> setUpAuth ()

Declaration
From
Promise<CloudKit.UserInfo, CloudKit.CKError> whenUserSignsIn ()
To
Promise<CloudKit.UserIdentity, CloudKit.CKError> whenUserSignsIn ()

Declaration
From
readonly attribute Object[] zones
To
readonly attribute CloudKit.RecordZone[] zones

Declaration
From
dictionary CloudKit.Record {
    Object created;
    Object modified;
    String recordType;
    String recordName;
    String recordChangeTag;
    Boolean deleted;
    CloudKit.ZoneID zoneID;
    Object<string, CloudKit.RecordField> fields;
}
To
dictionary CloudKit.Record {
    Object created;
    Object modified;
    String recordType;
    String recordName;
    String recordChangeTag;
    Boolean deleted;
    Boolean createShortGUID;
    String shortGUID;
    CKReference parent;
    CKReference share;
    Object<string, CloudKit.RecordField> fields;
}