CHIP iOS 15.5 to 16.0 API Differences

CHIPAttributeCacheContainer.h
Removed -[CHIPAttributeCacheContainer subscribeWithDeviceController:deviceId:clientQueue:completion:]
Modified -[CHIPAttributeCacheContainer readAttributeWithEndpointId:clusterId:attributeId:clientQueue:completion:]
Declaration
From- (void)readAttributeWithEndpointId:(NSUInteger)endpointId clusterId:(NSUInteger)clusterId attributeId:(NSUInteger)attributeId clientQueue:(nonnull dispatch_queue_t)clientQueue completion:(nonnull void (^)(NSArray<NSDictionary<NSString *,id> *> * _Nullable, NSError * _Nullable))completion
To- (void)readAttributeWithEndpointId:(nullable NSNumber *)endpointId clusterId:(nullable NSNumber *)clusterId attributeId:(nullable NSNumber *)attributeId clientQueue:(nonnull dispatch_queue_t)clientQueue completion:(nonnull void (^)(NSArray<NSDictionary<NSString *,id> *> * _Nullable, NSError * _Nullable))completion

CHIPCluster.h
Added CHIPSubscribeParams.autoResubscribe
CHIPCommissioningParameters.h
Added CHIPCommissioningParameters.deviceAttestationDelegate
Added CHIPCommissioningParameters.failSafeExpiryTimeoutSecs
CHIPDevice.h
Removed kCHIPTagKey
Removed kCHIPSignedIntegerValueTypeKey
Removed kCHIPUnsignedIntegerValueTypeKey
Removed kCHIPBooleanValueTypeKey
Removed kCHIPUTF8StringValueTypeKey
Removed kCHIPOctetStringValueTypeKey
Removed kCHIPFloatValueTypeKey
Removed kCHIPDoubleValueTypeKey
Removed kCHIPNullValueTypeKey
Removed kCHIPStructureValueTypeKey
Removed kCHIPArrayValueTypeKey
Removed kCHIPListValueTypeKey
Removed kCHIPEndpointIdKey
Removed kCHIPClusterIdKey
Removed kCHIPAttributeIdKey
Removed kCHIPCommandIdKey
Removed kCHIPStatusKey
Removed -[CHIPDevice subscribeWithQueue:minInterval:maxInterval:reportHandler:subscriptionEstablished:]
Removed -[CHIPDevice readAttributeWithEndpointId:clusterId:attributeId:clientQueue:completion:]
Removed -[CHIPDevice writeAttributeWithEndpointId:clusterId:attributeId:value:clientQueue:completion:]
Removed -[CHIPDevice invokeCommandWithEndpointId:clusterId:commandId:commandFields:clientQueue:completion:]
Removed -[CHIPDevice subscribeAttributeWithEndpointId:clusterId:attributeId:minInterval:maxInterval:clientQueue:reportHandler:subscriptionEstablished:]
Added kCHIPAttributePathKey
Added kCHIPCommandPathKey
Added kCHIPErrorKey
Added kCHIPContextTagKey
Added kCHIPSignedIntegerValueType
Added kCHIPUnsignedIntegerValueType
Added kCHIPBooleanValueType
Added kCHIPUTF8StringValueType
Added kCHIPOctetStringValueType
Added kCHIPFloatValueType
Added kCHIPDoubleValueType
Added kCHIPNullValueType
Added kCHIPStructureValueType
Added kCHIPArrayValueType
Added -[CHIPDevice subscribeWithQueue:minInterval:maxInterval:params:cacheContainer:reportHandler:subscriptionEstablished:]
Added -[CHIPDevice readAttributeWithEndpointId:clusterId:attributeId:params:clientQueue:completion:]
Added -[CHIPDevice writeAttributeWithEndpointId:clusterId:attributeId:value:timedWriteTimeout:clientQueue:completion:]
Added -[CHIPDevice invokeCommandWithEndpointId:clusterId:commandId:commandFields:timedInvokeTimeout:clientQueue:completion:]
Added -[CHIPDevice subscribeAttributeWithEndpointId:clusterId:attributeId:minInterval:maxInterval:params:clientQueue:reportHandler:subscriptionEstablished:]
Added +[CHIPAttributePath attributePathWithEndpointId:clusterId:attributeId:]
Added CHIPCommandPath
Added CHIPCommandPath.endpoint
Added CHIPCommandPath.cluster
Added CHIPCommandPath.command
Added +[CHIPCommandPath commandPathWithEndpointId:clusterId:commandId:]
CHIPDeviceAttestationDelegate.h
Added CHIPDeviceAttestationDelegate
Added -[CHIPDeviceAttestationDelegate deviceAttestation:failedForDevice:error:]
CHIPDeviceController.h
Added -[CHIPDeviceController continueCommissioningDevice:ignoreAttestationFailure:error:]
Added -[CHIPDeviceController startup:vendorId:nocSigner:paaCerts:]
CHIPDeviceController+XPC.h
Removed -[CHIPDeviceControllerServerProtocol readAttributeWithController:nodeId:endpointId:clusterId:attributeId:completion:]
Removed -[CHIPDeviceControllerServerProtocol writeAttributeWithController:nodeId:endpointId:clusterId:attributeId:value:completion:]
Removed -[CHIPDeviceControllerServerProtocol invokeCommandWithController:nodeId:endpointId:clusterId:commandId:fields:completion:]
Removed -[CHIPDeviceControllerServerProtocol subscribeAttributeWithController:nodeId:endpointId:clusterId:attributeId:minInterval:maxInterval:establishedHandler:]
Removed -[CHIPDeviceControllerServerProtocol subscribeAttributeCacheWithController:nodeId:completion:]
Removed -[CHIPDeviceControllerClientProtocol handleReportWithController:nodeId:value:error:]
Added +[CHIPDeviceController encodeXPCResponseValues:]
Added +[CHIPDeviceController decodeXPCResponseValues:]
Added +[CHIPDeviceController encodeXPCReadParams:]
Added +[CHIPDeviceController decodeXPCReadParams:]
Added +[CHIPDeviceController encodeXPCSubscribeParams:]
Added +[CHIPDeviceController decodeXPCSubscribeParams:]
Added -[CHIPDeviceControllerServerProtocol readAttributeWithController:nodeId:endpointId:clusterId:attributeId:params:completion:]
Added -[CHIPDeviceControllerServerProtocol writeAttributeWithController:nodeId:endpointId:clusterId:attributeId:value:timedWriteTimeout:completion:]
Added -[CHIPDeviceControllerServerProtocol invokeCommandWithController:nodeId:endpointId:clusterId:commandId:fields:timedInvokeTimeout:completion:]
Added -[CHIPDeviceControllerServerProtocol subscribeAttributeWithController:nodeId:endpointId:clusterId:attributeId:minInterval:maxInterval:params:establishedHandler:]
Added -[CHIPDeviceControllerServerProtocol stopReportsWithController:nodeId:completion:]
Added -[CHIPDeviceControllerServerProtocol subscribeWithController:nodeId:minInterval:maxInterval:params:shouldCache:completion:]
Added -[CHIPDeviceControllerClientProtocol handleReportWithController:nodeId:values:error:]
Modified -[CHIPDeviceControllerServerProtocol readAttributeCacheWithController:nodeId:endpointId:clusterId:attributeId:completion:]
Declaration
From- (void)readAttributeCacheWithController:(nullable id)controller nodeId:(uint64_t)nodeId endpointId:(NSUInteger)endpointId clusterId:(NSUInteger)clusterId attributeId:(NSUInteger)attributeId completion:(nonnull void (^)(id _Nullable, NSError * _Nullable))completion
To- (void)readAttributeCacheWithController:(nullable id)controller nodeId:(uint64_t)nodeId endpointId:(nullable NSNumber *)endpointId clusterId:(nullable NSNumber *)clusterId attributeId:(nullable NSNumber *)attributeId completion:(nonnull void (^)(id _Nullable, NSError * _Nullable))completion