Firebase Apple 11.4.0
The Firebase Apple SDK (11.4.0) is now available. For more details, see
the Firebase Apple SDK release notes.
To install this SDK, see Add Firebase to your project.
What's Changed
- Vertex AI in Firebase is now Generally Available (GA) and can be used in production apps.
Use the Vertex AI in Firebase library to call the Vertex AI Gemini API directly from your app.
This client library is built specifically for use with Swift apps, offering security options against
unauthorized clients as well as integrations with other Firebase services.
Note: Vertex AI in Firebase is currently only available in Swift Package Manager and CocoaPods.
Stay tuned for the next release for the Zip and Carthage distributions.- If you're new to this library, visit the getting started guide.
- If you used the preview version of the library, visit the migration guide to learn about some important updates.
- [Vertex AI] Refactor
Schema
declarations by @andrewheard in #13616 - [Vertex AI] Optional
CountTokensResponse.totalBillableCharacters
by @andrewheard in #13721 - [Vertex AI] Migrate logging to
FirebaseLogger
by @andrewheard in #13638 - [Vertex AI] Add Firebase Vertex AI API enablement logging by @andrewheard in #13724
- [Vertex AI] Set default request timeout to 180 seconds by @andrewheard in #13722
- [Vertex AI] Remove
ImageConversionError
from public API by @andrewheard in #13735 - [Vertex AI] Remove
CountTokensError
enum by @andrewheard in #13736 - [Vertex AI] Prepare for 11.4 release by @andrewheard in #13707
- Run zip testing with Xcode 16 by @paulb777 in #13731
- Remove GoogleUtilitiesComponents from the repo by @paulb777 in #13732
- [Vertex AI] Remove supported platforms
#warning
by @andrewheard in #13738 - [Messaging] Refactor Messaging.serviceExtension() API out of FIRMessaging.h by @ncooke3 in #13723
- [Vertex AI] Update log message when API is not enabled by @andrewheard in #13733
- Add compatibility for GTMSessionFetcher 4 by @paulb777 in #13734
- Carthage 11.3.0 by @paulb777 in #13739
- [Vertex AI] Remove
NSObject
superclass fromVertexAI
by @andrewheard in #13742 - Update versions for Release 11.4.0 by @paulb777 in #13743
- [Vertex AI] Remove
-Preview
suffix in SPM library name by @andrewheard in #13744 - Update some auth tests to Xcode 16 by @paulb777 in #13745
- NOTICES Change by @github-actions in #13755
- Enhance objc part of the FirebaseAuth tests by @MojtabaHs in #13753
- Fix all FirebaseAppDistribution typos by @MojtabaHs in #13750
- Fix enum case name in the Authentication example by @MojtabaHs in #13752
- Fix crashlytics objc test files typos by @MojtabaHs in #13749
- Fix crashlytics code docs by @MojtabaHs in #13747
- Fix crashlytics swift test typos by @MojtabaHs in #13748
- [docs] Update link in README.md for FirebaseAuth SampleSwift. by @lamtrinhdev in #13746
- Enhance FirebaseAuthCode quality by @MojtabaHs in #13751
- Enhance FirebaseAuth file structure by @MojtabaHs in #13754
- Bump upload-symbols to 3.18 by @themiswang in #13760
- Docs for clang-format 19 by @paulb777 in #13762
- Fix zip auth test by @paulb777 in #13758
- Fix FIROptions module organization by @paulb777 in #13765
- [Infra] Release testing should grab latest tag on any branch by @ncooke3 in #13769
- [Vertex AI] Removed
-beta
from pod version by @andrewheard in #13759 - [Infra] Switch to the iPhone 16 sim on Xcode 16 by @andrewheard in #13766
- Fix FirebaseCore tests comments by @MojtabaHs in #13777
- Docs: improve comments of the FirebaseDatabase by @MojtabaHs in #13785
- Fix FirebaseDatabase sync point test file content by @MojtabaHs in #13784
- Fix a little typo in a comment of a json resource by @MojtabaHs in #13782
- Fix FirebaseCore swift unit tests function names by @MojtabaHs in #13779
- Fix FirebaseDatabase integration test files content by @MojtabaHs in #13783
- Fix FirebaseDatabase integration test files content by @MojtabaHs in #13781
- Enhance FirebaseDatabase function names by @MojtabaHs in #13778
- Docs: enhance FirebaseDynamicLinks comments by @MojtabaHs in #13786
- Docs: enhance firebase in app messaging comments by @MojtabaHs in #13790
- Reapply "SessionToken persistence implementation (#13684)" (#13719) by @tom-andersen in #13794
- Fix Performance Unit Test Warnings around UserDefaults by @samedson in #13787
- [Infra] Sync messaging with recent 1P infra changes by @ncooke3 in #13793
- Refactored Duplicate Methods in
Functions
by @yakovmanshin in #13771 - [Auth] Address possible race condition by @paulb777 in #13772
- Docs: enhance FirebaseMessaging change log by @MojtabaHs in #13807
- Test: enhance FirebaseMessaging unit tests by @MojtabaHs in #13806
- Enhance FirebaseInAppMessaging unit test files by @MojtabaHs in #13802
- Fix FirebaseInAppMessaging private flows method names by @MojtabaHs in #13801
- Docs: enhance the FirebaseInAppMessaging runtime manager local comments by @MojtabaHs in #13800
- Fix: static constant name in FirebaseInAppMessaging runtimes by @MojtabaHs in #13799
- Fix a private runtime property name in FirebaseInAppMessaging by @MojtabaHs in #13798
- Docs: enhance FirebaseMessaging token sources comments by @MojtabaHs in #13805
- Enhance FirebaseInstallation unit test methods by @MojtabaHs in #13804
- Fix a method name in FirebaseInAppMessaging by @MojtabaHs in #13789
- Fix a property name in FirebaseInAppMessaging by @MojtabaHs in #13788
- Enhance FirebaseInstallation unit test properties by @MojtabaHs in #13803
- Fix FirebaseDatabase integration test leftovers by @MojtabaHs in #13809
- Fix module build issues by @paulb777 in #13797
- [storage] Docs build fixes by @paulb777 in #13811
- Fix a crash related to thread sanitization on variables in FPRNetworkTrace class. by @visumickey in #13795
- [Vertex AI] Add sysInstructs, tools, genConfig to
countTokens
by @andrewheard in #13813 - [Vertex AI] Add image / function call count tokens integration tests by @andrewheard in #13814
- [Core] Add logging level getter to FIRConfiguration by @ncooke3 in #13815
- Fix: typos of the FirebaseRemoteConfig source code by @MojtabaHs in #13825
- Test: enhance FirebasePerformance Unit tests by @MojtabaHs in #13823
- Enhance FirebasePerformance TestApp files structure by @MojtabaHs in #13821
- docs: fix common sources comments by @MojtabaHs in #13820
- Improve FirebaseMessaging remote notification proxy source code by @MojtabaHs in #13818
- Test: improve FirebaseRemoveConfig unit tests by @MojtabaHs in #13826
- Fix: FirebasePerformance TestApp log messages in the source code by @MojtabaHs in #13822
- Docs: fix app activity comments by @MojtabaHs in #13819
- Fix: a repeated typo in multiple test files of the FirebaseStorage by @MojtabaHs in #13817
- Docs: enhance FirebaseSessions's proto documentations by @MojtabaHs in #13816
- Wrap _listeners access with _realtimeLockQueue in fetchLatestConfig completionHandler by @yanz-safe in #13776
- Test: a function name in FirebaseSessions' unit tests by @MojtabaHs in #13828
- Fix: a variable name in FirebaseSessions' source code by @MojtabaHs in #13827
- [Vertex AI] Replace
ModelContent.Part
enum with protocol/structs by @andrewheard in #13767 - Updated podspec for internal FirebaseCore header by @paulb777 in #13829
- [Vertex AI] Simplify
ModelContent
initializers by @andrewheard in #13832 - [Vertex AI] Sample app CI for Xcode 16 by @andrewheard in #13833
- Build: enhance api diff report scripts by @MojtabaHs in #13840
- Docs: enhance code coverage report source documentations by @MojtabaHs in #13841
- Docs: enhance scripts comments by @MojtabaHs in #13842
- Build: enhance Integration testing scripts by @MojtabaHs in #13838
- Test: enhance Firestore integration tests by @MojtabaHs in #13837
- Fix: a repeated typo in python file by @MojtabaHs in #13839
- Xcode_16 will soon require macos-15 in GHA by @paulb777 in #13835
- Docs: enhance the FirebaseVertexAI source documentation by @MojtabaHs in #13836
- [Vertex AI] Revert running
spm-package-resolved
on all macOS versions by @andrewheard in #13846 - [CoreInternal] Add async flush method by @ncooke3 in #13850
- [Vertex AI] Replace sample
CustomStringConvertible
extensions by @andrewheard in #13845 - [Vertex AI] Use
struct
instead ofenum
forHarmCategory
by @andrewheard in #13728 - [Core] Add async flush method by @ncooke3 in #13851
- [Vertex AI] Make
Schema
constructor andDataType
enum internal by @andrewheard in #13852 - [Vertex AI] Use
struct
instead ofenum
forHarmProbability
by @andrewheard in #13854 - [Auth] Use async flush method to get header value by @ncooke3 in #13853
- Run fewer tests to reduce flakiness by @paulb777 in #13857
- [Auth] Restore MFA request setup to Firebase 10 behavior by @ncooke3 in #13858
- [Vertex AI] Extract common protobuf enum to struct decoding logic by @andrewheard in #13859
- [Vertex AI] Refactor
FinishReason
as astruct
and add new values by @andrewheard in #13860 - [Vertex AI] Add
EncodableProtoEnum
protocol and fix encoding by @andrewheard in #13862 - [Vertex AI] Refactor
HarmBlockThreshold
as a struct and add.off
by @andrewheard in #13863 - [Vertex AI] Refactor
BlockReason
as astruct
and add new values by @andrewheard in #13861 - [Vertex AI] Refactored
FunctionCallingConfig.Mode
as astruct
by @andrewheard in #13864 - Correct documentation for Callable default timeout by @stjernegard in #13869
- [Vertex AI] Refactor
StringFormat
andIntegerFormat
as structs by @andrewheard in #13865 - [Vertex AI] Replace "enum" computed properties with
static let
by @andrewheard in #13870 - [Vertex AI] Switch to
firebasevertexai.googleapis.com
API by @andrewheard in #13725 - Analytics 11.4.0 by @tsunghung in #13872
- [Vertex AI] Refactor function calling APIs by @andrewheard in #13873
- [Vertex AI] Remove from zip build by @andrewheard in #13871
- [Release] Update changelogs for 11.4.0 by @ncooke3 in #13879
- [Auth] Fix crash when using TOTP MFA auth by @ncooke3 in #13880
- Fixed
DispatchGroup
’s Excessive Wait inFunctionsContext
by @yakovmanshin in #13887 - [Vertex AI] Add
HarmSeverity
enum andSafetyRating
properties by @andrewheard in #13875 - [Vertex AI] Add
HarmBlockMethod
enum andmethod
property by @andrewheard in #13876 - fix typos in release notes by @morganchen12 in #13890
- [Vertex AI] Add
blockReasonMessage
toPromptFeedback
by @andrewheard in #13891 - add docsgen invocations to scripts by @morganchen12 in #13892
- [Release] Update Firestore SPM binary for M155 by @ncooke3 in #13894
- [Vertex AI] Fix invalid DocC links and missing docs by @andrewheard in #13896
- [Vertex AI] Add
Citation.publicationDate
by @andrewheard in #13893 - [Vertex AI] Rename
CandidateResponse
toCandidate
by @andrewheard in #13897 - [Vertex AI] Add
presencePenalty
andfrequencyPenalty
by @andrewheard in #13899 - [Vertex AI] Increase macOS minimum to 12.0 by @andrewheard in #13903
- [Vertex AI] Add code snippets for use in docs by @andrewheard in #13653
- fix: correct
LocalizedError
conformance by @vvisionnn in #13895 - [Vertex AI] Make
GenerationConfig
properties internal by @andrewheard in #13904
New Contributors
- @yanz-safe made their first contribution in #13776
- @stjernegard made their first contribution in #13869
- @vvisionnn made their first contribution in #13895
Full Changelog: 11.3.0...11.4.0