From bd39a8007654ec851d6e061639851456badc2d8b Mon Sep 17 00:00:00 2001 From: tw-tjd Date: Mon, 7 Jun 2021 09:40:54 -0600 Subject: [PATCH 1/2] Update BOM to 28.1.0 --- packages/firebase_core/firebase_core/android/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firebase_core/firebase_core/android/gradle.properties b/packages/firebase_core/firebase_core/android/gradle.properties index 167049c0add7..7c2b49f21794 100644 --- a/packages/firebase_core/firebase_core/android/gradle.properties +++ b/packages/firebase_core/firebase_core/android/gradle.properties @@ -1,2 +1,2 @@ # https://firebase.google.com/support/release-notes/android -FirebaseSDKVersion=28.0.1 +FirebaseSDKVersion=28.1.0 From 957f8ab521d7953b6c85957c99ad4320b0ef3e58 Mon Sep 17 00:00:00 2001 From: tw-tjd Date: Mon, 7 Jun 2021 09:41:05 -0600 Subject: [PATCH 2/2] Update Changelog --- .../firebase_core/firebase_core/CHANGELOG.md | 283 +++++++++--------- 1 file changed, 144 insertions(+), 139 deletions(-) diff --git a/packages/firebase_core/firebase_core/CHANGELOG.md b/packages/firebase_core/firebase_core/CHANGELOG.md index ae0dd09a1870..20e35ba0563f 100644 --- a/packages/firebase_core/firebase_core/CHANGELOG.md +++ b/packages/firebase_core/firebase_core/CHANGELOG.md @@ -1,66 +1,70 @@ +## unreleased + +- **FEAT**: upgrade Firebase Android SDK BoM version from 28.0.1 to 28.1.0. + ## 1.2.1 - - **DOCS**: Add Flutter Favorite badge (#6190). +- **DOCS**: Add Flutter Favorite badge (#6190). ## 1.2.0 - - **FEAT**: upgrade Firebase Android SDK BoM version from 28.0.0 to 28.0.1. - - **FEAT**: upgrade Firebase JS SDK version to 8.6.1. - - **FIX**: podspec osx version checking script should use a version range instead of a single fixed version. +- **FEAT**: upgrade Firebase Android SDK BoM version from 28.0.0 to 28.0.1. +- **FEAT**: upgrade Firebase JS SDK version to 8.6.1. +- **FIX**: podspec osx version checking script should use a version range instead of a single fixed version. ## 1.1.1 - - Update a dependency to the latest release. +- Update a dependency to the latest release. ## 1.1.0 - - **FEAT**: update iOS Firebase SDK from 7.3 to 7.11 (#5896). +- **FEAT**: update iOS Firebase SDK from 7.3 to 7.11 (#5896). ## 1.0.4 - - **REFACTOR**: Share guard functions accross plugins (#5783). - - **CHORE**: update Web plugins to use Firebase JS SDK version 8.4.1 (#4464). +- **REFACTOR**: Share guard functions accross plugins (#5783). +- **CHORE**: update Web plugins to use Firebase JS SDK version 8.4.1 (#4464). ## 1.0.3 - - **REFACTOR**: Remove deprecated gradle property android.enableR8=true (#5463). - - **CHORE**: add repository urls to pubspecs (#5542). - - **CHORE**: bump min Dart SDK constraint to 2.12.0 (#5430). - - **CHORE**: publish packages (#5429). - - **CHORE**: publish packages. +- **REFACTOR**: Remove deprecated gradle property android.enableR8=true (#5463). +- **CHORE**: add repository urls to pubspecs (#5542). +- **CHORE**: bump min Dart SDK constraint to 2.12.0 (#5430). +- **CHORE**: publish packages (#5429). +- **CHORE**: publish packages. ## 1.0.2 - - Update a dependency to the latest release. +- Update a dependency to the latest release. ## 1.0.1 - - Update a dependency to the latest release. +- Update a dependency to the latest release. ## 1.0.0 - - Graduate package to a stable release. See pre-releases prior to this version for changelog entries. +- Graduate package to a stable release. See pre-releases prior to this version for changelog entries. ## 1.0.0-1.0.nullsafety.0 - - Bump "firebase_core" to `1.0.0-1.0.nullsafety.0`. +- Bump "firebase_core" to `1.0.0-1.0.nullsafety.0`. ## 0.8.0-1.0.nullsafety.2 - - **TESTS**: update mockito API usage in tests +- **TESTS**: update mockito API usage in tests ## 0.8.0-1.0.nullsafety.1 - - **REFACTOR**: pubspec & dependency updates (#4932). - - **REFACTOR**: replace deprecated `RaisedButton` widget with `ElevatedButton`. +- **REFACTOR**: pubspec & dependency updates (#4932). +- **REFACTOR**: replace deprecated `RaisedButton` widget with `ElevatedButton`. ## 0.8.0-1.0.nullsafety.0 - - Bump "firebase_core" to `0.8.0-1.0.nullsafety.0`. +- Bump "firebase_core" to `0.8.0-1.0.nullsafety.0`. ## 0.8.0-nullsafety.1 - - **FEAT**: bump firebase-core to 4.0.0-nullsafety.0 and firebase-core-web to 0.3.0-nullsafety.0. +- **FEAT**: bump firebase-core to 4.0.0-nullsafety.0 and firebase-core-web to 0.3.0-nullsafety.0. ## 0.8.0-nullsafety.0 @@ -68,244 +72,245 @@ ## 0.7.0-nullsafety.0 - - **REFACTOR**: Migrate non-nullable types (#4656). +- **REFACTOR**: Migrate non-nullable types (#4656). ## 0.7.0 > Note: This release has breaking changes. - - **FEAT**: add check on podspec to assist upgrading users deployment target. - - **BUILD**: commit Podfiles with 10.12 deployment target. - - **BUILD**: remove default sdk version, version should always come from firebase_core, or be user defined. - - **BUILD**: set macOS deployment target to 10.12 (from 10.11). - - **BREAKING** **BUILD**: set osx min supported platform version to 10.12. +- **FEAT**: add check on podspec to assist upgrading users deployment target. +- **BUILD**: commit Podfiles with 10.12 deployment target. +- **BUILD**: remove default sdk version, version should always come from firebase_core, or be user defined. +- **BUILD**: set macOS deployment target to 10.12 (from 10.11). +- **BREAKING** **BUILD**: set osx min supported platform version to 10.12. ## 0.6.0 > Note: This release has breaking changes. - - **FEAT**: bump firebase-android-sdk to v26.2.0. - - **BREAKING** **REFACTOR**: remove all currently deprecated APIs. - - **BREAKING** **FEAT**: forward port to firebase-ios-sdk v7.3.0. - - Due to this SDK upgrade, iOS 10 is now the minimum supported version by FlutterFire. Please update your build target version. - - **CHORE**: harmonize dependencies and version handling. +- **FEAT**: bump firebase-android-sdk to v26.2.0. +- **BREAKING** **REFACTOR**: remove all currently deprecated APIs. +- **BREAKING** **FEAT**: forward port to firebase-ios-sdk v7.3.0. + - Due to this SDK upgrade, iOS 10 is now the minimum supported version by FlutterFire. Please update your build target version. +- **CHORE**: harmonize dependencies and version handling. ## 0.5.3 - - **FEAT**: bump android `com.android.tools.build` & `'com.google.gms:google-services` versions (#4269). +- **FEAT**: bump android `com.android.tools.build` & `'com.google.gms:google-services` versions (#4269). ## 0.5.2+1 - - Update a dependency to the latest release. +- Update a dependency to the latest release. ## 0.5.2 - - **FEAT**: add not-in & != query support (#3748). - - **FEAT**: bump compileSdkVersion to 29 (#3975). - - **FEAT**: bump `compileSdkVersion` to 29 in preparation for upcoming Play Store requirement. - - **CHORE**: publish packages. - - **CHORE**: publish packages. +- **FEAT**: add not-in & != query support (#3748). +- **FEAT**: bump compileSdkVersion to 29 (#3975). +- **FEAT**: bump `compileSdkVersion` to 29 in preparation for upcoming Play Store requirement. +- **CHORE**: publish packages. +- **CHORE**: publish packages. ## 0.5.1 - - **FEAT**: bump compileSdkVersion to 29 (#3975). - - **FEAT**: update Firebase Android SDK BoM version to 25.12.0 (from 25.3.1). - - **FEAT**: update Firebase iOS SDK version to 6.33.0 (from 6.26.0). +- **FEAT**: bump compileSdkVersion to 29 (#3975). +- **FEAT**: update Firebase Android SDK BoM version to 25.12.0 (from 25.3.1). +- **FEAT**: update Firebase iOS SDK version to 6.33.0 (from 6.26.0). ## 0.5.0+1 - - **FIX**: remove unused dart:async import (#3611). +- **FIX**: remove unused dart:async import (#3611). ## 0.5.0 -* Allow iOS and macOS to be imported as a module. -* DEPRECATED: `FirebaseApp.configure` method is now deprecated in favor of the `Firebase.initializeApp` method. -* DEPRECATED: `FirebaseApp.allApps` method is now deprecated in favor of the `Firebase.apps` property. - * Previously, `allApps` was async & `apps` is now synchronous. -* DEPRECATED: `FirebaseApp.appNamed` method is now deprecated in favor of the `Firebase.app` method. -* BREAKING: `FirebaseApp.options` getter is now synchronous. - -* `FirebaseOptions` has been reworked to better match web property names: - * DEPRECATED: `googleAppID` is now deprecated in favor of `appId`. - * DEPRECATED: `projectID` is now deprecated in favor of `projectId`. - * DEPRECATED: `bundleID` is now deprecated in favor of `bundleId`. - * DEPRECATED: `clientID` is now deprecated in favor of `androidClientId`. - * DEPRECATED: `trackingID` is now deprecated in favor of `trackingId`. - * DEPRECATED: `gcmSenderID` is now deprecated in favor of `messagingSenderId`. - * Added support for `authDomain`. - * Added support for `trackingId`. - * Required properties are now `apiKey`, `appId`, `messagingSenderId` & `projectId`. - -* Added support for deleting Firebase app instances via the `delete` method on `FirebaseApp`. -* Added support for returning consistent error messages from `firebase-dart` plugin. - * Any FlutterFire related errors now throw a `FirebaseException`. -* Added a `FirebaseException` class to handle all FlutterFire related errors. - * Matching the web sdk, the exception returns a formatted "[plugin/code] message" message when thrown. -* Added support for `setAutomaticDataCollectionEnabled` & `isAutomaticDataCollectionEnabled` on a `FirebaseApp` instance. -* Added support for `setAutomaticResourceManagementEnabled` on a `FirebaseApp` instance. - -* Android: Gradle build tools updated to 3.6.3 from 3.3.0. -* Android: Removed Gradle ‘hacks’ and upgrade Flutter SDK requirement from `>=1.12.13+hotfix.4` to `>=1.12.13+hotfix.5` - based on PR https://github.com/flutter/plugins/pull/2651 -* Android: Switched to using Firebase BoM to manage SDK versions +- Allow iOS and macOS to be imported as a module. +- DEPRECATED: `FirebaseApp.configure` method is now deprecated in favor of the `Firebase.initializeApp` method. +- DEPRECATED: `FirebaseApp.allApps` method is now deprecated in favor of the `Firebase.apps` property. + - Previously, `allApps` was async & `apps` is now synchronous. +- DEPRECATED: `FirebaseApp.appNamed` method is now deprecated in favor of the `Firebase.app` method. +- BREAKING: `FirebaseApp.options` getter is now synchronous. + +- `FirebaseOptions` has been reworked to better match web property names: + + - DEPRECATED: `googleAppID` is now deprecated in favor of `appId`. + - DEPRECATED: `projectID` is now deprecated in favor of `projectId`. + - DEPRECATED: `bundleID` is now deprecated in favor of `bundleId`. + - DEPRECATED: `clientID` is now deprecated in favor of `androidClientId`. + - DEPRECATED: `trackingID` is now deprecated in favor of `trackingId`. + - DEPRECATED: `gcmSenderID` is now deprecated in favor of `messagingSenderId`. + - Added support for `authDomain`. + - Added support for `trackingId`. + - Required properties are now `apiKey`, `appId`, `messagingSenderId` & `projectId`. + +- Added support for deleting Firebase app instances via the `delete` method on `FirebaseApp`. +- Added support for returning consistent error messages from `firebase-dart` plugin. + - Any FlutterFire related errors now throw a `FirebaseException`. +- Added a `FirebaseException` class to handle all FlutterFire related errors. + - Matching the web sdk, the exception returns a formatted "[plugin/code] message" message when thrown. +- Added support for `setAutomaticDataCollectionEnabled` & `isAutomaticDataCollectionEnabled` on a `FirebaseApp` instance. +- Added support for `setAutomaticResourceManagementEnabled` on a `FirebaseApp` instance. + +- Android: Gradle build tools updated to 3.6.3 from 3.3.0. +- Android: Removed Gradle ‘hacks’ and upgrade Flutter SDK requirement from `>=1.12.13+hotfix.4` to `>=1.12.13+hotfix.5` - based on PR https://github.com/flutter/plugins/pull/2651 +- Android: Switched to using Firebase BoM to manage SDK versions ## 0.4.5 -* Update lower bound of dart dependency to 2.0.0. +- Update lower bound of dart dependency to 2.0.0. ## 0.4.4+3 -* Fix for missing UserAgent.h compilation failures. +- Fix for missing UserAgent.h compilation failures. ## 0.4.4+2 -* Update dependency on firebase_core_platform_interface to 1.0.4. +- Update dependency on firebase_core_platform_interface to 1.0.4. ## 0.4.4+1 -* Make the pedantic dev_dependency explicit. +- Make the pedantic dev_dependency explicit. ## 0.4.4 -* Add macOS support +- Add macOS support ## 0.4.3+3 -* Fix overrides a deprecated API. +- Fix overrides a deprecated API. ## 0.4.3+2 -* Add integration instructions for the `web` platform. +- Add integration instructions for the `web` platform. ## 0.4.3+1 -* Move `Platform.isIOS` check behind a configurable import so that pub.dev registers +- Move `Platform.isIOS` check behind a configurable import so that pub.dev registers this as a Web plugin. ## 0.4.3 -* Enable the `web` implementation by default. -* Raise minimum required Flutter SDK version to 1.12.13+hotfix.4 +- Enable the `web` implementation by default. +- Raise minimum required Flutter SDK version to 1.12.13+hotfix.4 ## 0.4.2+2 -* Remove the deprecated `author:` field from pubspec.yaml -* Migrate the plugin to the pubspec platforms manifest. -* Bump the minimum Flutter version to 1.10.0. +- Remove the deprecated `author:` field from pubspec.yaml +- Migrate the plugin to the pubspec platforms manifest. +- Bump the minimum Flutter version to 1.10.0. ## 0.4.2+1 -* Check `kIsWeb` before checking `Platform.isIos` for the default app name. +- Check `kIsWeb` before checking `Platform.isIos` for the default app name. ## 0.4.2 -* Migrate to `firebase_core_platform_interface`. +- Migrate to `firebase_core_platform_interface`. ## 0.4.1+6 -* Update the homepage now that the package structure has changed. +- Update the homepage now that the package structure has changed. ## 0.4.1+5 -* Remove deprecated [firebase-core](https://firebase.google.com/support/release-notes/android) dependency. +- Remove deprecated [firebase-core](https://firebase.google.com/support/release-notes/android) dependency. ## 0.4.1+4 -* Remove visibleForTesting annotation from FirebaseApp constructor. +- Remove visibleForTesting annotation from FirebaseApp constructor. ## 0.4.1+3 -* Updated README instructions for contributing for consistency with other Flutterfire plugins. +- Updated README instructions for contributing for consistency with other Flutterfire plugins. ## 0.4.1+2 -* Remove AndroidX warning. +- Remove AndroidX warning. ## 0.4.1+1 -* Include lifecycle dependency as a compileOnly one on Android to resolve +- Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries. ## 0.4.1 -* Support the v2 Android embedding. +- Support the v2 Android embedding. ## 0.4.0+9 -* Update documentation to reflect new repository location. -* Update unit tests to call `TestWidgetsFlutterBinding.ensureInitialized`. +- Update documentation to reflect new repository location. +- Update unit tests to call `TestWidgetsFlutterBinding.ensureInitialized`. ## 0.4.0+8 -* Update google-services Android gradle plugin to 4.3.0 in documentation and examples. +- Update google-services Android gradle plugin to 4.3.0 in documentation and examples. ## 0.4.0+7 -* Fix Android compilation warning. +- Fix Android compilation warning. ## 0.4.0+6 -* Automatically use version from pubspec.yaml when reporting usage to Firebase. +- Automatically use version from pubspec.yaml when reporting usage to Firebase. ## 0.4.0+5 -* Rollback of automatic plugin version retrieval. +- Rollback of automatic plugin version retrieval. ## 0.4.0+4 -* Automate the retrieval of the plugin's version when reporting usage to Firebase. +- Automate the retrieval of the plugin's version when reporting usage to Firebase. ## 0.4.0+3 -* Add missing template type parameter to `invokeMethod` calls. -* Bump minimum Flutter version to 1.5.0. -* Replace invokeMethod with invokeMapMethod wherever necessary. +- Add missing template type parameter to `invokeMethod` calls. +- Bump minimum Flutter version to 1.5.0. +- Replace invokeMethod with invokeMapMethod wherever necessary. ## 0.4.0+2 -* Update user agent name. Set to `flutter-fire-core` for consistency with other +- Update user agent name. Set to `flutter-fire-core` for consistency with other libraries. ## 0.4.0+1 -* Send user agent to Firebase. +- Send user agent to Firebase. ## 0.4.0 -* Update Android dependencies to latest. +- Update Android dependencies to latest. ## 0.3.4 -* Updates Android firebase-core dependency to a version that is compatible with other Flutterfire plugins. +- Updates Android firebase-core dependency to a version that is compatible with other Flutterfire plugins. ## 0.3.3 -* Remove Gradle BoM to avoid Gradle version issues. +- Remove Gradle BoM to avoid Gradle version issues. ## 0.3.2 -* Move Android dependency to Gradle BoM to help maintain compatability +- Move Android dependency to Gradle BoM to help maintain compatability with other FlutterFire plugins. ## 0.3.1+1 -* Add nil check on static functions to prevent crashes or unwanted behaviors. +- Add nil check on static functions to prevent crashes or unwanted behaviors. ## 0.3.1 -* Remove an assertion that can interfere with hot-restart. +- Remove an assertion that can interfere with hot-restart. ## 0.3.0+2 -* Remove categories. +- Remove categories. ## 0.3.0+1 -* Log a more detailed warning at build time about the previous AndroidX +- Log a more detailed warning at build time about the previous AndroidX migration. ## 0.3.0 -* **Breaking change**. Migrate from the deprecated original Android Support +- **Breaking change**. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to [also migrate](https://developer.android.com/jetpack/androidx/migrate) if they're @@ -313,77 +318,77 @@ ## 0.2.5+1 -* Bump Android dependencies to latest. +- Bump Android dependencies to latest. ## 0.2.5 -* Bump Android and Firebase dependency versions. +- Bump Android and Firebase dependency versions. ## 0.2.4 -* Updated Gradle tooling to match Android Studio 3.1.2. +- Updated Gradle tooling to match Android Studio 3.1.2. ## 0.2.3 -* Updated Google Play Services dependencies to version 15.0.0. +- Updated Google Play Services dependencies to version 15.0.0. ## 0.2.2 -* Simplified podspec for Cocoapods 1.5.0, avoiding link issues in app archives. +- Simplified podspec for Cocoapods 1.5.0, avoiding link issues in app archives. ## 0.2.1 -* Fix setting project ID on Android. +- Fix setting project ID on Android. ## 0.2.0 -* **Breaking change**. Options API is now async to interoperate with native code that configures Firebase apps. -* Provide a getter for the default app -* Fix setting of GCM sender ID on iOS +- **Breaking change**. Options API is now async to interoperate with native code that configures Firebase apps. +- Provide a getter for the default app +- Fix setting of GCM sender ID on iOS ## 0.1.2 -* Fix projectID on iOS +- Fix projectID on iOS ## 0.1.1 -* Fix behavior of constructor for named Firebase apps. +- Fix behavior of constructor for named Firebase apps. ## 0.1.0 -* **Breaking change**. Set SDK constraints to match the Flutter beta release. +- **Breaking change**. Set SDK constraints to match the Flutter beta release. ## 0.0.7 -* Fixed Dart 2 type errors. +- Fixed Dart 2 type errors. ## 0.0.6 -* Enabled use in Swift projects. +- Enabled use in Swift projects. ## 0.0.5 -* Moved to the io.flutter.plugins org. +- Moved to the io.flutter.plugins org. ## 0.0.4 -* Fixed warnings from the Dart 2.0 analyzer. -* Simplified and upgraded Android project template to Android SDK 27. -* Updated package description. +- Fixed warnings from the Dart 2.0 analyzer. +- Simplified and upgraded Android project template to Android SDK 27. +- Updated package description. # 0.0.3 -* **Breaking change**. Upgraded to Gradle 4.1 and Android Studio Gradle plugin +- **Breaking change**. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found [here](https://github.com/flutter/flutter/wiki/Updating-Flutter-projects-to-Gradle-4.1-and-Android-Studio-Gradle-plugin-3.0.1). ## 0.0.2 -* Fixes for database URL on Android -* Make GCM sender id optional on Android -* Relax GMS dependency to 11.+ +- Fixes for database URL on Android +- Make GCM sender id optional on Android +- Relax GMS dependency to 11.+ ## 0.0.1 -* Initial Release +- Initial Release