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
Auto-generate availability annotations for Darwin. (#24071)
* Auto-generate availability annotations for Darwin.
The changes to the generated code are as follows:
* MTRBaseClusters.h:
* Some newlines after MTR_NEWLY_AVAILABLE were removed. This led to a
smaller diff than adding blank lines in all the places that do not use
MTR_NEWLY_AVAILABLE. The newlines will return once we add availability
annotations to everything we shipped in the initial Matter release, in a
followup.
* MTRLevelControlOptions gained the availability annotation it was missing.
* Enum and bitmap values now have availability annotations.
* MTRClusterConstants.h:
* ClientMonitoring bits that should not have been generated (because it was
added after we made the API changes that those bits are backwards compat
shims for) were removed.
* The availability annotations on
MTRClusterDescriptorAttributeDeviceTypeListID got reordered (because the
new autogenerated things put API_AVAILABLE before the deprecation
annotation).
* MTRClusters.h:
* Some newlines after MTR_NEWLY_AVAILABLE were removed, similar to
MTRBaseClusters.h.
* Various selectors on clusters that have been newly added (e.g. due to
renames) now have the right availability annotations. Most of the diff
here is from the UnitTesting cluster.
* Some typos in deprecation messages ("writeAtribute" instead of
"writeAttribute" were fixed).
* MTRCommandPayloadsObjc.h
* Commands fields now have availability annotations.
* MTRClientMonitoringClusterRegisterClientMonitoringParams and
MTRClientMonitoringClusterStayAwakeRequestParams gained the availability
annotation they were missing.
* MTRStructsObjc.h
* Struct fields now have availability annotations.
* Deprecation annotation added to MTRDescriptorClusterDeviceType.
* MTRClientMonitoringClusterMonitoringRegistration gained the availability
annotation it was missing.
* Fixes#23880
* Fixes#23680
* Address review comments:
* Put the availability data filename in templates.json.
* Deprecation of a container should deprecate all its contents.
* Add renames as well.
* Update to containers with newer ZAP.
{{availability "Descriptor" attribute="DeviceTypeList" deprecatedRelease="First major API revamp" deprecationMessage="Please use MTRAttributeIDTypeClusterDescriptorAttributeDeviceTypeListID" isForIds=true}}
53
57
= {{asMEI manufacturerCode code}},
54
-
{{!Backwards compat for now: DeviceList as an alias for DeviceTypeList}}
0 commit comments