ソースを参照

Merge release 5.16.0 (#2306)

* Update versions for Release 5.16.0
* Cherry-picking changes for M41 RC1 (#2277)
* Bump gRPC-C++ pod dependency to 0.0.6 (#2274)
* Update changelog for Dynamic Links to v 3.4.0 (#2272)
* Fix Firestore certificate loading in M41 (#2289)
* Stop bundling gRPC certificates with Firestore (#2279)
  * Remove references to roots.pem
  * Remove gRPCCertificates-Firestore.bundle
* Fix size warning in local_serializer.cc
* Suppress documentation warnings in gRPC
* strip extra references to macOS
* Reference updated Carthage docs and backport CHANGELOG (#2291)
* Carthage cert change
* Backport CHANGELOG updates from cl/230001317
Gil 7 年 前
コミット
45866ee427

+ 1 - 1
Example/Podfile

@@ -19,7 +19,7 @@ target 'Core_Example_iOS' do
   # The next line is the forcing function for the Firebase pod. The Firebase
   # version's subspecs should depend on the component versions in their
   # corresponding podspec's.
-  pod 'Firebase/CoreOnly', '5.15.990'
+  pod 'Firebase/CoreOnly', '5.16.0'
 
   target 'Core_Tests_iOS' do
     inherit! :search_paths

+ 1 - 1
FirebaseAuth.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseAuth'
-  s.version          = '5.2.0'
+  s.version          = '5.3.0'
   s.summary          = 'The official iOS client for Firebase Authentication (plus community support for macOS and tvOS)'
 
   s.description      = <<-DESC

+ 1 - 1
FirebaseCore.podspec

@@ -32,7 +32,7 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
   s.pod_target_xcconfig = {
     'GCC_C_LANGUAGE_STANDARD' => 'c99',
     'GCC_PREPROCESSOR_DEFINITIONS' =>
-      'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=5.15.0',
+      'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=5.16.0',
     'OTHER_CFLAGS' => '-fno-autolink'
   }
 end

+ 1 - 1
FirebaseDatabase.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseDatabase'
-  s.version          = '5.0.4'
+  s.version          = '5.1.0'
   s.summary          = 'Firebase Open Source Libraries for iOS (plus community support for macOS and tvOS)'
 
   s.description      = <<-DESC

+ 1 - 1
FirebaseDynamicLinks.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseDynamicLinks'
-  s.version          = '3.3.0'
+  s.version          = '3.4.0'
   s.summary          = 'Firebase DynamicLinks for iOS'
 
   s.description      = <<-DESC

+ 1 - 1
FirebaseFirestore.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseFirestore'
-  s.version          = '0.16.1'
+  s.version          = '1.0.0'
   s.summary          = 'Google Cloud Firestore for iOS'
 
   s.description      = <<-DESC

+ 1 - 1
FirebaseFunctions.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseFunctions'
-  s.version          = '2.1.2'
+  s.version          = '2.2.0'
   s.summary          = 'Cloud Functions for Firebase iOS SDK.'
 
   s.description      = <<-DESC

+ 1 - 1
FirebaseMessaging.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseMessaging'
-  s.version          = '3.2.2'
+  s.version          = '3.3.0'
   s.summary          = 'Firebase Messaging for iOS'
 
   s.description      = <<-DESC

+ 1 - 1
FirebaseStorage.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name             = 'FirebaseStorage'
-  s.version          = '3.0.3'
+  s.version          = '3.1.0'
   s.summary          = 'Firebase Storage for iOS (plus community support for macOS and tvOS)'
 
   s.description      = <<-DESC

+ 16 - 10
Firestore/CHANGELOG.md

@@ -1,20 +1,26 @@
 # Unreleased
 
 # v1.0.0
-- [changed] The `areTimestampsInSnapshotsEnabled` setting is now enabled by
-  default. Timestamp fields that read from a `FIRDocumentSnapshot` are now
-  returned as `FIRTimestamp` objects instead of `NSDate` objects. This is a
-  breaking change; developers must update any code that expects to receive a
-  `NSDate` object. See https://firebase.google.com/docs/reference/ios/firebasefirestore/api/reference/Classes/FIRFirestoreSettings#/c:objc(cs)FIRFirestoreSettings(py)timestampsInSnapshotsEnabled
+- [changed] **Breaking change:** The `areTimestampsInSnapshotsEnabled` setting
+  is now enabled by default. Timestamp fields that read from a
+  `FIRDocumentSnapshot` will be returned as `FIRTimestamp` objects instead of
+  `NSDate` objects. Update any code that expects to recive a `NSDate` object.
+  See [the reference
+  documentation](https://firebase.google.com/docs/reference/ios/firebasefirestore/api/reference/Classes/FIRFirestoreSettings#/c:objc(cs)FIRFirestoreSettings(py)timestampsInSnapshotsEnabled)
   for more details.
-- [changed] `FIRTransaction.getDocument()` has been changed to return a non-nil
-  `FIRDocumentSnapshot` with `exists` equal to `false` if the document does not
-  exist (instead of returning a nil `FIRDocumentSnapshot`). Code that was
-  previously doing `if (snapshot) { ... }` must be changed to
-  `if (snapshot.exists) { ... }`.
+- [changed] **Breaking change:** `FIRTransaction.getDocument()` has been changed
+  to return a non-nil `FIRDocumentSnapshot` with `exists` equal to `false` if
+  the document does not exist (instead of returning a nil
+  `FIRDocumentSnapshot`).  Code that includes `if (snapshot) { ... }` must be
+  changed to `if (snapshot.exists) { ... }`.
 - [fixed] Fixed a crash that could happen when the app is shut down after
   a write has been sent to the server but before it has been received on
   a listener (#2237).
+- [changed] Firestore no longer bundles a copy of the gRPC certificates, now
+  that the gRPC-C++ CocoaPod includes them. CocoaPods users should be updated
+  automatically. Carthage users should follow the [updated
+  instructions](https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md)
+  to get `gRPCCertificates.bundle` from the correct location.
 
 # v0.16.1
 - [fixed] Offline persistence now properly records schema downgrades. This is a

+ 1 - 1
Firestore/Example/Podfile

@@ -14,7 +14,7 @@ target 'Firestore_Example_iOS' do
   # The next line is the forcing function for the Firebase pod. The Firebase
   # version's subspecs should depend on the component versions in their
   # corresponding podspec's.
-  pod 'Firebase/CoreOnly', '5.15.990'
+  pod 'Firebase/CoreOnly', '5.16.0'
 
   pod 'FirebaseAuth', :path => '../../'
   pod 'FirebaseAuthInterop', :path => '../../'

+ 3 - 0
Firestore/core/src/firebase/firestore/remote/grpc_connection.h

@@ -35,7 +35,10 @@
 #include "grpcpp/channel.h"
 #include "grpcpp/client_context.h"
 #include "grpcpp/completion_queue.h"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdocumentation"
 #include "grpcpp/generic/generic_stub.h"
+#pragma clang diagnostic pop
 
 namespace firebase {
 namespace firestore {

+ 3 - 0
Firestore/core/src/firebase/firestore/remote/grpc_stream.h

@@ -32,7 +32,10 @@
 #include "Firestore/core/src/firebase/firestore/util/status.h"
 #include "absl/types/optional.h"
 #include "grpcpp/client_context.h"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdocumentation"
 #include "grpcpp/generic/generic_stub.h"
+#pragma clang diagnostic pop
 #include "grpcpp/support/byte_buffer.h"
 
 namespace firebase {

+ 3 - 0
Firestore/core/src/firebase/firestore/remote/grpc_streaming_reader.h

@@ -27,7 +27,10 @@
 #include "Firestore/core/src/firebase/firestore/util/status.h"
 #include "Firestore/core/src/firebase/firestore/util/statusor.h"
 #include "grpcpp/client_context.h"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdocumentation"
 #include "grpcpp/generic/generic_stub.h"
+#pragma clang diagnostic pop
 #include "grpcpp/support/byte_buffer.h"
 
 namespace firebase {

+ 3 - 0
Firestore/core/src/firebase/firestore/remote/grpc_unary_call.h

@@ -27,7 +27,10 @@
 #include "Firestore/core/src/firebase/firestore/util/status.h"
 #include "Firestore/core/src/firebase/firestore/util/statusor.h"
 #include "grpcpp/client_context.h"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdocumentation"
 #include "grpcpp/generic/generic_stub.h"
+#pragma clang diagnostic pop
 #include "grpcpp/support/byte_buffer.h"
 
 namespace firebase {

+ 10 - 0
Releases/Manifests/5.16.0.json

@@ -0,0 +1,10 @@
+{
+  "FirebaseAuth":"5.3.0",
+  "FirebaseCore":"5.2.0",
+  "FirebaseDatabase":"5.1.0",
+  "FirebaseDynamicLinks":"3.4.0",
+  "FirebaseFirestore":"1.0.0",
+  "FirebaseFunctions":"2.2.0",
+  "FirebaseMessaging":"3.3.0",
+  "FirebaseStorage":"3.1.0"
+}

+ 1 - 1
SymbolCollisionTest/Podfile

@@ -6,7 +6,7 @@ target 'SymbolCollisionTest' do
   # use_frameworks!
 
   # Firebase Pods
-    pod 'Firebase', '5.15.0'
+    pod 'Firebase', '5.16.0'
     pod 'FirebaseAnalytics'
     pod 'FirebaseAuth'
     pod 'FirebaseCore'