Upgrade firebase-admin to v13 and firebase-functions to v6#293
Upgrade firebase-admin to v13 and firebase-functions to v6#293bgoncal merged 2 commits intohome-assistant:mainfrom
Conversation
firebase-admin v13.5.0 is required for the apns.liveActivityToken FCM field. firebase-functions v6 is required as a peer dependency alongside firebase-admin v13 (v5 only supports firebase-admin ^11 || ^12). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Upgrades Firebase Admin SDK and Firebase Functions dependencies in the functions/ package to unblock features requiring firebase-admin v13 (notably the apns.liveActivityToken field referenced by #278).
Changes:
- Bump
firebase-admindependency to^13.5.0. - Bump
firebase-functionsdependency to^6.1.1and refresh the lockfile resolution accordingly.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| functions/package.json | Updates declared Firebase dependency ranges to Admin v13 and Functions v6. |
| functions/package-lock.json | Updates the resolved dependency tree to versions compatible with the new Firebase dependency ranges. |
Files not reviewed (1)
- functions/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #293 +/- ##
=======================================
Coverage 67.52% 67.52%
=======================================
Files 10 10
Lines 625 625
Branches 177 177
=======================================
Hits 422 422
Misses 158 158
Partials 45 45 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
firebase-functions v6 changed the default export to the v2 API surface. The codebase uses v1-only APIs (functions.config(), functions.region(), functions.runWith()), so switch to the firebase-functions/v1 entrypoint to maintain compatibility without rewriting the existing function handlers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Let me know if there's anything I can do beyond what's here. I think someone can merge it? Unless you guys aren't ready for that. |
Summary
firebase-adminfrom^12.1.0to^13.5.0(resolves to 13.8.0)firebase-functionsfrom^5.0.1to^6.1.1(resolves to 6.6.0)index.jsto thefirebase-functions/v1entrypoint to maintain v1 API compatibility (functions.config(),functions.region(),functions.runWith())firebase-functionsv6 is required as a peer dependency alongsidefirebase-adminv13 — v5 only supportsfirebase-admin ^11 || ^12. The v6 default export is the v2 API surface, so existing v1-based code uses the/v1entrypoint.This is a prerequisite for #278 which requires
firebase-admin ^13.5.0for theapns.liveActivityTokenFCM field used by iOS Live Activities.Test plan
🤖 Generated with Claude Code