Skip to content

README: add note about preview API stability#6314

Open
jeanregisser wants to merge 6 commits intomasterfrom
jeanregisser/versioning-docs
Open

README: add note about preview API stability#6314
jeanregisser wants to merge 6 commits intomasterfrom
jeanregisser/versioning-docs

Conversation

@jeanregisser
Copy link
Copy Markdown

@jeanregisser jeanregisser commented Apr 7, 2026

Summary

Adds a small note to the README clarifying that @_spi (preview/beta) APIs carry no stability guarantees and may have breaking changes in minor versions.

Motivation

This came up in #6230 where a contributor was surprised that a breaking @_spi change required a MINOR version bump. Discussed in the iOS team Slack thread.

Testing

Documentation only.

Changelog

N/A

Copy link
Copy Markdown
Contributor

@davidme-stripe davidme-stripe left a comment

Choose a reason for hiding this comment

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

Discussing offline

@jeanregisser jeanregisser changed the title README: document versioning convention for SPI API changes README: add note about preview API stability Apr 8, 2026
Document the SDK's versioning policy, specifically:
- All modules share a single version number
- Breaking changes to @_spi (beta/preview) APIs require a MINOR bump
- This is because podspecs use ~> X.Y.Z, so a breaking SPI change
  in a PATCH release could break consumers like stripe-react-native
- @_spi APIs carry no long-term stability guarantees

Committed-By-Agent: goose
@jeanregisser jeanregisser force-pushed the jeanregisser/versioning-docs branch from 3209bc1 to 0909f53 Compare April 8, 2026 22:57
Added a section on preview APIs and their stability guarantees.
Added a note about the usage of @_spi(STP) APIs for internal use only.
davidme-stripe
davidme-stripe previously approved these changes Apr 8, 2026
Removed note about @_spi(STP) APIs being reserved for internal use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants