Skip to main content

Versioning and Upgrades

The SDK follows semantic versioning (MAJOR.MINOR.PATCH):

  • Major — backwards-incompatible changes to the public API. Upgrading may require code changes in your app. Migration notes are published in the package changelog.
  • Minor — backwards-compatible new features. Safe to upgrade without code changes.
  • Patch — bug fixes only. Always safe to upgrade.

The SDK is currently at version 0.3.0. While it is still in the 0.x range, minor version bumps may introduce small breaking changes — please review the changelog before upgrading between 0.x releases.

Pinning the Version

For production apps we recommend pinning to an exact version or to a tilde range so that minor changes are not picked up automatically by npm install or yarn:

{
"dependencies": {
"@b2metric/react-native-sdk": "0.3.0"
}
}

After upgrading, re-run cd ios && pod install so that the iOS native module is rebuilt against the new version.