Add api-extractor for public API surface tracking#723
Merged
Conversation
fe83e65 to
32fb504
Compare
32fb504 to
e481a96
Compare
tonidero
approved these changes
Mar 13, 2026
tonidero
left a comment
Contributor
There was a problem hiding this comment.
Looks great! Thanks for adding this! One thing is, we should add these 2 as required jobs to merge to main after this is merged.
…pacitor-ui Set up API surface tracking using api-extractor for both packages: - Add api-extractor.json config and extract-api script to both packages - Generate initial golden .api.md files in api-report/ directories - Add check-api-changes and check-api-changes-ui CI jobs to detect unintentional API changes on every build - Add api-report to .eslintignore for both packages - Add temp/ to .gitignore (api-extractor working directory)
e481a96 to
ef9e0b1
Compare
Member
Author
Done, this is now a required job :) |
This was referenced Mar 18, 2026
facumenzella
pushed a commit
that referenced
this pull request
Mar 19, 2026
**This is an automatic release.** ## RevenueCat SDK ### ✨ New Features * Add platform-specific PaywallPresentationConfiguration to purchases-capacitor-ui (#730) via Jeffrey Bunn (@Jethro87) * Add trackCustomPaywallImpression API with offeringId override (#725) via Rick (@rickvdl) ### 📦 Dependency Updates * [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.52.0 (#732) via RevenueCat Git Bot (@RCGitBot) * [Android 9.26.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.1) * [Android 9.26.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.0) * [iOS 5.65.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.65.0) * [iOS 5.64.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.64.0) * Updates purchases-hybrid-common to 17.51.1 (#729) via RevenueCat Git Bot (@RCGitBot) * [Android 9.26.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.1) * [Android 9.26.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.0) * [iOS 5.65.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.65.0) * [iOS 5.64.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.64.0) * [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.49.0 (#724) via RevenueCat Git Bot (@RCGitBot) * [Android 9.26.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.1) * [Android 9.26.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.0) * [iOS 5.65.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.65.0) * [iOS 5.64.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.64.0) * [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.48.0 (#722) via RevenueCat Git Bot (@RCGitBot) * [Android 9.26.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.1) * [Android 9.26.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.26.0) * [iOS 5.65.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.65.0) * [iOS 5.64.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.64.0) ## RevenueCatUI SDK ### Paywallv2 #### ✨ New Features * Add customVariables support to purchases-capacitor-ui (#734) via Facundo Menzella (@facumenzella) ### 🔄 Other Changes * Add docs for new Paywall presentation APIs (#733) via Toni Rico (@tonidero) * Bump fastlane-plugin-revenuecat_internal from `3e8c384` to `9a6911b` (#731) via dependabot[bot] (@dependabot[bot]) * Add api-extractor for public API surface tracking (#723) via Rick (@rickvdl) * Bump fastlane-plugin-revenuecat_internal from `e146447` to `3e8c384` (#726) via dependabot[bot] (@dependabot[bot]) * Add Galaxy to the README (#721) via Will Taylor (@fire-at-will)
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
purchases-capacitorandpurchases-capacitor-uito automatically track public API surface changes.api.mdreport files that act as a snapshot of the current public APIcheck-api-changesandcheck-api-changes-uiCI jobs that fail if the API report is out of dateHow it works
api-extractoranalyzes the TypeScript declarations and generates a markdown report of all public exportsapi-extractorand checksgit diff --exit-code api-report/— if the report changed, the developer needs to regenerate and commit the updated golden filepurchases-hybrid-common,react-native-purchases, andpurchases-js