Skip to content

Bump the nanopb version to 0.3.9.8 #7789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- 'FirebaseAnalytics.podspec.json'
- 'FirebaseAnalyticsSwift**'
- 'GoogleAppMeasurement.podspec.json'
- '.github/workflows/analytics.yml'
- 'Gemfile'
schedule:
# Run every day at 1am (PST) - cron uses UTC times
Expand All @@ -22,7 +23,7 @@ jobs:
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: GoogleAppMeasurement
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec.json
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec.json --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
- name: FirebaseAnalyticsSwift
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAnalyticsSwift.podspec --platforms=ios

Expand Down
2 changes: 1 addition & 1 deletion Crashlytics/ProtoSupport/generate_crashlytics_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
readonly DIR="$( git rev-parse --show-toplevel )"

# Current release of nanopb being used to build the CCT protos
readonly NANOPB_VERSION="0.3.9.7"
readonly NANOPB_VERSION="0.3.9.8"
readonly NANOPB_TEMPDIR="${DIR}/Crashlytics/nanopb_temp"

readonly LIBRARY_DIR="${DIR}/Crashlytics/Crashlytics/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
readonly REPO_DIR="$( git rev-parse --show-toplevel )"

# Current release of nanopb being used to build the CCT protos
readonly NANOPB_VERSION="0.3.9.7"
readonly NANOPB_VERSION="0.3.9.8"
readonly NANOPB_TEMPDIR="$(mktemp -d)"

readonly LIBRARY_DIR="${REPO_DIR}/Firebase/CoreDiagnostics/FIRCDLibrary"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppDistribution.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ iOS SDK for App Distribution for Firebase.
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 7.0'
s.dependency 'GoogleUtilities/UserDefaults', '~> 7.0'
s.dependency 'FirebaseInstallations', '~> 7.0'
s.dependency 'GoogleDataTransport', '~> 8.0'
s.dependency 'GoogleDataTransport', '~> 8.4'

s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
Expand Down
3 changes: 3 additions & 0 deletions FirebaseCore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- [changed] Update Nanopb to version 0.3.9.8. It fixes a possible security issue and some other
issues. (#7787)

# FirebaseCore 7.7.0
- [changed] Deprecated FirebaseMLModelInterpreter and FirebaseMLVision.
- [added] Introduced FirebaseMLModelDownloader.
Expand Down
4 changes: 2 additions & 2 deletions FirebaseCoreDiagnostics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ non-Cocoapod integration. This library also respects the Firebase global data co

s.framework = 'Foundation'

s.dependency 'GoogleDataTransport', '~> 8.0'
s.dependency 'GoogleDataTransport', '~> 8.4'
s.dependency 'GoogleUtilities/Environment', '~> 7.0'
s.dependency 'GoogleUtilities/Logger', '~> 7.0'
s.dependency 'nanopb', '~> 2.30907.0'
s.dependency 'nanopb', '~> 2.30908.0'

s.test_spec 'unit' do |unit_tests|
unit_tests.scheme = { :code_coverage => true }
Expand Down
4 changes: 2 additions & 2 deletions FirebaseCrashlytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Pod::Spec.new do |s|
s.dependency 'FirebaseCore', '~> 7.0'
s.dependency 'FirebaseInstallations', '~> 7.0'
s.dependency 'PromisesObjC', '~> 1.2'
s.dependency 'GoogleDataTransport', '~> 8.0'
s.dependency 'nanopb', '~> 2.30907.0'
s.dependency 'GoogleDataTransport', '~> 8.4'
s.dependency 'nanopb', '~> 2.30908.0'

s.libraries = 'c++', 'z'
s.ios.frameworks = 'Security', 'SystemConfiguration'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseFirestore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,

s.dependency 'gRPC-C++', '~> 1.28.0'
s.dependency 'leveldb-library', '~> 1.22'
s.dependency 'nanopb', '~> 2.30907.0'
s.dependency 'nanopb', '~> 2.30908.0'

s.ios.frameworks = 'SystemConfiguration', 'UIKit'
s.osx.frameworks = 'SystemConfiguration'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInAppMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin
s.dependency 'FirebaseInstallations', '~> 7.0'
s.dependency 'FirebaseABTesting', '~> 7.0'
s.dependency 'GoogleUtilities/Environment', '~> 7.0'
s.dependency 'nanopb', '~> 2.30907.0'
s.dependency 'nanopb', '~> 2.30908.0'

s.test_spec 'unit' do |unit_tests|
unit_tests.scheme = { :code_coverage => true }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
readonly REPO_DIR="$( git rev-parse --show-toplevel )"

# Current release of nanopb being used to build the CCT protos
readonly NANOPB_VERSION="0.3.9.7"
readonly NANOPB_VERSION="0.3.9.8"
readonly NANOPB_TEMPDIR="$(mktemp -d)"

readonly PROTO_DIR="${REPO_DIR}/FirebaseInAppMessaging/ProtoSupport/Protos"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseMLModelDownloader.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Pod::Spec.new do |s|
s.framework = 'Foundation'
s.dependency 'FirebaseCore', '~> 7.6'
s.dependency 'FirebaseInstallations', '~> 7.6'
s.dependency 'GoogleDataTransport', '~> 8.3'
s.dependency 'GoogleDataTransport', '~> 8.4'
# TODO: Revisit this dependency
s.dependency 'GoogleUtilities/Logger', '~> 7.2'
s.dependency 'SwiftProtobuf', '~> 1.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebasePerformance.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Firebase Performance library to measure performance of Mobile and Web Apps.
s.dependency 'FirebaseCore', '~> 7.0'
s.dependency 'FirebaseInstallations', '~> 7.0'
s.dependency 'FirebaseRemoteConfig', '~> 7.0'
s.dependency 'GoogleDataTransport', '~> 8.2'
s.dependency 'GoogleDataTransport', '~> 8.4'
s.dependency 'GoogleUtilities/Environment', '~> 7.0'
s.dependency 'GoogleUtilities/ISASwizzler', '~> 7.0'
s.dependency 'GoogleUtilities/MethodSwizzler', '~> 7.0'
Expand Down
6 changes: 3 additions & 3 deletions Firestore/Protos/nanopb/firestore/bundle.nanopb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "bundle.nanopb.h"

Expand Down Expand Up @@ -82,7 +82,7 @@ const pb_field_t firestore_BundleElement_fields[5] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -93,7 +93,7 @@ PB_STATIC_ASSERT((pb_membersize(firestore_BundledQuery, structured_query) < 6553
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
2 changes: 1 addition & 1 deletion Firestore/Protos/nanopb/firestore/bundle.nanopb.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_FIRESTORE_BUNDLE_NANOPB_H_INCLUDED
#define PB_FIRESTORE_BUNDLE_NANOPB_H_INCLUDED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "maybe_document.nanopb.h"

Expand Down Expand Up @@ -62,7 +62,7 @@ const pb_field_t firestore_client_MaybeDocument_fields[5] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -73,7 +73,7 @@ PB_STATIC_ASSERT((pb_membersize(firestore_client_NoDocument, read_time) < 65536
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_FIRESTORE_CLIENT_MAYBE_DOCUMENT_NANOPB_H_INCLUDED
#define PB_FIRESTORE_CLIENT_MAYBE_DOCUMENT_NANOPB_H_INCLUDED
Expand Down
6 changes: 3 additions & 3 deletions Firestore/Protos/nanopb/firestore/local/mutation.nanopb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "mutation.nanopb.h"

Expand Down Expand Up @@ -56,7 +56,7 @@ const pb_field_t firestore_client_WriteBatch_fields[5] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -67,7 +67,7 @@ PB_STATIC_ASSERT((pb_membersize(firestore_client_WriteBatch, local_write_time) <
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
2 changes: 1 addition & 1 deletion Firestore/Protos/nanopb/firestore/local/mutation.nanopb.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_FIRESTORE_CLIENT_MUTATION_NANOPB_H_INCLUDED
#define PB_FIRESTORE_CLIENT_MUTATION_NANOPB_H_INCLUDED
Expand Down
6 changes: 3 additions & 3 deletions Firestore/Protos/nanopb/firestore/local/target.nanopb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "target.nanopb.h"

Expand Down Expand Up @@ -61,7 +61,7 @@ const pb_field_t firestore_client_TargetGlobal_fields[5] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -72,7 +72,7 @@ PB_STATIC_ASSERT((pb_membersize(firestore_client_Target, query) < 65536 && pb_me
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
2 changes: 1 addition & 1 deletion Firestore/Protos/nanopb/firestore/local/target.nanopb.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_FIRESTORE_CLIENT_TARGET_NANOPB_H_INCLUDED
#define PB_FIRESTORE_CLIENT_TARGET_NANOPB_H_INCLUDED
Expand Down
2 changes: 1 addition & 1 deletion Firestore/Protos/nanopb/google/api/annotations.nanopb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "annotations.nanopb.h"

Expand Down
2 changes: 1 addition & 1 deletion Firestore/Protos/nanopb/google/api/annotations.nanopb.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_GOOGLE_API_ANNOTATIONS_NANOPB_H_INCLUDED
#define PB_GOOGLE_API_ANNOTATIONS_NANOPB_H_INCLUDED
Expand Down
6 changes: 3 additions & 3 deletions Firestore/Protos/nanopb/google/api/http.nanopb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "http.nanopb.h"

Expand Down Expand Up @@ -67,7 +67,7 @@ const pb_field_t google_api_CustomHttpPattern_fields[3] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -78,7 +78,7 @@ PB_STATIC_ASSERT((pb_membersize(google_api_HttpRule, custom) < 65536), YOU_MUST_
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
2 changes: 1 addition & 1 deletion Firestore/Protos/nanopb/google/api/http.nanopb.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_GOOGLE_API_HTTP_NANOPB_H_INCLUDED
#define PB_GOOGLE_API_HTTP_NANOPB_H_INCLUDED
Expand Down
6 changes: 3 additions & 3 deletions Firestore/Protos/nanopb/google/firestore/v1/common.nanopb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "common.nanopb.h"

Expand Down Expand Up @@ -69,7 +69,7 @@ const pb_field_t google_firestore_v1_TransactionOptions_ReadOnly_fields[2] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -80,7 +80,7 @@ PB_STATIC_ASSERT((pb_membersize(google_firestore_v1_Precondition, update_time) <
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_GOOGLE_FIRESTORE_V1_COMMON_NANOPB_H_INCLUDED
#define PB_GOOGLE_FIRESTORE_V1_COMMON_NANOPB_H_INCLUDED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#include "document.nanopb.h"

Expand Down Expand Up @@ -87,7 +87,7 @@ const pb_field_t google_firestore_v1_MapValue_FieldsEntry_fields[3] = {
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
* field descriptors.
Expand All @@ -98,7 +98,7 @@ PB_STATIC_ASSERT((pb_membersize(google_firestore_v1_Document, create_time) < 655
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
* compile-time option. You can do that in pb.h or on compiler command line.
*
*
* The reason you need to do this is that some of your messages contain tag
* numbers or field sizes that are larger than what can fit in the default
* 8 bit descriptors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.7 */
/* Generated by nanopb-0.3.9.8 */

#ifndef PB_GOOGLE_FIRESTORE_V1_DOCUMENT_NANOPB_H_INCLUDED
#define PB_GOOGLE_FIRESTORE_V1_DOCUMENT_NANOPB_H_INCLUDED
Expand Down
Loading