-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Bumping version of Firebase Admin SDK to pick up latest version. Fixes #15033 #15039
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
WalkthroughThis pull request involves version updates across multiple files in the Firebase Admin SDK component. The changes primarily focus on incrementing version numbers for various modules, including Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (8)
components/firebase_admin_sdk/actions/create-document/create-document.mjs
(1 hunks)components/firebase_admin_sdk/actions/create-realtime-db-record/create-realtime-db-record.mjs
(1 hunks)components/firebase_admin_sdk/actions/list-documents/list-documents.mjs
(1 hunks)components/firebase_admin_sdk/actions/replicate-event-firestore/replicate-event-firestore.mjs
(1 hunks)components/firebase_admin_sdk/actions/update-document/update-document.mjs
(1 hunks)components/firebase_admin_sdk/package.json
(2 hunks)components/firebase_admin_sdk/sources/new-child-object/new-child-object.mjs
(1 hunks)components/firebase_admin_sdk/sources/new-doc-in-firestore-collection/new-doc-in-firestore-collection.mjs
(1 hunks)
✅ Files skipped from review due to trivial changes (7)
- components/firebase_admin_sdk/sources/new-child-object/new-child-object.mjs
- components/firebase_admin_sdk/actions/replicate-event-firestore/replicate-event-firestore.mjs
- components/firebase_admin_sdk/actions/create-document/create-document.mjs
- components/firebase_admin_sdk/actions/list-documents/list-documents.mjs
- components/firebase_admin_sdk/sources/new-doc-in-firestore-collection/new-doc-in-firestore-collection.mjs
- components/firebase_admin_sdk/actions/update-document/update-document.mjs
- components/firebase_admin_sdk/actions/create-realtime-db-record/create-realtime-db-record.mjs
🔇 Additional comments (1)
components/firebase_admin_sdk/package.json (1)
15-15
: Verify the impact of major @pipedream/platform version update
The dependency on @pipedream/platform has been updated from ^0.9.0 to ^3.0.3, which is a major version jump. Please ensure that breaking changes have been accounted for.
✅ Verification successful
Let me analyze the impact of the @pipedream/platform version update by checking how it's used in the firebase_admin_sdk component.
Based on the findings, the firebase_admin_sdk component only imports two stable utilities from @pipedream/platform:
- DEFAULT_POLLING_SOURCE_TIMER_INTERVAL - a constant value used for polling intervals
- axios - a standard HTTP client wrapper
These are core utilities that typically maintain backward compatibility across major versions. The version bump from ^0.9.0 to ^3.0.3 should not cause breaking changes for this component's usage pattern.
Version update appears safe for this component
The firebase_admin_sdk component uses only stable, core utilities from @pipedream/platform that are unlikely to have breaking changes even across major versions. The imports are for basic functionality (HTTP client and polling interval constant) that typically maintains backward compatibility.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check for breaking changes in component files that might be affected by platform update
rg -l "@pipedream/platform" | xargs rg "import.*@pipedream/platform"
Length of output: 74963
Script:
#!/bin/bash
# Check how @pipedream/platform is used in firebase_admin_sdk component
rg -l "@pipedream/platform" components/firebase_admin_sdk/ | xargs rg "import.*@pipedream/platform"
Length of output: 334
@@ -12,7 +12,7 @@ | |||
"dependencies": { | |||
"@firebase/app-compat": "^0.1.25", | |||
"@firebase/app-types": "^0.7.0", | |||
"@pipedream/platform": "^0.9.0", | |||
"@pipedream/platform": "^3.0.3", | |||
"firebase-admin": "^10.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Firebase Admin SDK v10.0.1 is significantly outdated, upgrade recommended to v13.0.2
The current version (10.0.1) is several major versions behind the latest release (13.0.2). While no security vulnerabilities were found, upgrading is recommended to access new features and improvements. Please review the changelog for breaking changes before upgrading.
🔗 Analysis chain
Consider updating firebase-admin SDK to latest version
The PR objective mentions bumping the Firebase Admin SDK version, but firebase-admin is still at ^10.0.1 which is quite outdated (from early 2022). The current latest version is 11.x.
Consider updating to the latest version to get security fixes and new features. You can check the changelog for breaking changes.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check latest version and security advisories for firebase-admin
echo "Latest firebase-admin version from npm:"
curl -s https://registry.npmjs.org/firebase-admin/latest | jq '.version'
# Check for security advisories
gh api graphql -f query='
{
securityVulnerabilities(first: 5, ecosystem: NPM, package: "firebase-admin") {
nodes {
advisory {
summary
severity
publishedAt
}
vulnerableVersionRange
firstPatchedVersion {
identifier
}
}
}
}'
Length of output: 518
WHY
Summary by CodeRabbit