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
{{ message }}
Repository navigation
Mark the non-customer API that hybrid SDKs use #6039
As we mark more SDK surface @ApiStatus.Internal ahead of v9 package moves, some types/methods are still consumed by hybrid SDKs (Flutter, React Native, etc.) even when they are not customer-facing.
@ApiStatus.Internal alone does not distinguish hybrid-facing surface from pure SDK plumbing, so hybrid consumers can be broken by a later relocate/remove pass.
Known examples called out during review of the utils Internal pass:
io.sentry.util.LoadClass
io.sentry.util.TracingUtils
Context: NoOp stubs and most util helpers were recently marked Internal (#6016, #6017); hybrids were explicitly left unmarked for now.
Action taken on behalf of Nelson Osacky.
Decision
Add a source-retention marker annotation, @HybridSdkApi, with no attributes. Put it on every non-customer element that a hybrid SDK uses:
types and members marked @ApiStatus.Internal
types in internal packages
public members that only hybrid SDKs call, such as the extra ReplayIntegration constructor
Customer-facing API is left unmarked, since semver already protects it. Before changing or removing a marked element, check the hybrid SDKs that use it.
Activity
linear-code commentedon Sep 2, 2026
JAVA-719
[-]Decide hybrid SDK API marker for v9[/-][+]Mark the non-customer API that hybrid SDKs use[/+]