Skip to content

feat: stable API versioning checks#9105

Merged
tjzel merged 2 commits into
mainfrom
@tjzel/worklets/stable-api-checks
Mar 18, 2026
Merged

feat: stable API versioning checks#9105
tjzel merged 2 commits into
mainfrom
@tjzel/worklets/stable-api-checks

Conversation

@tjzel

@tjzel tjzel commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adding compilation checks to the Stable API bindings.

StableApi.h now declares which version of Worklets introduced the current version of the stable header. Api consumers like Reanimated can verify if this version is the expected version to use.

Test plan

Change the value of WORKLETS_STABLE_API_VERSION to see that the static_assert fails.

This comment was marked as resolved.

@tjzel tjzel added this pull request to the merge queue Mar 18, 2026
Merged via the queue into main with commit f286c5f Mar 18, 2026
21 checks passed
@tjzel tjzel deleted the @tjzel/worklets/stable-api-checks branch March 18, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants