Initial commit of Cxx API snapshots (#56152)#56152
Open
coado wants to merge 1 commit intofacebook:mainfrom
Open
Initial commit of Cxx API snapshots (#56152)#56152coado wants to merge 1 commit intofacebook:mainfrom
coado wants to merge 1 commit intofacebook:mainfrom
Conversation
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Pull Request resolved: facebook#56152 ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: Pull Request resolved: facebook#56152 ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
coado
added a commit
to coado/react-native
that referenced
this pull request
Mar 20, 2026
Summary: ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
Summary: Pull Request resolved: facebook#56152 ## Summary Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs. Six snapshot files are generated, covering three targets in two build variants each: | Target | Debug | Release | |---|---|---| | **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` | | **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` | | **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` | Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface. The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D97296573
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Summary
Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as
.apifiles, enabling tracking of API changes across diffs.Six snapshot files are generated, covering three targets in two build variants each:
ReactCommonDebugCxx.apiReactCommonReleaseCxx.apiReactAndroidDebugCxx.apiReactAndroidReleaseCxx.apiReactAppleDebugCxx.apiReactAppleReleaseCxx.apiDebug and Release variants differ in preprocessor definitions (e.g.,
DEBUG/REACT_NATIVE_DEBUGvsNDEBUG/REACT_NATIVE_PRODUCTION), which can affect conditional compilation and the resulting public API surface.The snapshots are generated by the
scripts/cxx-apitool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies.Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D97296573