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