firebase breaking changes
firebase 13.4.0 (November 16, 2026) is its newest release with breaking changes. The first: Pages with Trusted Types restrictions must allow the SDK policy name in firebase 13.4.0. Every breaking API change we have recorded in firebase on npm: 83 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 13.4.0, released November 16, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 12.18.0 to 13.4.0: 1 breaking change in 1 version.
- From 8.0.0 to 13.4.0: 45 breaking changes in 10 versions.
firebase 13.4.0 breaking changes
- Configuration changed
Scripts now load through a shared Trusted Types policy named firebase-js-sdk-policy. Pages whose CSP restricts policy names must allow this name, or script loading fails. github.com
firebase 12.18.0 breaking changes
- Removed
Imagen methods and types were removed because Imagen models were shut down. Migrate your apps to Gemini Image models. github.com - Removed
getImagenModel
Imagen model shutdown on August 17, 2026 means getImagenModel no longer serves Imagen; use getGenerativeModel with a Gemini Nano Banana model instead. firebase.google.com - Removed
imagenModel
All Imagen models shut down on August 17, 2026. Use getGenerativeModel or generativeModel with a Gemini Nano Banana model and response modality IMAGE instead of the Imagen model classes. firebase.google.com - Signature changed
compat/app:default.auth.Auth.onAuthStateChanged
Was onAuthStateChanged(nextOrObserver: | firebase.Observer<any> | ((a: firebase.User | null) => any), error?: (a: firebase.auth.Error) => any, completed?: firebase.Unsubscribe): firebase.Unsubscribe; now onAuthStateChanged(nextOrObserver... npmjs.com - Signature changed
compat/app:default.auth.Auth.onIdTokenChanged
Was onIdTokenChanged(nextOrObserver: | firebase.Observer<any> | ((a: firebase.User | null) => any), error?: (a: firebase.auth.Error) => any, completed?: firebase.Unsubscribe): firebase.Unsubscribe; now onIdTokenChanged(nextOrObserver... npmjs.com - Signature changed
compat/app:default.database.EventType
Was type EventType = | 'value' | 'child_added' | 'child_changed' | 'child_moved' | 'child_removed'; now type EventType = 'value' | 'child_added' | 'child_changed' | 'child_moved' | 'child_removed'. npmjs.com - Signature changed
compat/app:default.EmulatorMockTokenOptions
Was type EmulatorMockTokenOptions = (| {user_id: string} | {sub: string}) & Partial<FirebaseIdToken>; now type EmulatorMockTokenOptions = ({user_id: string} | {sub: string}) & Partial<FirebaseIdToken>. npmjs.com - Signature changed
compat/app:default.messaging.Messaging.onBackgroundMessage
Was onBackgroundMessage(nextOrObserver: | firebase.NextFn<MessagePayload> | firebase.Observer<MessagePayload>): firebase.Unsubscribe; now onBackgroundMessage(nextOrObserver: firebase.NextFn<MessagePayload> |... npmjs.com - Signature changed
compat/app:default.storage.UploadTask.then
Was then(onFulfilled?: | ((snapshot: firebase.storage.UploadTaskSnapshot) => any) | null, onRejected?: ((error: FirebaseStorageError) => any) | null): Promise<any>; now then(onFulfilled?: ((snapshot: firebase.storage.UploadTaskSnapshot) =>... npmjs.com - Signature changed
getGenerativeModel
To generate images with Nano Banana models, pass responseModalities of IMAGE and an imageConfig in generationConfig; Imagen options such as numberOfImages, negativePrompt, addWatermark, imageFormat and personGeneration are not supported. firebase.google.com
firebase 12.12.0 breaking changes
- Removed
ImagenModel
All Imagen models are shut down, so ImagenModel image generation stops working. Create a GenerativeModel with a Gemini Nano Banana model and request IMAGE output instead. firebase.google.com - Behavior changed
Type
The Type string union is changed to a raw string, which is a beta API breaking change for existing code. github.com
firebase 12.11.0 breaking changes
- Removed
updateEmulatorBanner
updateEmulatorBanner() was removed in this release. Code that calls it must stop calling it. github.com
firebase 12.0.0 breaking changes
- Removed
GroundingAttribution
GroundingAttribution was removed, so code that imports or uses it will break. github.com - Removed
vertexai
The vertexai import path was removed, so imports from it will fail. github.com - Removed
VertexAI
The VertexAI APIs were removed in this release, so code that calls them will break. github.com - Configuration changed
The package's node engines minimum is now Node 20, so projects on older Node versions must upgrade. github.com - Signature changed
Enum exports in Firebase AI are now const variables, which can change how existing enum types and imports are used. github.com
firebase 11.5.0 breaking changes
- Signature changed
compat/app:default.database.ThenableReference.key
Was key: string | null; now key: string. npmjs.com - Signature changed
compat/app:default.database.ThenableReference.parent
Was parent: firebase.database.Reference | null; now parent: Reference. npmjs.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
firebase 11.2.0 breaking changes
- Signature changed
Some typings were changed from PromiseLike to Promise, so code that depends on the old type, such as custom thenable values, may need to be updated. github.com
firebase 11.0.0 breaking changes
- Removed
ES5 bundles are no longer shipped, so code running in ES5-only environments must use a transpiler or a newer runtime. github.com
firebase 10.0.0 breaking changes
- Removed
firebase.auth.react-native
The firebase/auth/react-native entry point was removed; React Native build tools pick up the react-native fields in package.json instead, so imports of this path must be dropped. github.com - Behavior changed
getAuth
In the React Native bundle, getAuth now imports AsyncStorage from @react-native-async-storage/async-storage instead of the react-native core package, so that package must be installed. github.com
And 3 more in this version.
firebase 9.0.0 breaking changes
- Removed
default.messaging.Messaging.onTokenRefresh
messaging().onTokenRefresh() was removed in firebase 9.0.0 npmjs.com - Removed
default.messaging.Messaging.requestPermission
Use https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission instead. npmjs.com
And 15 more in this version.
firebase 8.0.0 breaking changes
- Removed
apps
apps was removed in firebase 8.0.0 npmjs.com - Removed
database.ThenableReference.[Symbol.toStringTag]
database.ThenableReference.[Symbol.toStringTag] was removed in firebase 8.0.0 npmjs.com
And 36 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.