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