Change8

Migrating to Firebase SDK firebase@11.5.0

Version firebase@11.5.0 introduces 1 breaking change. This guide details how to update your code.

Released: 3/20/2025

1
Breaking Changes
1
Migration Steps
10
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

BlockReasonFinishReasonCountTokensRequestgetTokenThenableReference@firebase/vertexai@firebase/app-check@firebase/database@firebase/data-connect@firebase/firestore

Breaking Changes

Issue #1

AppCheck's getToken() now throws internalError strings that were previously ignored. Ensure your application handles these potential exceptions.

Migration Steps

  1. 1
    Review AppCheck getToken() calls to ensure they are wrapped in try-catch blocks to handle newly surfaced internalError strings.

Release Summary

Firebase JS SDK v11.5.0 introduces enhancements to Vertex AI token counting, improves AppCheck error reporting, and updates Data Connect to v1 backend endpoints.

Need More Details?

View the full release notes and all changes for Firebase SDK firebase@11.5.0.

View Full Changelog