github firebase/firebase-js-sdk firebase@13.3.0

one hour ago

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

What's Changed

@firebase/ai@3.1.0

Minor Changes

  • 36a8dda #10504 - Added SpeechMetadata and TextPart.speechMetadata (in Public Preview) to specify the speaker and vocal style for a piece of text when generating speech with Gemini TTS models.

Patch Changes

  • c0a4c7b #10554 - Fixed an issue where calling getAI() for an app and backend that already had an AI instance silently replaced that instance's options, so an instance created with useLimitedUseAppCheckTokens: true would start sending standard App Check tokens after a later getAI() call. getAI() now returns the existing instance unchanged when useLimitedUseAppCheckTokens is omitted or matches, and throws an AIError with code already-initialized when a different value is requested.

  • cd161bf #10591 - Fixed an issue where response.promptFeedback was always undefined for GoogleAIBackend responses because the mapped prompt feedback was assigned to the wrong property.

firebase@13.3.0

Minor Changes

  • 36a8dda #10504 - Added SpeechMetadata and TextPart.speechMetadata (in Public Preview) to specify the speaker and vocal style for a piece of text when generating speech with Gemini TTS models.

  • b464f6c #10401 - Added support for window functions in Pipelines. Window functions are in preview until the backend launch is announced in the Firestore release notes.

  • 1ffc994 #10541 - Deprecated RemoteConfigOptions.templateId and RemoteConfigOptions.initialFetchResponse. Remote Config server-side rendering (SSR) hydration is no longer supported, and server templates ("firebase-server") can't be fetched from client apps. These options will be removed in a future major release.

Patch Changes

  • cd161bf #10591 - Fixed an issue where response.promptFeedback was always undefined for GoogleAIBackend responses because the mapped prompt feedback was assigned to the wrong property.

  • 6746f86 #10592 - Fixed the compat CDN bundles firebase-compat.js and firebase-firestore-compat.js, which contained ES2022 syntax (static class fields) and failed to load in browsers that support only ES2020.

  • 6746f86 #10592 - Fixed the Crashlytics CDN bundle (firebase-crashlytics.js), which imported Node.js built-in modules such as fs and zlib and failed to load in browsers.

  • 54e602c #10568 - Fixed an issue where documentSnapshotFromJSON() and querySnapshotFromJSON() threw an error when the snapshot data or document path contained multi-byte UTF-8 characters (such as em-dashes, emoji, or accented characters). (#10557)

  • 79c5c47 #10571 - Fix transactions becoming permanently stuck after overlapping writes cancel the same in-flight transaction more than once.

  • 94fc24e #10599 (fixes #8837) - TypeScript versions older than 4.5, which can't parse the Firebase type declarations, now report that Firebase requires TypeScript 4.5 or later. TypeScript leaves out this error if other type declarations, such as a recent @types/node, also fail to parse.

  • Updated dependencies [c0a4c7b, cd161bf, adfab71, 36a8dda, a61f2f0, b464f6c, 54e602c, 79c5c47, 1ffc994, 96fb62c]:

    • @firebase/ai@3.1.0
    • @firebase/auth@1.13.10
    • @firebase/app@0.16.6
    • @firebase/crashlytics@0.1.1
    • @firebase/firestore@4.20.0
    • @firebase/database@1.1.6
    • @firebase/remote-config@0.10.0
    • @firebase/auth-compat@0.6.15
    • @firebase/app-compat@0.5.22
    • @firebase/firestore-compat@0.4.18
    • @firebase/database-compat@2.1.8
    • @firebase/remote-config-compat@0.2.31

@firebase/firestore@4.20.0

Minor Changes

Patch Changes

  • 54e602c #10568 - Fixed an issue where documentSnapshotFromJSON() and querySnapshotFromJSON() threw an error when the snapshot data or document path contained multi-byte UTF-8 characters (such as em-dashes, emoji, or accented characters). (#10557)

@firebase/remote-config@0.10.0

Minor Changes

  • 1ffc994 #10541 - Deprecated RemoteConfigOptions.templateId and RemoteConfigOptions.initialFetchResponse. Remote Config server-side rendering (SSR) hydration is no longer supported, and server templates ("firebase-server") can't be fetched from client apps. These options will be removed in a future major release.

@firebase/app@0.16.6

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.5.22

Patch Changes

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

@firebase/auth@1.13.10

Patch Changes

  • adfab71 #10553 (fixes #10540) - Prevent a suspended background tab holding an IndexedDB readonly poll transaction from blocking Auth startup (onAuthStateChanged / authStateReady()) or clearing currentUser in other tabs (#10540).

@firebase/auth-compat@0.6.15

Patch Changes

  • Updated dependencies [adfab71]:
    • @firebase/auth@1.13.10

@firebase/crashlytics@0.1.1

Patch Changes

  • a61f2f0 #10593 - Removed debug console.log overrides on OTLPLogExporter.forceFlush() and OTLPLogExporter.shutdown() so that flushing and shutting down the logger provider delegates to OTLPExporterBase without logging to the console.

@firebase/database@1.1.6

Patch Changes

  • 79c5c47 #10571 - Fix transactions becoming permanently stuck after overlapping writes cancel the same in-flight transaction more than once.

  • 96fb62c #10389 - Migrate test suite to Vitest and update type-only re-exports.

@firebase/database-compat@2.1.8

Patch Changes

@firebase/firestore-compat@0.4.18

Patch Changes

@firebase/remote-config-compat@0.2.31

Patch Changes

  • Updated dependencies [1ffc994]:
    • @firebase/remote-config@0.10.0

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

NewReleases is sending notifications on new releases.