Skip to content

Update to xmtp rn sdk 4.2.0-rc4#77

Merged
thierryskoda merged 2 commits intomainfrom
np/xmtp-rn-sdk-4.2.0-rc4
May 24, 2025
Merged

Update to xmtp rn sdk 4.2.0-rc4#77
thierryskoda merged 2 commits intomainfrom
np/xmtp-rn-sdk-4.2.0-rc4

Conversation

@nplasterer
Copy link
Contributor

@nplasterer nplasterer commented May 24, 2025

Update @xmtp/react-native-sdk dependency from version 4.2.0-dev.73f1217 to 4.2.0-rc4

The @xmtp/react-native-sdk package version changes from development version 4.2.0-dev.73f1217 to release candidate 4.2.0-rc4 in package.json. The corresponding dependency lock information updates in yarn.lock.

📍Where to Start

Start with the dependency version change in package.json.


Macroscope summarized ac8df08.

Summary by CodeRabbit

  • Chores
    • Updated the version of a core dependency to a newer release candidate for improved stability.

@nplasterer nplasterer self-assigned this May 24, 2025
@nplasterer nplasterer requested a review from a team as a code owner May 24, 2025 03:24
@coderabbitai
Copy link

coderabbitai bot commented May 24, 2025

Caution

Review failed

The pull request is closed.

## Walkthrough

The dependency `@xmtp/react-native-sdk` in the `package.json` file was updated from a development build version to a release candidate version. Additionally, the `XMTP` CocoaPod version in the notification service extension Podfile was updated from a development build to the same release candidate version.

## Changes

| File(s)                                         | Change Summary                                                                                  |
|------------------------------------------------|------------------------------------------------------------------------------------------------|
| package.json                                    | Updated `@xmtp/react-native-sdk` from `4.2.0-dev.73f1217` to `4.2.0-rc4`                        |
| plugins/notification-service-extension/...ios.ts | Updated `XMTP` CocoaPod version from `4.2.0-dev.b10e719` to `4.2.0-rc4` for notification extension |

## Possibly related PRs

- ephemeraHQ/convos-app#52: Updates the `@xmtp/react-native-sdk` dependency to a newer release candidate version.
- ephemeraHQ/convos-app#49: Changes the `@xmtp/react-native-sdk` dependency from a development build to a release candidate version.
- ephemeraHQ/convos-app#57: Modifies the `@xmtp/react-native-sdk` and `XMTP` CocoaPod versions in opposite directions, indicating closely related version management.

## Suggested reviewers

- nplasterer
- cameronvoell

## Poem

> A hop, a skip, a version bump,  
> From dev to RC, we take the jump.  
> The package grows, the code stays neat,  
> With shiny updates, our work’s complete.  
> 🐇✨  

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ac8df08 and 82a0417.

📒 Files selected for processing (1)
  • plugins/notification-service-extension/plugin/src/with-my-plugin-ios.ts (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@nplasterer
Copy link
Contributor Author

Just noting that there are several things in this release we should probably consume in a follow up PR

  • Filtering streamAll by approved conversations only
  • Duplicate dm push topics & hmac keys
  • Debug information
    • Is a group forked?
    • How many network requests are being triggered
    • upload a debug package

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
package.json (1)

88-88: Consider loosening the dependency range

Pinning an exact RC version may require manual updates for future patches. You could use a caret to allow non-breaking updates:

-    "@xmtp/react-native-sdk": "4.2.0-rc4",
+    "@xmtp/react-native-sdk": "^4.2.0-rc4",
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c26cbef and ac8df08.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (1)
  • package.json (1 hunks)
🔇 Additional comments (1)
package.json (1)

88-88:

Details

❓ Verification inconclusive

Verify the new release candidate is published and compatible

Please confirm that version 4.2.0-rc4 of @xmtp/react-native-sdk is available in the npm registry and that it integrates properly with the rest of the XMTP ecosystem (e.g., @xmtp/content-type-primitives).


🏁 Script executed:

#!/bin/bash
# Check if the specified version exists in npm
npm view @xmtp/react-native-sdk versions --json | jq '. | index("4.2.0-rc4")'

Length of output: 83


🏁 Script executed:

#!/bin/bash
echo "Peer dependencies for @xmtp/react-native-sdk@4.2.0-rc4:"
npm view @xmtp/react-native-sdk@4.2.0-rc4 peerDependencies --json

echo ""
echo "Dependencies for @xmtp/react-native-sdk@4.2.0-rc4:"
npm view @xmtp/react-native-sdk@4.2.0-rc4 dependencies --json

Length of output: 689


Confirm publication and compatibility of @xmtp/react-native-sdk@4.2.0-rc4

We’ve verified that version 4.2.0-rc4 is published on npm (index 265). Below are its peerDependencies and dependencies:

• Peer dependencies:

{
  "expo": "*",
  "react": "*",
  "react-native": "*"
}

• Dependencies:

{
  "@changesets/changelog-git": "^0.2.0",
  "@changesets/cli": "^2.27.10",
  "@ethersproject/bytes": "^5.7.0",
  "@msgpack/msgpack": "^3.0.0-beta2",
  "@noble/hashes": "^1.3.3",
  "@xmtp/proto": "3.54.0",
  "buffer": "^6.0.3",
  "text-encoding": "^0.7.0"
}

Please confirm that:

  • Your project’s versions of expo, react, and react-native satisfy the peer requirements.
  • Any XMTP packages you consume—especially @xmtp/content-type-primitives—are compatible with @xmtp/proto@3.54.0.
  • You’ve run an integration test to ensure messaging workflows still function as expected.

@cameronvoell
Copy link
Contributor

@nplasterer

Just tested locally looks good, think we might need to update this new file as well so that the notif extension uses the updated version as well:

https://github.com/ephemeraHQ/convos-app/blame/c26cbef45385dc2ee62d90377c3c1b96e673e937/plugins/notification-service-extension/plugin/src/with-my-plugin-ios.ts#L262

@thierryskoda thierryskoda merged commit 24f4961 into main May 24, 2025
7 of 8 checks passed
@macroscopeapp
Copy link

macroscopeapp bot commented May 24, 2025

  • Updated XMTP pod dependency version in iOS notification service extension [82a0417]

Macroscope summarized 82a0417.

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.

4 participants