Auth, Analytics, and App Check now load external scripts through a shared Trusted Types policy named firebase-js-sdk-policy, so they work on pages enforcing Trusted Types; CSPs restricting policy names must allow it. Crashlytics moved to OpenTelemetry 3.x and its customAttributes, log(), and recordError() types now use Attributes from @opentelemetry/api.
firebase-js-sdk
npx @buildinternet/releases get firebase-js-sdkThe SDK adds SpeechMetadata and TextPart.speechMetadata in Public Preview to set speaker and vocal style for Gemini TTS text, and Firestore Pipelines now support window functions in preview. Remote Config deprecates RemoteConfigOptions.templateId and initialFetchResponse ahead of a future major release, getAI() no longer silently replaces an existing AI instance's options, and transactions no longer get stuck after overlapping writes cancel the same in-flight transaction more than once.
Crashlytics is available for public preview in the JavaScript SDK, and Firestore Pipeline Search graduates from public preview to GA. Auth fixes cancel the unhandled exception when a popup or redirect is cancelled mid-initialization, the IndexedDB cache population rejection on navigation, and the uncatchable rejection when reCAPTCHA Enterprise verification fails.
Firestore Pipelines now support delete, update, insert, and upsert DML stages, a literals source stage, and an atomic option on PipelineExecuteOptions for single-transaction pipeline execution. Auth no longer clears the persisted user during initialization unless the reload fails with auth/user-token-expired or auth/user-disabled, preserving sessions across transient 5xx UNAVAILABLE errors.
Firebase JS SDK 13.0.0 removes the deprecated VertexAIBackend (and BackendType.VERTEX_AI) in favor of AgentPlatformBackend, whose default location is global rather than us-central1, and updates the default hybrid-in-cloud model to gemini-3.5-flash-lite. Template generative models now take a unified TemplateRequest object as their first parameter, Part is a discriminated union, and sampling parameters like temperature and topP are deprecated as unsupported in Gemini 3.x.
Fixed a 400 error during function calling on gemini-3.6-flash where the SDK hardcoded an invalid 'function' role, and corrected structured-output validation to accept both application/json and text/x.enum. Auth now reconnects IndexedDB persistence after pagehide events (fixing Database is closing errors on iPadOS/iOS Safari), falls back to in-memory persistence when storage fails, and wraps storage errors in FirebaseError. Firestore adds Temporal.Instant conversion and fixes undefined fetch connection errors.
Imagen methods and types have been removed from the generative AI SDK. FunctionsError now includes response status in its message and custom data for enhanced debugging.
Fixed a regression where peerDependencies were unbundled in the standalone database-compat bundle. Data Connect now aligns SQL Connect Stream Transport exponential backoff parameters with other platform SDKs and adds a gRPC request header for platform and SDK version to enable cloud monitoring metrics collection.
initializeAppCheck can no longer be called without a provider, and VertexAIBackend is deprecated in favor of AgentPlatformBackend. Text-to-speech for non-Live API models (including Gemini TTS) is now supported, and Firestore's HTTP/2 flow control window was increased from 64 KB to 256 KB.
initializeAppCheck can now be called without a provider — it will auto-configure with ReCAPTCHA Enterprise using a site key from Firebase project config. Fixed a conflict error when both Auth and App Check used ReCAPTCHA Enterprise.
Added initializeDeviceModel() method for explicit on-device model initialization in hybrid mode, and minimum and maximum FieldValue operations for Firestore. Hybrid inference features are now generally available instead of public preview. Fixed several bugs including ChatSession.sendMessageStream() duplicate user turns, IndexedDB persistence fallback issues, App Check limited-use token generation, and messaging delivery metrics flushing.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes. What's Changed @firebase/ai@2.11.1 Patch Changes 23ab5b9 #9817 - Update code execution and URL context features to reflect that they are generally available and no longer public preview. 6db5af4 #9840…
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes. What's Changed @firebase/ai@2.10.0 Minor Changes 843a8d7 #9693 (fixes #9625) - Added responseJsonSchema to GenerationConfig. Patch Changes Updated dependencies [2f7f426]: @firebase/util@1.15.0…
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
