Skip to content

Firebase C++ SDK 14.2.0

Latest

Choose a tag to compare

@AustinBenoit AustinBenoit released this 17 Nov 23:49
99051b5

Prebuilt versions of the libraries are available for download here.

Release Notes

14.2.0

  • Changes
    • General (Android): Update to Firebase Android BoM version 35.2.0.
    • General (iOS): Update to Firebase CocoaPods version 13.2.0.
    • App Check (Desktop): The App Check Debug Provider now automatically loads
      CLI-provisioned debug tokens from ~/.config/configstore/firebase-appcheck.json
      and the FIREBASE_APPCHECK_DEBUG_TOKEN / AppCheckDebugToken environment
      variables, and logs an actionable recovery hint when a debug token is
      rejected with HTTP 403.
    • App Check: Initialized AppCheckToken::expire_time_millis to 0 by
      default and populated it from the JWT exp claim in iOS token change
      notifications, fixing an ArgumentOutOfRangeException crash on iOS when
      listening to TokenChanged in Unity.
    • General (Desktop): Updated the bundled libcurl from 7.73.0 to 8.23.0.
      Windows apps linking the desktop libraries must now also link the
      bcrypt, iphlpapi, and secur32 Windows SDK libraries, and macOS apps
      must now also link the SystemConfiguration framework. Builds that
      supply their own libcurl via CURL_SOURCE_DIR require libcurl 8.14.0 or
      newer built with WebSocket support.
    • Database (Desktop): Replaced the uWebSockets/libuv WebSocket transport
      with libcurl's WebSocket implementation, driven by one lightweight
      event-driven thread per connection. Windows apps no longer need to link
      psapi or userenv for the Realtime Database. Realtime Database
      connections now honor the same proxy environment variables
      (https_proxy, all_proxy, no_proxy, ...) as the REST transport.
    • General (Desktop): REST and WebSocket connections now share one TLS
      policy: peer and hostname verification are always on, TLS 1.2 is the
      minimum version, and certificates are validated against the OS trust
      store (Schannel on Windows, the keychain on macOS) or the distribution's
      CA bundle on Linux. The same policy applies to the TLS connection to an
      HTTPS proxy, if one is configured.
    • General (Linux Desktop): Fixed TLS connections failing with
      CURLE_SSL_CACERT_BADFILE on distributions whose CA bundle lives at a
      different path than on the machine the SDK was built on (for example
      RHEL, Fedora, or openSUSE). The CA bundle and directory are now located
      at runtime; the CURL_CA_BUNDLE, SSL_CERT_FILE, and SSL_CERT_DIR
      environment variables are honored if set before the first request
      (they are ignored in setuid/setgid processes).
    • Database (Desktop): Fixed writes being silently dropped, and the
      following request corrupted, when the serialized request was an exact
      multiple of 16384 bytes long.
    • General (Linux Desktop): Fixed a potential 1-byte buffer underflow and file
      descriptor leak when reading /etc/timezone in GetTimezone().
    • Database, Functions, Storage (Android): Fixed a crash in GetInstance()
      when initialization fails. It now returns nullptr and reports
      kInitResultFailedMissingDependency.
    • General (Android): Fixed loading of embedded Java classes when the app
      runs under a custom class loader setup, such as being hosted in another
      app's process. (#1936)
    • Auth: Added IdTokenResult struct and User::GetIdTokenResult() to
      retrieve decoded ID token claims and metadata across Desktop, Android,
      and iOS.
    • General (Android): Fixed a potential buffer overflow in LogException when
      formatting long JNI exception messages.