Skip to content

Exclude symbols with DO_NOT_USE from the public C++ API snapshot (#56346)#56346

Closed
coado wants to merge 2 commits intofacebook:mainfrom
coado:export-D99834673
Closed

Exclude symbols with DO_NOT_USE from the public C++ API snapshot (#56346)#56346
coado wants to merge 2 commits intofacebook:mainfrom
coado:export-D99834673

Conversation

@coado
Copy link
Copy Markdown
Contributor

@coado coado commented Apr 7, 2026

Summary:

Excludes all symbols and members that consists of DO_NOT_USE, like

  • findComponentViewWithTag_DO_NOT_USE_DEPRECATED
  • propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
  • setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
  • findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
  • componentViewName_DO_NOT_USE_THIS_IS_BROKEN
  • ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 7, 2026
@facebook-github-tools facebook-github-tools bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Apr 7, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 7, 2026

@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D99834673.

Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync bot changed the title Exclude symbols with DO_NOT_USE from the public C++ API snapshot Exclude symbols with DO_NOT_USE from the public C++ API snapshot (#56346) Apr 8, 2026
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
@coado coado force-pushed the export-D99834673 branch from d2638a7 to e427647 Compare April 8, 2026 10:40
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:
Pull Request resolved: facebook#56346

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
@coado coado force-pushed the export-D99834673 branch from e427647 to a101883 Compare April 8, 2026 10:44
Summary:
Exclude members from .api snapshots when their types (return type, parameter types, variable type, typedef target, property type) reference excluded symbols. Previously, only compounds whose names matched exclude_symbols patterns were excluded — but members of non-excluded compounds could still reference excluded types, causing dangling type references (e.g., `facebook::yoga::ExperimentalFeature`) to appear in the snapshot.

Changelog:
[Internal]

Differential Revision: D99434605
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
@coado coado force-pushed the export-D99834673 branch from a101883 to 1d4d1d4 Compare April 8, 2026 11:44
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
coado added a commit to coado/react-native that referenced this pull request Apr 8, 2026
…acebook#56346)

Summary:

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
…acebook#56346)

Summary:
Pull Request resolved: facebook#56346

Excludes all symbols and members that consists of `DO_NOT_USE`, like

- findComponentViewWithTag_DO_NOT_USE_DEPRECATED
- propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN
- findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN
- componentViewName_DO_NOT_USE_THIS_IS_BROKEN
- ensurePlaceholderIfEmpty_DO_NOT_USE

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D99834673
@coado coado force-pushed the export-D99834673 branch from 1d4d1d4 to 293a8b8 Compare April 8, 2026 11:49
@meta-codesync meta-codesync bot closed this in 4a88cfb Apr 9, 2026
@facebook-github-tools facebook-github-tools bot added the Merged This PR has been merged. label Apr 9, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 9, 2026

This pull request has been merged in 4a88cfb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants