Skip to content

chore(segment-session-replay-plugin-react-native): update session-replay-react-native dependency #1199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

aliaksandr-kazarez
Copy link
Contributor

…lay-react-native dependency

Summary

update SR SDK versions dependency to be less restrictive

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: no

Copy link

promptless bot commented Jul 8, 2025

✅ No documentation updates required.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Bug: Version Constraint Mismatch Causes Incompatibility

Inconsistent version constraints for @amplitude/session-replay-react-native between devDependencies (>=0.0.1-beta.2 <1.0.0) and peerDependencies (*). This allows users to install older, incompatible versions (e.g., 0.0.1-beta.1), potentially causing runtime failures.

packages/segment-session-replay-plugin-react-native/package.json#L54-L61

"devDependencies": {
"@amplitude/session-replay-react-native": ">=0.0.1-beta.2 <1.0.0",
"@segment/analytics-react-native": "2.15.0",
"react-native-builder-bob": "^0.20.3"
},
"peerDependencies": {
"@amplitude/session-replay-react-native": "*",
"@segment/analytics-react-native": ">= 2.2.0 < 3"

Fix in CursorFix in Web


Comment bugbot run to trigger another review on this PR
Was this report helpful? Give feedback by reacting with 👍 or 👎

@Dogfalo Dogfalo self-requested a review July 8, 2025 18:36
@aliaksandr-kazarez aliaksandr-kazarez merged commit 6325ae6 into main Jul 8, 2025
10 checks passed
@aliaksandr-kazarez aliaksandr-kazarez deleted the chor/segment-sr-rn-version-dependency branch July 8, 2025 18:44
daniel-graham-amplitude pushed a commit that referenced this pull request Jul 10, 2025
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