You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate some clusters in Matter.framework that should never have shipped (#35584)
* Temporarily add clusters that should never have shipped to availability.yaml as deprecated.
BarrierControl, BinaryInputBasic, ElectricalMeasurement,
OnOffSwitchConfiguration were never certifiable and should not have shipped.
Add them as deprecated with a dummy release that has some future-enough version
numbers.
* Regenerate generated code with deprecations.
* Mark these clusters as removed and move them out of generated code and into manual shims.
This should only have moved code, not new code.
* Regenerate generated code with the clusters removed.
This has no changes to API headers.
* Regenerate darwin-framework-tool.
Copy file name to clipboardexpand all lines: src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt
+11-11
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
16
16
*
17
17
* {{description}}
18
18
*/
19
-
{{availability (asUpperCamelCase name preserveAcronyms=true)}}
19
+
{{availability (asUpperCamelCase name preserveAcronyms=true) deprecationMessage=(concat (asUpperCamelCase name preserveAcronyms=true) " is deprecated and will be removed")}}
20
20
@interface MTRBaseCluster{{asUpperCamelCase name preserveAcronyms=true}} : MTRGenericBaseCluster
queue:(dispatch_queue_t)queue {{availability (asUpperCamelCase name preserveAcronyms=true) minimalRelease="267F4B03-3256-4056-A62D-5237640FDCFE"}};
92
+
queue:(dispatch_queue_t)queue {{availability (asUpperCamelCase name preserveAcronyms=true) minimalRelease="267F4B03-3256-4056-A62D-5237640FDCFE" deprecationMessage=(concat (asUpperCamelCase name preserveAcronyms=true) " is deprecated and will be removed")}};
Copy file name to clipboardexpand all lines: src/darwin/Framework/CHIP/templates/MTRClusters.zapt
+7-7
Original file line number
Diff line number
Diff line change
@@ -16,28 +16,28 @@ NS_ASSUME_NONNULL_BEGIN
16
16
* Cluster {{name}}
17
17
* {{description}}
18
18
*/
19
-
{{availability (asUpperCamelCase name preserveAcronyms=true)}}
19
+
{{availability (asUpperCamelCase name preserveAcronyms=true) deprecationMessage=(concat (asUpperCamelCase name preserveAcronyms=true) " is deprecated and will be removed")}}
20
20
@interface MTRCluster{{asUpperCamelCase name preserveAcronyms=true}} : MTRGenericCluster
21
21
22
22
{{#zcl_commands}}
23
23
{{#if (is_str_equal source 'client')}}
24
24
{{! Takes two arguments: cluster name and command name, plus the ambient state where the command is "this" }}
queue:(dispatch_queue_t)queue {{availability (asUpperCamelCase name preserveAcronyms=true) minimalRelease="267F4B03-3256-4056-A62D-5237640FDCFE"}};
88
+
queue:(dispatch_queue_t)queue {{availability (asUpperCamelCase name preserveAcronyms=true) minimalRelease="267F4B03-3256-4056-A62D-5237640FDCFE" deprecationMessage=(concat (asUpperCamelCase name preserveAcronyms=true) " is deprecated and will be removed")}};
0 commit comments