github firebase/firebase-js-sdk firebase@12.19.0

2 hours ago

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.16.0

Minor Changes

  • 6b17ef5 #10319 - Fixed the issue where the SDK hardcodes invalid 'function' role, causing 400 errors during function calling on gemini-3.6-flash

Patch Changes

  • 6f86596 #10320 - Fixed a client-side validation guardrail that incorrectly blocked text/x.enum when responseSchema or responseJsonSchema was provided. The SDK now correctly accepts both application/json and text/x.enum for structured outputs.

firebase@12.19.0

Minor Changes

  • 6b17ef5 #10319 - Fixed the issue where the SDK hardcodes invalid 'function' role, causing 400 errors during function calling on gemini-3.6-flash

Patch Changes

  • Updated dependencies [8676365, 8316986, b74b53c, 0e8554b, 50213a1, 6b17ef5, 392bce0, 6f86596]:
  • @firebase/auth@1.13.6
  • @firebase/app@0.16.2
  • @firebase/firestore@4.17.2
  • @firebase/analytics@0.10.25
  • @firebase/messaging@0.13.3
  • @firebase/ai@2.16.0
  • @firebase/auth-compat@0.6.11
  • @firebase/app-compat@0.5.18
  • @firebase/firestore-compat@0.4.14
  • @firebase/analytics-compat@0.2.31
  • @firebase/messaging-compat@0.2.30

@firebase/analytics@0.10.25

Patch Changes

  • 50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.

@firebase/analytics-compat@0.2.31

Patch Changes

  • Updated dependencies [50213a1]:
  • @firebase/analytics@0.10.25

@firebase/app@0.16.2

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.5.18

Patch Changes

  • Updated dependencies []:
  • @firebase/app@0.16.2

@firebase/auth@1.13.6

Patch Changes

  • 8676365 #10325 (fixes #10318) - Allow IndexedDB persistence reconnection on demand after pagehide events, fixing Database is closing errors during signInWithPopup authentication on iPadOS and iOS Safari.

  • 8316986 #10326 (fixes #10311) - Gracefully fall back to in-memory persistence when persistence initialization fails or storage is inaccessible, preventing initialization deadlocks and ensuring authStateReady() resolves.

  • b74b53c #10335 - Wrap storage and persistence errors in FirebaseError (auth/internal-error) during current user updates, ensuring error.code is always defined and attaching the underlying exception under error.customData.originalError.

  • 50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.

@firebase/auth-compat@0.6.11

Patch Changes

@firebase/firestore@4.17.2

Patch Changes

  • 0e8554b #10301 - feat(firestore): support conversion and serialization for Temporal.Instant to Firestore's Timestamp

  • 50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.

  • 392bce0 #10340 - Fixes fetch connection error messages that were undefined.

@firebase/firestore-compat@0.4.14

Patch Changes

@firebase/messaging@0.13.3

Patch Changes

  • 50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.

@firebase/messaging-compat@0.2.30

Patch Changes

  • Updated dependencies [50213a1]:
  • @firebase/messaging@0.13.3

Don't miss a new firebase-js-sdk release

NewReleases is sending notifications on new releases.