From a62c9d026bf5c11fb16b277d6b23b206abf15a1e Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Wed, 12 Jun 2024 10:11:54 +0100 Subject: [PATCH 01/22] chore(release): publish packages (#361) --- CHANGELOG.md | 50 +++++++++++++++++++ packages/firebase_ui_auth/CHANGELOG.md | 5 ++ .../firebase_ui_auth/example/pubspec.yaml | 14 +++--- packages/firebase_ui_auth/pubspec.yaml | 6 +-- packages/firebase_ui_database/CHANGELOG.md | 4 ++ .../firebase_ui_database/example/pubspec.yaml | 2 +- packages/firebase_ui_database/pubspec.yaml | 4 +- packages/firebase_ui_firestore/CHANGELOG.md | 4 ++ .../example/pubspec.yaml | 2 +- packages/firebase_ui_firestore/pubspec.yaml | 4 +- .../firebase_ui_localizations/CHANGELOG.md | 6 +++ .../example/pubspec.yaml | 4 +- .../firebase_ui_localizations/pubspec.yaml | 2 +- packages/firebase_ui_oauth/CHANGELOG.md | 4 ++ .../firebase_ui_oauth/example/pubspec.yaml | 10 ++-- packages/firebase_ui_oauth/pubspec.yaml | 4 +- packages/firebase_ui_oauth_apple/CHANGELOG.md | 4 ++ packages/firebase_ui_oauth_apple/pubspec.yaml | 4 +- .../firebase_ui_oauth_facebook/CHANGELOG.md | 4 ++ .../firebase_ui_oauth_facebook/pubspec.yaml | 4 +- .../firebase_ui_oauth_google/CHANGELOG.md | 4 ++ .../firebase_ui_oauth_google/pubspec.yaml | 4 +- .../firebase_ui_oauth_twitter/CHANGELOG.md | 4 ++ .../firebase_ui_oauth_twitter/pubspec.yaml | 4 +- packages/firebase_ui_storage/CHANGELOG.md | 4 ++ .../firebase_ui_storage/example/pubspec.yaml | 2 +- packages/firebase_ui_storage/pubspec.yaml | 4 +- tests/pubspec.yaml | 18 +++---- 28 files changed, 139 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5698df15..0eb8b792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,56 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-06-12 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`firebase_ui_auth` - `v1.15.0`](#firebase_ui_auth---v1150) + - [`firebase_ui_localizations` - `v1.12.0`](#firebase_ui_localizations---v1120) + - [`firebase_ui_oauth` - `v1.5.3`](#firebase_ui_oauth---v153) + - [`firebase_ui_oauth_facebook` - `v1.2.21`](#firebase_ui_oauth_facebook---v1221) + - [`firebase_ui_oauth_twitter` - `v1.2.21`](#firebase_ui_oauth_twitter---v1221) + - [`firebase_ui_oauth_apple` - `v1.2.21`](#firebase_ui_oauth_apple---v1221) + - [`firebase_ui_oauth_google` - `v1.3.3`](#firebase_ui_oauth_google---v133) + - [`firebase_ui_firestore` - `v1.6.4`](#firebase_ui_firestore---v164) + - [`firebase_ui_storage` - `v2.0.5`](#firebase_ui_storage---v205) + - [`firebase_ui_database` - `v1.4.4`](#firebase_ui_database---v144) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `firebase_ui_oauth` - `v1.5.3` + - `firebase_ui_oauth_facebook` - `v1.2.21` + - `firebase_ui_oauth_twitter` - `v1.2.21` + - `firebase_ui_oauth_apple` - `v1.2.21` + - `firebase_ui_oauth_google` - `v1.3.3` + - `firebase_ui_firestore` - `v1.6.4` + - `firebase_ui_storage` - `v2.0.5` + - `firebase_ui_database` - `v1.4.4` + +--- + +#### `firebase_ui_auth` - `v1.15.0` + + - **FIX**(ui_auth): fix confirmation dialog for delete account button ([#346](https://github.com/firebase/FirebaseUI-Flutter/issues/346)). ([4fd041d1](https://github.com/firebase/FirebaseUI-Flutter/commit/4fd041d12756084da6e4e3e7232c0dd35fc3593c)) + - **FEAT**(firebase_ui_auth): add autofocus property to PhoneInput widget ([#334](https://github.com/firebase/FirebaseUI-Flutter/issues/334)). ([eb9e2bd1](https://github.com/firebase/FirebaseUI-Flutter/commit/eb9e2bd1e04be52472b70354dd253a362c3b49c2)) + +#### `firebase_ui_localizations` - `v1.12.0` + + - **FIX**(ui_localizations): Add missing 'nb' language code to kSupportedLanguages ([#350](https://github.com/firebase/FirebaseUI-Flutter/issues/350)). ([3fbfded0](https://github.com/firebase/FirebaseUI-Flutter/commit/3fbfded079b8dbe54b15d805ed5be5836e0d1ff7)) + - **FEAT**(firebase_ui_localizations): Further German translations for auth labels that were still in English ([#319](https://github.com/firebase/FirebaseUI-Flutter/issues/319)). ([2f96686c](https://github.com/firebase/FirebaseUI-Flutter/commit/2f96686cb5dcbba2ad1cd02354ccc3b95af3ca5f)) + - **FEAT**(firebase_ui_localizations): Add Finnish language localization labels ([#332](https://github.com/firebase/FirebaseUI-Flutter/issues/332)). ([848b66cf](https://github.com/firebase/FirebaseUI-Flutter/commit/848b66cfc6bd7a84d57e94d0c6bcab8713ab9313)) + + ## 2024-04-24 ### Changes diff --git a/packages/firebase_ui_auth/CHANGELOG.md b/packages/firebase_ui_auth/CHANGELOG.md index e68467d6..b97f2f7d 100644 --- a/packages/firebase_ui_auth/CHANGELOG.md +++ b/packages/firebase_ui_auth/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.15.0 + + - **FIX**(ui_auth): fix confirmation dialog for delete account button ([#346](https://github.com/firebase/FirebaseUI-Flutter/issues/346)). ([4fd041d1](https://github.com/firebase/FirebaseUI-Flutter/commit/4fd041d12756084da6e4e3e7232c0dd35fc3593c)) + - **FEAT**(firebase_ui_auth): add autofocus property to PhoneInput widget ([#334](https://github.com/firebase/FirebaseUI-Flutter/issues/334)). ([eb9e2bd1](https://github.com/firebase/FirebaseUI-Flutter/commit/eb9e2bd1e04be52472b70354dd253a362c3b49c2)) + ## 1.14.0 - **FIX**(auth): `ForgotPasswordScreen` display email within input box ([#336](https://github.com/firebase/FirebaseUI-Flutter/issues/336)). ([ad666666](https://github.com/firebase/FirebaseUI-Flutter/commit/ad666666b05c637d5bdf4d041c29a1eeac63d528)) diff --git a/packages/firebase_ui_auth/example/pubspec.yaml b/packages/firebase_ui_auth/example/pubspec.yaml index ab84edca..45e8bf01 100644 --- a/packages/firebase_ui_auth/example/pubspec.yaml +++ b/packages/firebase_ui_auth/example/pubspec.yaml @@ -28,13 +28,13 @@ dependencies: sdk: flutter flutter_localizations: sdk: flutter - firebase_ui_auth: ^1.14.0 - firebase_ui_localizations: ^1.11.0 - firebase_ui_oauth: ^1.5.2 - firebase_ui_oauth_apple: ^1.2.20 - firebase_ui_oauth_facebook: ^1.2.20 - firebase_ui_oauth_google: ^1.3.2 - firebase_ui_oauth_twitter: ^1.2.20 + firebase_ui_auth: ^1.15.0 + firebase_ui_localizations: ^1.12.0 + firebase_ui_oauth: ^1.5.3 + firebase_ui_oauth_apple: ^1.2.21 + firebase_ui_oauth_facebook: ^1.2.21 + firebase_ui_oauth_google: ^1.3.3 + firebase_ui_oauth_twitter: ^1.2.21 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_auth/pubspec.yaml b/packages/firebase_ui_auth/pubspec.yaml index e2bf05a9..5a1590dc 100644 --- a/packages/firebase_ui_auth/pubspec.yaml +++ b/packages/firebase_ui_auth/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_auth description: Pre-built widgets library that are integrated with the variety of the Firebase Auth providers. -version: 1.14.0 +version: 1.15.0 repository: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_auth homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_auth @@ -13,8 +13,8 @@ dependencies: firebase_auth: ^5.0.0 firebase_core: ^3.0.0 firebase_dynamic_links: ^6.0.0 - firebase_ui_localizations: ^1.11.0 - firebase_ui_oauth: ^1.5.2 + firebase_ui_localizations: ^1.12.0 + firebase_ui_oauth: ^1.5.3 firebase_ui_shared: ^1.4.1 flutter: sdk: flutter diff --git a/packages/firebase_ui_database/CHANGELOG.md b/packages/firebase_ui_database/CHANGELOG.md index e1076d09..60c835a6 100644 --- a/packages/firebase_ui_database/CHANGELOG.md +++ b/packages/firebase_ui_database/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.4 + + - Update a dependency to the latest release. + ## 1.4.3 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_database/example/pubspec.yaml b/packages/firebase_ui_database/example/pubspec.yaml index 35a11dce..ebb8ed8b 100644 --- a/packages/firebase_ui_database/example/pubspec.yaml +++ b/packages/firebase_ui_database/example/pubspec.yaml @@ -29,7 +29,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_ui_database: ^1.4.3 + firebase_ui_database: ^1.4.4 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 diff --git a/packages/firebase_ui_database/pubspec.yaml b/packages/firebase_ui_database/pubspec.yaml index 3ef187eb..4acc55d0 100644 --- a/packages/firebase_ui_database/pubspec.yaml +++ b/packages/firebase_ui_database/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_database description: Pre-built widgets and utilites that make it easy to integrate Firebase Realtime Database into your Flutter app. -version: 1.4.3 +version: 1.4.4 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_database environment: @@ -10,7 +10,7 @@ environment: dependencies: collection: ^1.18.0 firebase_database: ^11.0.0 - firebase_ui_localizations: ^1.11.0 + firebase_ui_localizations: ^1.12.0 flutter: sdk: flutter diff --git a/packages/firebase_ui_firestore/CHANGELOG.md b/packages/firebase_ui_firestore/CHANGELOG.md index 119ed86f..76b62401 100644 --- a/packages/firebase_ui_firestore/CHANGELOG.md +++ b/packages/firebase_ui_firestore/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.6.4 + + - Update a dependency to the latest release. + ## 1.6.3 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_firestore/example/pubspec.yaml b/packages/firebase_ui_firestore/example/pubspec.yaml index dc3c6fad..755ac721 100644 --- a/packages/firebase_ui_firestore/example/pubspec.yaml +++ b/packages/firebase_ui_firestore/example/pubspec.yaml @@ -29,7 +29,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_ui_firestore: ^1.6.3 + firebase_ui_firestore: ^1.6.4 cloud_firestore: ^5.0.0 cupertino_icons: ^1.0.6 firebase_core: ^3.0.0 diff --git a/packages/firebase_ui_firestore/pubspec.yaml b/packages/firebase_ui_firestore/pubspec.yaml index b34db4ed..2f4bba5f 100644 --- a/packages/firebase_ui_firestore/pubspec.yaml +++ b/packages/firebase_ui_firestore/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_firestore description: Pre-built widgets and utilites that make it easy to integrate Firebase Firestore into your Flutter app. -version: 1.6.3 +version: 1.6.4 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_firestore environment: @@ -9,7 +9,7 @@ environment: dependencies: cloud_firestore: ^5.0.0 - firebase_ui_localizations: ^1.11.0 + firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 flutter: sdk: flutter diff --git a/packages/firebase_ui_localizations/CHANGELOG.md b/packages/firebase_ui_localizations/CHANGELOG.md index c41fe2c8..a78f02ca 100644 --- a/packages/firebase_ui_localizations/CHANGELOG.md +++ b/packages/firebase_ui_localizations/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.12.0 + + - **FIX**(ui_localizations): Add missing 'nb' language code to kSupportedLanguages ([#350](https://github.com/firebase/FirebaseUI-Flutter/issues/350)). ([3fbfded0](https://github.com/firebase/FirebaseUI-Flutter/commit/3fbfded079b8dbe54b15d805ed5be5836e0d1ff7)) + - **FEAT**(firebase_ui_localizations): Further German translations for auth labels that were still in English ([#319](https://github.com/firebase/FirebaseUI-Flutter/issues/319)). ([2f96686c](https://github.com/firebase/FirebaseUI-Flutter/commit/2f96686cb5dcbba2ad1cd02354ccc3b95af3ca5f)) + - **FEAT**(firebase_ui_localizations): Add Finnish language localization labels ([#332](https://github.com/firebase/FirebaseUI-Flutter/issues/332)). ([848b66cf](https://github.com/firebase/FirebaseUI-Flutter/commit/848b66cfc6bd7a84d57e94d0c6bcab8713ab9313)) + ## 1.11.0 - **FIX**(ui_localizations): In the Japanese file, change "login" to "sign and improve translations ([#304](https://github.com/firebase/FirebaseUI-Flutter/issues/304)). ([ae01e9f1](https://github.com/firebase/FirebaseUI-Flutter/commit/ae01e9f13dbd4d5b357c1124be39f9cc44ccb9ee)) diff --git a/packages/firebase_ui_localizations/example/pubspec.yaml b/packages/firebase_ui_localizations/example/pubspec.yaml index 81beb7ac..88086fda 100644 --- a/packages/firebase_ui_localizations/example/pubspec.yaml +++ b/packages/firebase_ui_localizations/example/pubspec.yaml @@ -32,8 +32,8 @@ dependencies: cupertino_icons: ^1.0.6 firebase_core: ^3.0.0 - firebase_ui_auth: ^1.14.0 - firebase_ui_localizations: ^1.11.0 + firebase_ui_auth: ^1.15.0 + firebase_ui_localizations: ^1.12.0 flutter: sdk: flutter flutter_localizations: diff --git a/packages/firebase_ui_localizations/pubspec.yaml b/packages/firebase_ui_localizations/pubspec.yaml index 53eec109..72b30b43 100644 --- a/packages/firebase_ui_localizations/pubspec.yaml +++ b/packages/firebase_ui_localizations/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_localizations description: Localization package for firebase_ui_auth, firebase_ui_firestore and firebase_ui_database -version: 1.11.0 +version: 1.12.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_localizations false_secrets: diff --git a/packages/firebase_ui_oauth/CHANGELOG.md b/packages/firebase_ui_oauth/CHANGELOG.md index 5c4ceabf..4ffea3da 100644 --- a/packages/firebase_ui_oauth/CHANGELOG.md +++ b/packages/firebase_ui_oauth/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.5.3 + + - Update a dependency to the latest release. + ## 1.5.2 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth/example/pubspec.yaml b/packages/firebase_ui_oauth/example/pubspec.yaml index 52807de2..7b431d74 100644 --- a/packages/firebase_ui_oauth/example/pubspec.yaml +++ b/packages/firebase_ui_oauth/example/pubspec.yaml @@ -35,11 +35,11 @@ dependencies: cupertino_icons: ^1.0.6 firebase_auth: ^5.0.0 firebase_core: ^3.0.0 - firebase_ui_oauth: ^1.5.2 - firebase_ui_oauth_apple: ^1.2.20 - firebase_ui_oauth_facebook: ^1.2.20 - firebase_ui_oauth_google: ^1.3.2 - firebase_ui_oauth_twitter: ^1.2.20 + firebase_ui_oauth: ^1.5.3 + firebase_ui_oauth_apple: ^1.2.21 + firebase_ui_oauth_facebook: ^1.2.21 + firebase_ui_oauth_google: ^1.3.3 + firebase_ui_oauth_twitter: ^1.2.21 dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/firebase_ui_oauth/pubspec.yaml b/packages/firebase_ui_oauth/pubspec.yaml index 307b1521..0dff9aca 100644 --- a/packages/firebase_ui_oauth/pubspec.yaml +++ b/packages/firebase_ui_oauth/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth description: Firebase UI widgets for authentication & OAuth -version: 1.5.2 +version: 1.5.3 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth environment: @@ -10,7 +10,7 @@ environment: dependencies: desktop_webview_auth: ^0.0.14 firebase_auth: ^5.0.0 - firebase_ui_auth: ^1.14.0 + firebase_ui_auth: ^1.15.0 firebase_ui_shared: ^1.4.1 flutter_svg: ^2.0.9 flutter: diff --git a/packages/firebase_ui_oauth_apple/CHANGELOG.md b/packages/firebase_ui_oauth_apple/CHANGELOG.md index 94729ed4..fb3c8fca 100644 --- a/packages/firebase_ui_oauth_apple/CHANGELOG.md +++ b/packages/firebase_ui_oauth_apple/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.21 + + - Update a dependency to the latest release. + ## 1.2.20 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_apple/pubspec.yaml b/packages/firebase_ui_oauth_apple/pubspec.yaml index dd0bd0bc..06ba2e1d 100644 --- a/packages/firebase_ui_oauth_apple/pubspec.yaml +++ b/packages/firebase_ui_oauth_apple/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_apple description: Firebase UI widgets for authentication & OAuth. -version: 1.2.20 +version: 1.2.21 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_apple environment: @@ -9,7 +9,7 @@ environment: dependencies: firebase_auth: ^5.0.0 - firebase_ui_oauth: ^1.5.2 + firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_facebook/CHANGELOG.md b/packages/firebase_ui_oauth_facebook/CHANGELOG.md index 4459a19b..25472d12 100644 --- a/packages/firebase_ui_oauth_facebook/CHANGELOG.md +++ b/packages/firebase_ui_oauth_facebook/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.21 + + - Update a dependency to the latest release. + ## 1.2.20 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_facebook/pubspec.yaml b/packages/firebase_ui_oauth_facebook/pubspec.yaml index 063116f2..ad1e5d3d 100644 --- a/packages/firebase_ui_oauth_facebook/pubspec.yaml +++ b/packages/firebase_ui_oauth_facebook/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_facebook description: Firebase UI widgets for authentication & OAuth. -version: 1.2.20 +version: 1.2.21 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_facebook environment: @@ -9,7 +9,7 @@ environment: dependencies: firebase_auth: ^5.0.0 - firebase_ui_oauth: ^1.5.2 + firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter flutter_facebook_auth: ^6.0.3 diff --git a/packages/firebase_ui_oauth_google/CHANGELOG.md b/packages/firebase_ui_oauth_google/CHANGELOG.md index 8d7512a0..2ac0442a 100644 --- a/packages/firebase_ui_oauth_google/CHANGELOG.md +++ b/packages/firebase_ui_oauth_google/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.3.3 + + - Update a dependency to the latest release. + ## 1.3.2 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_google/pubspec.yaml b/packages/firebase_ui_oauth_google/pubspec.yaml index 145a448a..0a4f6323 100644 --- a/packages/firebase_ui_oauth_google/pubspec.yaml +++ b/packages/firebase_ui_oauth_google/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_google description: Firebase UI widgets for authentication & OAuth. -version: 1.3.2 +version: 1.3.3 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_google environment: @@ -9,7 +9,7 @@ environment: dependencies: firebase_auth: ^5.0.0 - firebase_ui_oauth: ^1.5.2 + firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter google_sign_in: ^6.2.1 diff --git a/packages/firebase_ui_oauth_twitter/CHANGELOG.md b/packages/firebase_ui_oauth_twitter/CHANGELOG.md index 4459a19b..25472d12 100644 --- a/packages/firebase_ui_oauth_twitter/CHANGELOG.md +++ b/packages/firebase_ui_oauth_twitter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.21 + + - Update a dependency to the latest release. + ## 1.2.20 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_twitter/pubspec.yaml b/packages/firebase_ui_oauth_twitter/pubspec.yaml index cb554f6f..0e165a80 100644 --- a/packages/firebase_ui_oauth_twitter/pubspec.yaml +++ b/packages/firebase_ui_oauth_twitter/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_twitter description: Firebase UI widgets for authentication & OAuth. -version: 1.2.20 +version: 1.2.21 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_twitter environment: @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter firebase_auth: ^5.0.0 - firebase_ui_oauth: ^1.5.2 + firebase_ui_oauth: ^1.5.3 twitter_login: ^4.4.2 dev_dependencies: diff --git a/packages/firebase_ui_storage/CHANGELOG.md b/packages/firebase_ui_storage/CHANGELOG.md index 2db4d40f..8d5b33e3 100644 --- a/packages/firebase_ui_storage/CHANGELOG.md +++ b/packages/firebase_ui_storage/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.5 + + - Update a dependency to the latest release. + ## 2.0.4 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_storage/example/pubspec.yaml b/packages/firebase_ui_storage/example/pubspec.yaml index a6967121..503cfba4 100644 --- a/packages/firebase_ui_storage/example/pubspec.yaml +++ b/packages/firebase_ui_storage/example/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: file_picker: ^6.1.1 firebase_core: ^3.0.0 firebase_storage: ^12.0.0 - firebase_ui_storage: ^2.0.4 + firebase_ui_storage: ^2.0.5 firebase_ui_shared: ^1.4.1 flutter: diff --git a/packages/firebase_ui_storage/pubspec.yaml b/packages/firebase_ui_storage/pubspec.yaml index 6a004592..3698bfc1 100644 --- a/packages/firebase_ui_storage/pubspec.yaml +++ b/packages/firebase_ui_storage/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_storage description: Pre-built widgets and utilites that make it easy to integrate Firebase Storage into your Flutter app. -version: 2.0.4 +version: 2.0.5 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_storage/ environment: @@ -14,7 +14,7 @@ dependencies: flutter: sdk: flutter firebase_storage: ^12.0.0 - firebase_ui_localizations: ^1.11.0 + firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 path: ^1.8.3 uuid: ^4.2.2 diff --git a/tests/pubspec.yaml b/tests/pubspec.yaml index 0b49ab92..ce6d54dc 100644 --- a/tests/pubspec.yaml +++ b/tests/pubspec.yaml @@ -12,22 +12,22 @@ dependencies: cupertino_icons: ^1.0.6 firebase_auth: ^5.0.0 firebase_core: ^3.0.0 - firebase_ui_auth: ^1.14.0 - firebase_ui_localizations: ^1.11.0 - firebase_ui_oauth_apple: ^1.2.20 - firebase_ui_oauth_facebook: ^1.2.20 - firebase_ui_oauth_google: ^1.3.2 - firebase_ui_oauth: ^1.5.2 + firebase_ui_auth: ^1.15.0 + firebase_ui_localizations: ^1.12.0 + firebase_ui_oauth_apple: ^1.2.21 + firebase_ui_oauth_facebook: ^1.2.21 + firebase_ui_oauth_google: ^1.3.3 + firebase_ui_oauth: ^1.5.3 flutter_facebook_auth: ^6.0.3 twitter_login: ^4.4.2 - firebase_ui_oauth_twitter: ^1.2.20 + firebase_ui_oauth_twitter: ^1.2.21 cloud_firestore: ^5.0.0 - firebase_ui_firestore: ^1.6.3 + firebase_ui_firestore: ^1.6.4 http: ^1.1.2 google_sign_in: ^6.2.1 firebase_ui_shared: ^1.4.1 firebase_database: ^11.0.0 - firebase_ui_database: ^1.4.3 + firebase_ui_database: ^1.4.4 dev_dependencies: flutter_test: From c696842e110b6645bebf006f95e2da50d5d16ac3 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Wed, 3 Jul 2024 09:34:22 +0100 Subject: [PATCH 02/22] ci: update dependencies with script (#369) --- melos.yaml | 2 + scripts/update_dependencies.dart | 119 +++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 scripts/update_dependencies.dart diff --git a/melos.yaml b/melos.yaml index b9d09cc8..cb2c960f 100644 --- a/melos.yaml +++ b/melos.yaml @@ -148,3 +148,5 @@ scripts: emulator:start: run: firebase emulators:start --only firestore,auth,functions,storage,database --import=./emulators-data --export-on-exit=./emulators-data + update-dependencies: + run: dart scripts/update_dependencies.dart \ No newline at end of file diff --git a/scripts/update_dependencies.dart b/scripts/update_dependencies.dart new file mode 100644 index 00000000..9bf0b116 --- /dev/null +++ b/scripts/update_dependencies.dart @@ -0,0 +1,119 @@ +// Copyright 2024, the Chromium project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +import 'dart:convert'; +import 'dart:io'; +import 'package:path/path.dart' as p; +import 'package:yaml/yaml.dart'; +import 'package:yaml_edit/yaml_edit.dart'; + +Future main(List args) async { + const bomPath = + 'https://raw.githubusercontent.com/firebase/flutterfire/master/scripts/versions.json'; + final http = HttpClient(); + final request = await http.getUrl(Uri.parse(bomPath)); + final response = await request.close(); // sends the request + final jsonString = await response.transform(utf8.decoder).join(); + final json = jsonDecode(jsonString) as Map; + + final latestVersions = + json[json.keys.first]["packages"] as Map; + + final iosSdkVersion = json[json.keys.first]["firebase_sdk"]["ios"] as String; + + final pubspecFilePaths = findPubspecFiles(Directory.current); + + final listOfFutures = []; + for (final filePath in pubspecFilePaths) { + final future = updatePubspecFile(filePath, latestVersions); + listOfFutures.add(future); + } + + listOfFutures.add( + updatePodfileVersion( + iosSdkVersion, + './tests/ios/Podfile', + ), + ); + listOfFutures.add( + updatePodfileVersion( + iosSdkVersion, + './tests/macos/Podfile', + ), + ); + + await Future.wait(listOfFutures); + + print( + 'All dependencies updated, please double check they are the latest, commit and push the changes.', + ); +} + +Future updatePubspecFile( + String filePath, + Map latestVersions, +) async { + final content = await File(filePath).readAsString(); + final yamlEditor = YamlEditor(content); + final pubspec = loadYaml(content) as YamlMap; + + final dependencies = pubspec['dependencies'] as YamlMap?; + + if (dependencies != null) { + dependencies.forEach((key, value) { + if (latestVersions.containsKey(key)) { + yamlEditor.update(['dependencies', key], '^${latestVersions[key]}'); + } + }); + } + + await File(filePath).writeAsString(yamlEditor.toString()); +} + +List findPubspecFiles(Directory root) { + final pubspecFiles = []; + final directories = [ + Directory(p.join(root.path, 'packages')), + Directory(p.join(root.path, 'tests')) + ]; + + for (final dir in directories) { + if (dir.existsSync()) { + dir.listSync(recursive: true).forEach((entity) { + if (entity is File && p.basename(entity.path) == 'pubspec.yaml') { + if (!entity.path.contains('.symlinks') && + !entity.path.contains('.plugin_symlinks')) { + pubspecFiles.add(entity.path); + } + } + }); + } + } + + return pubspecFiles; +} + +Future updatePodfileVersion( + String iosSdkVersion, + String podfilePath, +) async { + final podfile = File(podfilePath); + if (!await podfile.exists()) { + throw Exception('Podfile not found at $podfilePath'); + } + + String content = await podfile.readAsString(); + + final updatedContent = content.replaceAllMapped( + RegExp( + r"pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '\d+\.\d+\.\d+'"), + (match) => + "pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '$iosSdkVersion'", + ); + + await podfile.writeAsString(updatedContent); + + print( + 'Updated Podfile Firestore framework on path: $podfilePath to version: $iosSdkVersion'); +} From 281a50ad37ab7f2671421695ec3ee0c749948419 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Wed, 11 Sep 2024 11:32:36 +0100 Subject: [PATCH 03/22] chore: bump FlutterFire dependencies to latest & update deprecated members to latest (#388) --- melos.yaml | 10 ++++++++++ packages/firebase_ui_auth/example/pubspec.yaml | 4 ++-- packages/firebase_ui_auth/pubspec.yaml | 6 +++--- packages/firebase_ui_database/example/pubspec.yaml | 4 ++-- .../firebase_ui_database/lib/src/table_builder.dart | 3 +-- packages/firebase_ui_database/pubspec.yaml | 2 +- packages/firebase_ui_firestore/example/pubspec.yaml | 4 ++-- .../firebase_ui_firestore/lib/src/table_builder.dart | 3 +-- packages/firebase_ui_firestore/pubspec.yaml | 2 +- .../firebase_ui_localizations/example/pubspec.yaml | 2 +- packages/firebase_ui_oauth/example/pubspec.yaml | 4 ++-- packages/firebase_ui_oauth/pubspec.yaml | 2 +- packages/firebase_ui_oauth_apple/pubspec.yaml | 2 +- packages/firebase_ui_oauth_facebook/pubspec.yaml | 2 +- packages/firebase_ui_oauth_google/pubspec.yaml | 2 +- packages/firebase_ui_oauth_twitter/pubspec.yaml | 2 +- packages/firebase_ui_storage/example/pubspec.yaml | 4 ++-- packages/firebase_ui_storage/pubspec.yaml | 2 +- scripts/update_dependencies.dart | 2 +- tests/ios/Podfile | 2 +- tests/macos/Podfile | 2 +- tests/pubspec.yaml | 8 ++++---- 22 files changed, 41 insertions(+), 33 deletions(-) diff --git a/melos.yaml b/melos.yaml index cb2c960f..8add4821 100644 --- a/melos.yaml +++ b/melos.yaml @@ -69,6 +69,16 @@ scripts: dirExists: - test + test:build:web: + run: | + melos exec -c 1 --fail-fast -- \ + "cd example && flutter build web" + description: | + Build all example apps for web platform + packageFilters: + dirExists: + - example + test:e2e: working-directory: tests run: flutter test integration_test/firebase_ui_test.dart -r github diff --git a/packages/firebase_ui_auth/example/pubspec.yaml b/packages/firebase_ui_auth/example/pubspec.yaml index 45e8bf01..afd317ce 100644 --- a/packages/firebase_ui_auth/example/pubspec.yaml +++ b/packages/firebase_ui_auth/example/pubspec.yaml @@ -22,8 +22,8 @@ environment: dependencies: cupertino_icons: ^1.0.6 - firebase_auth: ^5.0.0 - firebase_core: ^3.0.0 + firebase_auth: ^5.2.1 + firebase_core: ^3.4.1 flutter: sdk: flutter flutter_localizations: diff --git a/packages/firebase_ui_auth/pubspec.yaml b/packages/firebase_ui_auth/pubspec.yaml index 5a1590dc..4ebc3a12 100644 --- a/packages/firebase_ui_auth/pubspec.yaml +++ b/packages/firebase_ui_auth/pubspec.yaml @@ -10,9 +10,9 @@ environment: dependencies: email_validator: ^2.1.17 - firebase_auth: ^5.0.0 - firebase_core: ^3.0.0 - firebase_dynamic_links: ^6.0.0 + firebase_auth: ^5.2.1 + firebase_core: ^3.4.1 + firebase_dynamic_links: ^6.0.6 firebase_ui_localizations: ^1.12.0 firebase_ui_oauth: ^1.5.3 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_database/example/pubspec.yaml b/packages/firebase_ui_database/example/pubspec.yaml index ebb8ed8b..947e729c 100644 --- a/packages/firebase_ui_database/example/pubspec.yaml +++ b/packages/firebase_ui_database/example/pubspec.yaml @@ -33,8 +33,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - firebase_core: ^3.0.0 - firebase_database: ^11.0.0 + firebase_core: ^3.4.1 + firebase_database: ^11.1.2 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 flutter_test: diff --git a/packages/firebase_ui_database/lib/src/table_builder.dart b/packages/firebase_ui_database/lib/src/table_builder.dart index 2a8a48b2..c3b3d7a5 100644 --- a/packages/firebase_ui_database/lib/src/table_builder.dart +++ b/packages/firebase_ui_database/lib/src/table_builder.dart @@ -399,8 +399,7 @@ class _EditModalButtonBar extends StatelessWidget { Widget build(BuildContext context) { final localizations = FirebaseUILocalizations.labelsOf(context); - return ButtonBar( - mainAxisSize: MainAxisSize.min, + return OverflowBar( alignment: MainAxisAlignment.end, children: [ TextButton( diff --git a/packages/firebase_ui_database/pubspec.yaml b/packages/firebase_ui_database/pubspec.yaml index 4acc55d0..b1d30685 100644 --- a/packages/firebase_ui_database/pubspec.yaml +++ b/packages/firebase_ui_database/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: collection: ^1.18.0 - firebase_database: ^11.0.0 + firebase_database: ^11.1.2 firebase_ui_localizations: ^1.12.0 flutter: sdk: flutter diff --git a/packages/firebase_ui_firestore/example/pubspec.yaml b/packages/firebase_ui_firestore/example/pubspec.yaml index 755ac721..788f495d 100644 --- a/packages/firebase_ui_firestore/example/pubspec.yaml +++ b/packages/firebase_ui_firestore/example/pubspec.yaml @@ -30,9 +30,9 @@ dependencies: flutter: sdk: flutter firebase_ui_firestore: ^1.6.4 - cloud_firestore: ^5.0.0 + cloud_firestore: ^5.4.1 cupertino_icons: ^1.0.6 - firebase_core: ^3.0.0 + firebase_core: ^3.4.1 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 flutter_test: diff --git a/packages/firebase_ui_firestore/lib/src/table_builder.dart b/packages/firebase_ui_firestore/lib/src/table_builder.dart index 8cfdcfb8..339ddf1a 100644 --- a/packages/firebase_ui_firestore/lib/src/table_builder.dart +++ b/packages/firebase_ui_firestore/lib/src/table_builder.dart @@ -521,8 +521,7 @@ class _EditModalButtonBar extends StatelessWidget { Widget build(BuildContext context) { final localizations = FirebaseUILocalizations.labelsOf(context); - return ButtonBar( - mainAxisSize: MainAxisSize.min, + return OverflowBar( alignment: MainAxisAlignment.end, children: [ TextButton( diff --git a/packages/firebase_ui_firestore/pubspec.yaml b/packages/firebase_ui_firestore/pubspec.yaml index 2f4bba5f..b15bada2 100644 --- a/packages/firebase_ui_firestore/pubspec.yaml +++ b/packages/firebase_ui_firestore/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - cloud_firestore: ^5.0.0 + cloud_firestore: ^5.4.1 firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 flutter: diff --git a/packages/firebase_ui_localizations/example/pubspec.yaml b/packages/firebase_ui_localizations/example/pubspec.yaml index 88086fda..f3af2bf6 100644 --- a/packages/firebase_ui_localizations/example/pubspec.yaml +++ b/packages/firebase_ui_localizations/example/pubspec.yaml @@ -31,7 +31,7 @@ environment: dependencies: cupertino_icons: ^1.0.6 - firebase_core: ^3.0.0 + firebase_core: ^3.4.1 firebase_ui_auth: ^1.15.0 firebase_ui_localizations: ^1.12.0 flutter: diff --git a/packages/firebase_ui_oauth/example/pubspec.yaml b/packages/firebase_ui_oauth/example/pubspec.yaml index 7b431d74..4fb136ad 100644 --- a/packages/firebase_ui_oauth/example/pubspec.yaml +++ b/packages/firebase_ui_oauth/example/pubspec.yaml @@ -33,8 +33,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - firebase_auth: ^5.0.0 - firebase_core: ^3.0.0 + firebase_auth: ^5.2.1 + firebase_core: ^3.4.1 firebase_ui_oauth: ^1.5.3 firebase_ui_oauth_apple: ^1.2.21 firebase_ui_oauth_facebook: ^1.2.21 diff --git a/packages/firebase_ui_oauth/pubspec.yaml b/packages/firebase_ui_oauth/pubspec.yaml index 0dff9aca..5ea0d932 100644 --- a/packages/firebase_ui_oauth/pubspec.yaml +++ b/packages/firebase_ui_oauth/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: desktop_webview_auth: ^0.0.14 - firebase_auth: ^5.0.0 + firebase_auth: ^5.2.1 firebase_ui_auth: ^1.15.0 firebase_ui_shared: ^1.4.1 flutter_svg: ^2.0.9 diff --git a/packages/firebase_ui_oauth_apple/pubspec.yaml b/packages/firebase_ui_oauth_apple/pubspec.yaml index 06ba2e1d..1a6da5c1 100644 --- a/packages/firebase_ui_oauth_apple/pubspec.yaml +++ b/packages/firebase_ui_oauth_apple/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.0.0 + firebase_auth: ^5.2.1 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_facebook/pubspec.yaml b/packages/firebase_ui_oauth_facebook/pubspec.yaml index ad1e5d3d..f6d2cfac 100644 --- a/packages/firebase_ui_oauth_facebook/pubspec.yaml +++ b/packages/firebase_ui_oauth_facebook/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.0.0 + firebase_auth: ^5.2.1 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_google/pubspec.yaml b/packages/firebase_ui_oauth_google/pubspec.yaml index 0a4f6323..617385ff 100644 --- a/packages/firebase_ui_oauth_google/pubspec.yaml +++ b/packages/firebase_ui_oauth_google/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.0.0 + firebase_auth: ^5.2.1 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_twitter/pubspec.yaml b/packages/firebase_ui_oauth_twitter/pubspec.yaml index 0e165a80..ea597cce 100644 --- a/packages/firebase_ui_oauth_twitter/pubspec.yaml +++ b/packages/firebase_ui_oauth_twitter/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_auth: ^5.0.0 + firebase_auth: ^5.2.1 firebase_ui_oauth: ^1.5.3 twitter_login: ^4.4.2 diff --git a/packages/firebase_ui_storage/example/pubspec.yaml b/packages/firebase_ui_storage/example/pubspec.yaml index 503cfba4..b9223470 100644 --- a/packages/firebase_ui_storage/example/pubspec.yaml +++ b/packages/firebase_ui_storage/example/pubspec.yaml @@ -9,8 +9,8 @@ environment: dependencies: cupertino_icons: ^1.0.6 file_picker: ^6.1.1 - firebase_core: ^3.0.0 - firebase_storage: ^12.0.0 + firebase_core: ^3.4.1 + firebase_storage: ^12.3.0 firebase_ui_storage: ^2.0.5 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_storage/pubspec.yaml b/packages/firebase_ui_storage/pubspec.yaml index 3698bfc1..63eb1045 100644 --- a/packages/firebase_ui_storage/pubspec.yaml +++ b/packages/firebase_ui_storage/pubspec.yaml @@ -13,7 +13,7 @@ false_secrets: dependencies: flutter: sdk: flutter - firebase_storage: ^12.0.0 + firebase_storage: ^12.3.0 firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 path: ^1.8.3 diff --git a/scripts/update_dependencies.dart b/scripts/update_dependencies.dart index 9bf0b116..ca74c247 100644 --- a/scripts/update_dependencies.dart +++ b/scripts/update_dependencies.dart @@ -10,7 +10,7 @@ import 'package:yaml_edit/yaml_edit.dart'; Future main(List args) async { const bomPath = - 'https://raw.githubusercontent.com/firebase/flutterfire/master/scripts/versions.json'; + 'https://raw.githubusercontent.com/firebase/flutterfire/main/scripts/versions.json'; final http = HttpClient(); final request = await http.getUrl(Uri.parse(bomPath)); final response = await request.close(); // sends the request diff --git a/tests/ios/Podfile b/tests/ios/Podfile index 997a52f1..3f3496bc 100644 --- a/tests/ios/Podfile +++ b/tests/ios/Podfile @@ -29,7 +29,7 @@ flutter_ios_podfile_setup target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.27.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '11.0.0' flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do diff --git a/tests/macos/Podfile b/tests/macos/Podfile index 83443622..41852d6d 100644 --- a/tests/macos/Podfile +++ b/tests/macos/Podfile @@ -30,7 +30,7 @@ target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.27.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '11.0.0' flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do diff --git a/tests/pubspec.yaml b/tests/pubspec.yaml index ce6d54dc..ec5f51f5 100644 --- a/tests/pubspec.yaml +++ b/tests/pubspec.yaml @@ -10,8 +10,8 @@ dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.6 - firebase_auth: ^5.0.0 - firebase_core: ^3.0.0 + firebase_auth: ^5.2.1 + firebase_core: ^3.4.1 firebase_ui_auth: ^1.15.0 firebase_ui_localizations: ^1.12.0 firebase_ui_oauth_apple: ^1.2.21 @@ -21,12 +21,12 @@ dependencies: flutter_facebook_auth: ^6.0.3 twitter_login: ^4.4.2 firebase_ui_oauth_twitter: ^1.2.21 - cloud_firestore: ^5.0.0 + cloud_firestore: ^5.4.1 firebase_ui_firestore: ^1.6.4 http: ^1.1.2 google_sign_in: ^6.2.1 firebase_ui_shared: ^1.4.1 - firebase_database: ^11.0.0 + firebase_database: ^11.1.2 firebase_ui_database: ^1.4.4 dev_dependencies: From ed42976ff8945083d860af0cf1f21ddf18319999 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Mon, 16 Sep 2024 14:43:29 +0100 Subject: [PATCH 04/22] test: skip test failing in CI (#390) Co-authored-by: jude.kwashie --- .github/workflows/e2e.yml | 21 +++++ .../windows/flutter/generated_plugins.cmake | 27 ++++++ .../firebase_ui_auth/actions_test.dart | 85 ++++++++--------- .../firebase_ui_auth/email_form_test.dart | 92 ++++++++++--------- .../phone_verification_test.dart | 3 + .../database_list_view_test.dart | 92 +++++++++++-------- tests/integration_test/utils.dart | 3 + tests/ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- tests/ios/Runner/AppDelegate.swift | 2 +- 10 files changed, 208 insertions(+), 121 deletions(-) create mode 100644 packages/firebase_ui_auth/example/windows/flutter/generated_plugins.cmake diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f768e9c6..56cc747b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -99,6 +99,23 @@ jobs: with: distribution: "temurin" java-version: "11" + - name: 'Free up space' + run: | + sudo rm -rf \ + /usr/local/share/.cache \ + /Users/runner/Library/Caches \ + /Users/runner/Library/Developer/Xcode/DerivedData \ + /Users/runner/Library/Developer/CoreSimulator/Caches \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /usr/lib/mono \ + /usr/local/julia* \ + /usr/local/lib/android \ + /usr/local/share/chromium \ + /usr/local/share/powershell \ + /usr/share/dotnet + df -h / - uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 name: Xcode Compile Cache with: @@ -129,6 +146,10 @@ jobs: melos-version: "3.0.1" - name: "Bootstrap package" run: melos bootstrap --scope tests + - name: Clean up previous build artifacts + run: | + rm -rf build + rm -rf .dart_tool - name: "Build Application" working-directory: tests run: | diff --git a/packages/firebase_ui_auth/example/windows/flutter/generated_plugins.cmake b/packages/firebase_ui_auth/example/windows/flutter/generated_plugins.cmake new file mode 100644 index 00000000..73d6fa1c --- /dev/null +++ b/packages/firebase_ui_auth/example/windows/flutter/generated_plugins.cmake @@ -0,0 +1,27 @@ +# +# Generated file, do not edit. +# + +list(APPEND FLUTTER_PLUGIN_LIST + desktop_webview_auth + firebase_auth + firebase_core + flutter_secure_storage_windows +) + +list(APPEND FLUTTER_FFI_PLUGIN_LIST +) + +set(PLUGIN_BUNDLED_LIBRARIES) + +foreach(plugin ${FLUTTER_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) + target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) + list(APPEND PLUGIN_BUNDLED_LIBRARIES $) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) +endforeach(plugin) + +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) +endforeach(ffi_plugin) diff --git a/tests/integration_test/firebase_ui_auth/actions_test.dart b/tests/integration_test/firebase_ui_auth/actions_test.dart index 097d4515..d7d9c774 100644 --- a/tests/integration_test/firebase_ui_auth/actions_test.dart +++ b/tests/integration_test/firebase_ui_auth/actions_test.dart @@ -3,6 +3,7 @@ // BSD-style license that can be found in the LICENSE file. import 'package:firebase_ui_auth/firebase_ui_auth.dart'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -10,52 +11,54 @@ import '../utils.dart'; void main() { setUpTests(); - group('getControllerForType', () { - setUp(() async { - await auth.createUserWithEmailAndPassword( - email: 'test@test.com', - password: '123456', - ); - }); + group( + 'getControllerForType', + () { + setUp(() async { + await auth.createUserWithEmailAndPassword( + email: 'test@test.com', + password: '123456', + ); + }); - Future authenticate(WidgetTester tester) async { - final inputs = find.byType(TextFormField); + Future authenticate(WidgetTester tester) async { + final inputs = find.byType(TextFormField); - await tester.enterText(inputs.at(0), 'test@test.com'); - await tester.testTextInput.receiveAction(TextInputAction.done); - await tester.pumpAndSettle(); + await tester.enterText(inputs.at(0), 'test@test.com'); + await tester.testTextInput.receiveAction(TextInputAction.done); + await tester.pumpAndSettle(); - await tester.enterText(inputs.at(1), '123456'); - await tester.testTextInput.receiveAction(TextInputAction.done); - await tester.pumpAndSettle(); - } + await tester.enterText(inputs.at(1), '123456'); + await tester.testTextInput.receiveAction(TextInputAction.done); + await tester.pumpAndSettle(); + } - testWidgets( - 'getControllerForState returns correct controller type', - (tester) async { - late AuthController controller; + testWidgets( + 'getControllerForState returns correct controller type', + (tester) async { + late AuthController controller; - await render( - tester, - FirebaseUIActions( - actions: [ - AuthStateChangeAction((context, state) { - controller = getControllerForState(state); - }) - ], - child: const EmailForm(action: AuthAction.signIn), - ), - ); + await render( + tester, + FirebaseUIActions( + actions: [ + AuthStateChangeAction((context, state) { + controller = getControllerForState(state); + }) + ], + child: const EmailForm(action: AuthAction.signIn), + ), + ); - await authenticate(tester); + await authenticate(tester); - expect(controller, isA()); - }, - ); + expect(controller, isA()); + }, + skip: isCI && defaultTargetPlatform == TargetPlatform.macOS, + ); - testWidgets( - 'throws a StateError if used outside of the FirebaseUIAction', - (tester) async { + testWidgets('throws a StateError if used outside of the FirebaseUIAction', + (tester) async { late AuthState state; await render( @@ -72,7 +75,7 @@ void main() { await authenticate(tester); expect(() => getControllerForState(state), throwsStateError); - }, - ); - }); + }, skip: isCI && defaultTargetPlatform == TargetPlatform.macOS); + }, + ); } diff --git a/tests/integration_test/firebase_ui_auth/email_form_test.dart b/tests/integration_test/firebase_ui_auth/email_form_test.dart index e6c80a90..90056800 100644 --- a/tests/integration_test/firebase_ui_auth/email_form_test.dart +++ b/tests/integration_test/firebase_ui_auth/email_form_test.dart @@ -3,6 +3,7 @@ // BSD-style license that can be found in the LICENSE file. import 'package:firebase_ui_shared/firebase_ui_shared.dart'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:firebase_ui_auth/firebase_ui_auth.dart'; @@ -38,63 +39,72 @@ void main() { expect(auth.currentUser, isNotNull); }, + skip: isCI && (defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.android), ); - testWidgets('shows wrong password error', (tester) async { - await auth.createUserWithEmailAndPassword( - email: 'test@test.com', - password: 'password', - ); + testWidgets( + 'shows wrong password error', + (tester) async { + await auth.createUserWithEmailAndPassword( + email: 'test@test.com', + password: 'password', + ); - await auth.signOut(); + await auth.signOut(); - await render(tester, const EmailForm(action: AuthAction.signIn)); + await render(tester, const EmailForm(action: AuthAction.signIn)); - final inputs = find.byType(TextFormField); + final inputs = find.byType(TextFormField); - await tester.enterText(inputs.at(0), 'test@test.com'); - await tester.testTextInput.receiveAction(TextInputAction.done); + await tester.enterText(inputs.at(0), 'test@test.com'); + await tester.testTextInput.receiveAction(TextInputAction.done); - await tester.enterText(inputs.at(1), 'wrongpassword'); - await tester.testTextInput.receiveAction(TextInputAction.done); + await tester.enterText(inputs.at(1), 'wrongpassword'); + await tester.testTextInput.receiveAction(TextInputAction.done); - await tester.pumpAndSettle(); + await tester.pumpAndSettle(); - expect(find.text(labels.wrongOrNoPasswordErrorText), findsOneWidget); - }); + expect(find.text(labels.wrongOrNoPasswordErrorText), findsOneWidget); + }, + skip: isCI && defaultTargetPlatform == TargetPlatform.macOS, + ); - testWidgets('signs in the user', (tester) async { - await auth.createUserWithEmailAndPassword( - email: 'test@test.com', - password: 'password', - ); + testWidgets( + 'signs in the user', + (tester) async { + await auth.createUserWithEmailAndPassword( + email: 'test@test.com', + password: 'password', + ); - await auth.signOut(); + await auth.signOut(); - await render( - tester, - FirebaseUIActions( - actions: [ - AuthStateChangeAction((context, state) { - expect(state, isA()); - expect(state.user, isNotNull); - expect(state.user!.email, equals('test@test.com')); - }) - ], - child: const EmailForm(action: AuthAction.signIn), - ), - ); + await render( + tester, + FirebaseUIActions( + actions: [ + AuthStateChangeAction((context, state) { + expect(state, isA()); + expect(state.user, isNotNull); + expect(state.user!.email, equals('test@test.com')); + }) + ], + child: const EmailForm(action: AuthAction.signIn), + ), + ); - final inputs = find.byType(TextFormField); + final inputs = find.byType(TextFormField); - await tester.enterText(inputs.at(0), 'test@test.com'); - await tester.testTextInput.receiveAction(TextInputAction.done); + await tester.enterText(inputs.at(0), 'test@test.com'); + await tester.testTextInput.receiveAction(TextInputAction.done); - await tester.enterText(inputs.at(1), 'password'); - await tester.testTextInput.receiveAction(TextInputAction.done); + await tester.enterText(inputs.at(1), 'password'); + await tester.testTextInput.receiveAction(TextInputAction.done); - await tester.pumpAndSettle(); - }); + await tester.pumpAndSettle(); + }, + skip: isCI && (defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.android), + ); testWidgets( 'links email and password when auth action is link', diff --git a/tests/integration_test/firebase_ui_auth/phone_verification_test.dart b/tests/integration_test/firebase_ui_auth/phone_verification_test.dart index b2fa600a..aef2482c 100644 --- a/tests/integration_test/firebase_ui_auth/phone_verification_test.dart +++ b/tests/integration_test/firebase_ui_auth/phone_verification_test.dart @@ -5,6 +5,7 @@ import 'dart:async'; import 'package:firebase_auth/firebase_auth.dart' as fba; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:firebase_ui_auth/firebase_ui_auth.dart'; @@ -282,6 +283,8 @@ void main() { expect(future, completes); expect(onPhoneVerifiedCalled, isTrue); }, + // passes locally but fails in CI + skip: isCI && (defaultTargetPlatform == TargetPlatform.android || defaultTargetPlatform == TargetPlatform.iOS), ); }); } diff --git a/tests/integration_test/firebase_ui_database/database_list_view_test.dart b/tests/integration_test/firebase_ui_database/database_list_view_test.dart index ec0de8e0..0e446110 100644 --- a/tests/integration_test/firebase_ui_database/database_list_view_test.dart +++ b/tests/integration_test/firebase_ui_database/database_list_view_test.dart @@ -61,25 +61,31 @@ void main() { defaultTargetPlatform == TargetPlatform.macOS, ); - testWidgets('Allows specifying custom loading handler', (tester) async { - final ref = rtdb.ref(_kTestPath); - - await tester.pumpWidget( - MaterialApp( - home: Scaffold( - body: FirebaseDatabaseListView( - query: ref, - loadingBuilder: (context) => const Text('loading...'), - itemBuilder: (context, snapshot) => throw UnimplementedError(), + testWidgets( + 'Allows specifying custom loading handler', + (tester) async { + final ref = rtdb.ref(_kTestPath); + + await tester.pumpWidget( + MaterialApp( + home: Scaffold( + body: FirebaseDatabaseListView( + query: ref, + loadingBuilder: (context) => const Text('loading...'), + itemBuilder: (context, snapshot) => throw UnimplementedError(), + ), ), ), - ), - ); + ); - expect(find.text('loading...'), findsOneWidget); - expect(find.byType(CircularProgressIndicator), findsNothing); - expect(find.byType(ListView), findsNothing); - }); + expect(find.text('loading...'), findsOneWidget); + expect(find.byType(CircularProgressIndicator), findsNothing); + expect(find.byType(ListView), findsNothing); + }, + skip: isCI && + (defaultTargetPlatform == TargetPlatform.macOS || + defaultTargetPlatform == TargetPlatform.iOS), + ); testWidgets( 'By default, shows a progress indicator when loading', @@ -100,35 +106,44 @@ void main() { expect(find.byType(CircularProgressIndicator), findsOneWidget); expect(find.byType(ListView), findsNothing); }, + skip: isCI && + (defaultTargetPlatform == TargetPlatform.macOS || + defaultTargetPlatform == TargetPlatform.iOS), ); - testWidgets('By default, ignore errors', (tester) async { - final builderSpy = ListViewBuilderSpy(); - final ref = rtdb.ref(_kTestPath); - - await tester.pumpWidget( - MaterialApp( - home: Scaffold( - body: FirebaseDatabaseListView( - query: ref, - cacheExtent: 0, - itemBuilder: (context, snapshot) => throw UnimplementedError(), + testWidgets( + 'By default, ignore errors', + (tester) async { + final builderSpy = ListViewBuilderSpy(); + final ref = rtdb.ref(_kTestPath); + + await tester.pumpWidget( + MaterialApp( + home: Scaffold( + body: FirebaseDatabaseListView( + query: ref, + cacheExtent: 0, + itemBuilder: (context, snapshot) => throw UnimplementedError(), + ), ), ), - ), - ); + ); - verifyZeroInteractions(builderSpy); + verifyZeroInteractions(builderSpy); - expect(find.byType(CircularProgressIndicator), findsOneWidget); - expect(find.byType(ListView), findsNothing); + expect(find.byType(CircularProgressIndicator), findsOneWidget); + expect(find.byType(ListView), findsNothing); - await ref.onValue.first.then((value) {}, onError: (_) {}); + await ref.onValue.first.then((value) {}, onError: (_) {}); - await tester.pump(); + await tester.pump(); - expect(find.byType(ListView), findsOneWidget); - }); + expect(find.byType(ListView), findsOneWidget); + }, + skip: isCI && + (defaultTargetPlatform == TargetPlatform.macOS || + defaultTargetPlatform == TargetPlatform.iOS), + ); testWidgets( 'When reaching the end of the list, loads more items', @@ -207,6 +222,10 @@ void main() { expect(find.byKey(ValueKey(i.toString())), findsOneWidget); } }, + skip: isCI && + (defaultTargetPlatform == TargetPlatform.macOS || + defaultTargetPlatform == TargetPlatform.android || + defaultTargetPlatform == TargetPlatform.iOS), ); testWidgets( @@ -257,6 +276,7 @@ void main() { expect(find.byKey(ValueKey(i.toString())), findsOneWidget); } }, + skip: isCI && (defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.iOS), ); }); } diff --git a/tests/integration_test/utils.dart b/tests/integration_test/utils.dart index d03b925a..0857bcc5 100644 --- a/tests/integration_test/utils.dart +++ b/tests/integration_test/utils.dart @@ -17,6 +17,9 @@ import 'package:http/http.dart' as http; import 'package:integration_test/integration_test.dart'; import 'package:tests/firebase_options.dart'; +// Github Actions environment variable +final isCI = const String.fromEnvironment('CI').isNotEmpty; + String get testEmulatorHost { if (defaultTargetPlatform == TargetPlatform.android && !kIsWeb) { return '10.0.2.2'; diff --git a/tests/ios/Runner.xcodeproj/project.pbxproj b/tests/ios/Runner.xcodeproj/project.pbxproj index a6058c6c..8f2984e4 100644 --- a/tests/ios/Runner.xcodeproj/project.pbxproj +++ b/tests/ios/Runner.xcodeproj/project.pbxproj @@ -219,7 +219,7 @@ isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1430; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 331C8080294A63A400263BE5 = { diff --git a/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 87131a09..8e3ca5df 100644 --- a/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/tests/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ Date: Mon, 16 Sep 2024 15:08:33 +0100 Subject: [PATCH 05/22] chore(firestore): fix example app on android (#387) --- packages/firebase_ui_firestore/example/android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/firebase_ui_firestore/example/android/build.gradle b/packages/firebase_ui_firestore/example/android/build.gradle index e5969960..ae605880 100644 --- a/packages/firebase_ui_firestore/example/android/build.gradle +++ b/packages/firebase_ui_firestore/example/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() @@ -29,6 +29,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } From 0c497f846b5b1582c1fd172013b803594d7f82b3 Mon Sep 17 00:00:00 2001 From: Jude Selase Kwashie <64037520+SelaseKay@users.noreply.github.com> Date: Tue, 17 Sep 2024 08:19:54 +0000 Subject: [PATCH 06/22] docs: update CONTRIBUTING.md for e2e tests (#400) Co-authored-by: russellwheatley Co-authored-by: jude.kwashie --- CONTRIBUTING.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 353da447..9efe5bbe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,6 +128,26 @@ guide. For example, for a fix to the `firebase_ui_auth` plugin: Plugins tests are run automatically on contributions using GitHub Actions. Depending on your code contributions, various tests will be run against your updated code automatically. +### End-to-end (e2e) tests + +E2e tests are those which directly communicate with Firebase, whose results cannot be mocked. +These tests require the Firebase Emulator. + +To start the Firebase Emulator, run this command: + +```bash +firebase emulator:start +``` + +Once the Firebase Emulator is up and running, execute the following Melos command from the terminal: + +```bash +melos test:e2e +``` + +Before submitting your PR, please provide evidence of running the E2E tests on macOS, Android, and iOS by sharing terminal output or screenshots. This demonstrates that the few E2E tests skipped in CI run successfully locally, which will enhance the review process for your PR. + + Once you've gotten an LGTM from a project maintainer and once your PR has received the green light from all our automated testing, wait for one the package maintainers to merge the pull request. From 40e7a9cc3818b0935e18d5fd9c367c4e3dbe7536 Mon Sep 17 00:00:00 2001 From: Jude Selase Kwashie <64037520+SelaseKay@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:30:47 +0000 Subject: [PATCH 07/22] ci: update contributing guide & automatically label issues that need attention (#401) --- .github/workflows/issue-labels.yml | 34 ++++++++++++++++++++++++++++++ CONTRIBUTING.md | 6 ++++++ melos.yaml | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/issue-labels.yml diff --git a/.github/workflows/issue-labels.yml b/.github/workflows/issue-labels.yml new file mode 100644 index 00000000..8c85858c --- /dev/null +++ b/.github/workflows/issue-labels.yml @@ -0,0 +1,34 @@ +name: Update labels on issues with OP response + +on: + issue_comment: + types: [created] + +jobs: + label-op-response: + runs-on: ubuntu-latest + steps: + - name: Check if the comment is from the OP + id: check-op + run: | + OP=${{ github.event.issue.user.login }} + COMMENTER=${{ github.event.comment.user.login }} + if [ "$OP" = "$COMMENTER" ]; then + echo "op_comment=true" >> $GITHUB_ENV + else + echo "op_comment=false" >> $GITHUB_ENV + fi + - name: Add 'Needs Attention' label if OP responded + if: env.op_comment == 'true' + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: 'Needs Attention' + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + - name: Remove 'blocked customer-response' label if OP responded + if: env.op_comment == 'true' + uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: 'blocked: customer-response' + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9efe5bbe..1487234c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -145,6 +145,12 @@ Once the Firebase Emulator is up and running, execute the following Melos comman melos test:e2e ``` +If multiple devices are connected, you need to specify the target device by running the following command: + +```bash +melos test:e2e -- +``` + Before submitting your PR, please provide evidence of running the E2E tests on macOS, Android, and iOS by sharing terminal output or screenshots. This demonstrates that the few E2E tests skipped in CI run successfully locally, which will enhance the review process for your PR. diff --git a/melos.yaml b/melos.yaml index 8add4821..64967b7e 100644 --- a/melos.yaml +++ b/melos.yaml @@ -81,7 +81,7 @@ scripts: test:e2e: working-directory: tests - run: flutter test integration_test/firebase_ui_test.dart -r github + run: cd tests && flutter test integration_test/firebase_ui_test.dart -r github -d # Additional cleanup lifecycle script, executed when `melos clean` is run. postclean: > From 9f9f4063c711e3d48b909e732ecab4e835fdc59a Mon Sep 17 00:00:00 2001 From: Rocco Balsamo Date: Tue, 17 Sep 2024 03:56:43 -0700 Subject: [PATCH 08/22] docs(auth): inform user what to do when using simulator for email verification (#396) Co-authored-by: Russell Wheatley --- docs/firebase-ui-auth/providers/email-verification.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/firebase-ui-auth/providers/email-verification.md b/docs/firebase-ui-auth/providers/email-verification.md index 610e37a3..617c4090 100644 --- a/docs/firebase-ui-auth/providers/email-verification.md +++ b/docs/firebase-ui-auth/providers/email-verification.md @@ -45,6 +45,8 @@ class App extends StatelessWidget { Once opened, it triggers a verification email to be sent and will wait for a dynamic link to be received by the app (on supported platforms). +Note: `EmailVerifiedAction` does not poll the verification state in realtime. Is only fired after the user has verified their email and the application has resumed. This represents a typical user flow (leave the app and check email). In development (i.e. iOS simulator), it is necessary to suspend and resume the app for `EmailVerifiedAction` to be called (e.g. by minimising app and reopening in app switcher). + ## Using `EmailVerificationController` If you want to build a custom email verification screen, you could use `EmailVerificationController`: From ca5b0e275c299d9bdef1b5e3d306cf8745dea4fe Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Tue, 17 Sep 2024 14:43:13 +0100 Subject: [PATCH 09/22] chore: bump to the latest FlutterFire dependencies (#402) --- packages/firebase_ui_auth/example/pubspec.yaml | 4 ++-- packages/firebase_ui_auth/pubspec.yaml | 6 +++--- packages/firebase_ui_database/example/pubspec.yaml | 4 ++-- packages/firebase_ui_database/pubspec.yaml | 2 +- packages/firebase_ui_firestore/example/pubspec.yaml | 4 ++-- packages/firebase_ui_firestore/pubspec.yaml | 2 +- packages/firebase_ui_localizations/example/pubspec.yaml | 2 +- packages/firebase_ui_oauth/example/pubspec.yaml | 4 ++-- packages/firebase_ui_oauth/pubspec.yaml | 2 +- packages/firebase_ui_oauth_apple/pubspec.yaml | 2 +- packages/firebase_ui_oauth_facebook/pubspec.yaml | 2 +- packages/firebase_ui_oauth_google/pubspec.yaml | 2 +- packages/firebase_ui_oauth_twitter/pubspec.yaml | 2 +- packages/firebase_ui_storage/example/pubspec.yaml | 4 ++-- packages/firebase_ui_storage/pubspec.yaml | 2 +- tests/pubspec.yaml | 8 ++++---- 16 files changed, 26 insertions(+), 26 deletions(-) diff --git a/packages/firebase_ui_auth/example/pubspec.yaml b/packages/firebase_ui_auth/example/pubspec.yaml index afd317ce..5ee61bf0 100644 --- a/packages/firebase_ui_auth/example/pubspec.yaml +++ b/packages/firebase_ui_auth/example/pubspec.yaml @@ -22,8 +22,8 @@ environment: dependencies: cupertino_icons: ^1.0.6 - firebase_auth: ^5.2.1 - firebase_core: ^3.4.1 + firebase_auth: ^5.3.0 + firebase_core: ^3.5.0 flutter: sdk: flutter flutter_localizations: diff --git a/packages/firebase_ui_auth/pubspec.yaml b/packages/firebase_ui_auth/pubspec.yaml index 4ebc3a12..d002a05c 100644 --- a/packages/firebase_ui_auth/pubspec.yaml +++ b/packages/firebase_ui_auth/pubspec.yaml @@ -10,9 +10,9 @@ environment: dependencies: email_validator: ^2.1.17 - firebase_auth: ^5.2.1 - firebase_core: ^3.4.1 - firebase_dynamic_links: ^6.0.6 + firebase_auth: ^5.3.0 + firebase_core: ^3.5.0 + firebase_dynamic_links: ^6.0.7 firebase_ui_localizations: ^1.12.0 firebase_ui_oauth: ^1.5.3 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_database/example/pubspec.yaml b/packages/firebase_ui_database/example/pubspec.yaml index 947e729c..44b27978 100644 --- a/packages/firebase_ui_database/example/pubspec.yaml +++ b/packages/firebase_ui_database/example/pubspec.yaml @@ -33,8 +33,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - firebase_core: ^3.4.1 - firebase_database: ^11.1.2 + firebase_core: ^3.5.0 + firebase_database: ^11.1.3 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 flutter_test: diff --git a/packages/firebase_ui_database/pubspec.yaml b/packages/firebase_ui_database/pubspec.yaml index b1d30685..8591d062 100644 --- a/packages/firebase_ui_database/pubspec.yaml +++ b/packages/firebase_ui_database/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: collection: ^1.18.0 - firebase_database: ^11.1.2 + firebase_database: ^11.1.3 firebase_ui_localizations: ^1.12.0 flutter: sdk: flutter diff --git a/packages/firebase_ui_firestore/example/pubspec.yaml b/packages/firebase_ui_firestore/example/pubspec.yaml index 788f495d..f8a2b4b8 100644 --- a/packages/firebase_ui_firestore/example/pubspec.yaml +++ b/packages/firebase_ui_firestore/example/pubspec.yaml @@ -30,9 +30,9 @@ dependencies: flutter: sdk: flutter firebase_ui_firestore: ^1.6.4 - cloud_firestore: ^5.4.1 + cloud_firestore: ^5.4.2 cupertino_icons: ^1.0.6 - firebase_core: ^3.4.1 + firebase_core: ^3.5.0 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 flutter_test: diff --git a/packages/firebase_ui_firestore/pubspec.yaml b/packages/firebase_ui_firestore/pubspec.yaml index b15bada2..928d694e 100644 --- a/packages/firebase_ui_firestore/pubspec.yaml +++ b/packages/firebase_ui_firestore/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - cloud_firestore: ^5.4.1 + cloud_firestore: ^5.4.2 firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 flutter: diff --git a/packages/firebase_ui_localizations/example/pubspec.yaml b/packages/firebase_ui_localizations/example/pubspec.yaml index f3af2bf6..38e9b673 100644 --- a/packages/firebase_ui_localizations/example/pubspec.yaml +++ b/packages/firebase_ui_localizations/example/pubspec.yaml @@ -31,7 +31,7 @@ environment: dependencies: cupertino_icons: ^1.0.6 - firebase_core: ^3.4.1 + firebase_core: ^3.5.0 firebase_ui_auth: ^1.15.0 firebase_ui_localizations: ^1.12.0 flutter: diff --git a/packages/firebase_ui_oauth/example/pubspec.yaml b/packages/firebase_ui_oauth/example/pubspec.yaml index 4fb136ad..081b12b2 100644 --- a/packages/firebase_ui_oauth/example/pubspec.yaml +++ b/packages/firebase_ui_oauth/example/pubspec.yaml @@ -33,8 +33,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - firebase_auth: ^5.2.1 - firebase_core: ^3.4.1 + firebase_auth: ^5.3.0 + firebase_core: ^3.5.0 firebase_ui_oauth: ^1.5.3 firebase_ui_oauth_apple: ^1.2.21 firebase_ui_oauth_facebook: ^1.2.21 diff --git a/packages/firebase_ui_oauth/pubspec.yaml b/packages/firebase_ui_oauth/pubspec.yaml index 5ea0d932..81031be1 100644 --- a/packages/firebase_ui_oauth/pubspec.yaml +++ b/packages/firebase_ui_oauth/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: desktop_webview_auth: ^0.0.14 - firebase_auth: ^5.2.1 + firebase_auth: ^5.3.0 firebase_ui_auth: ^1.15.0 firebase_ui_shared: ^1.4.1 flutter_svg: ^2.0.9 diff --git a/packages/firebase_ui_oauth_apple/pubspec.yaml b/packages/firebase_ui_oauth_apple/pubspec.yaml index 1a6da5c1..2a4d9981 100644 --- a/packages/firebase_ui_oauth_apple/pubspec.yaml +++ b/packages/firebase_ui_oauth_apple/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.2.1 + firebase_auth: ^5.3.0 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_facebook/pubspec.yaml b/packages/firebase_ui_oauth_facebook/pubspec.yaml index f6d2cfac..c89a3333 100644 --- a/packages/firebase_ui_oauth_facebook/pubspec.yaml +++ b/packages/firebase_ui_oauth_facebook/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.2.1 + firebase_auth: ^5.3.0 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_google/pubspec.yaml b/packages/firebase_ui_oauth_google/pubspec.yaml index 617385ff..418b73ed 100644 --- a/packages/firebase_ui_oauth_google/pubspec.yaml +++ b/packages/firebase_ui_oauth_google/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.2.1 + firebase_auth: ^5.3.0 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_twitter/pubspec.yaml b/packages/firebase_ui_oauth_twitter/pubspec.yaml index ea597cce..6c16302d 100644 --- a/packages/firebase_ui_oauth_twitter/pubspec.yaml +++ b/packages/firebase_ui_oauth_twitter/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_auth: ^5.2.1 + firebase_auth: ^5.3.0 firebase_ui_oauth: ^1.5.3 twitter_login: ^4.4.2 diff --git a/packages/firebase_ui_storage/example/pubspec.yaml b/packages/firebase_ui_storage/example/pubspec.yaml index b9223470..47e3fd35 100644 --- a/packages/firebase_ui_storage/example/pubspec.yaml +++ b/packages/firebase_ui_storage/example/pubspec.yaml @@ -9,8 +9,8 @@ environment: dependencies: cupertino_icons: ^1.0.6 file_picker: ^6.1.1 - firebase_core: ^3.4.1 - firebase_storage: ^12.3.0 + firebase_core: ^3.5.0 + firebase_storage: ^12.3.1 firebase_ui_storage: ^2.0.5 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_storage/pubspec.yaml b/packages/firebase_ui_storage/pubspec.yaml index 63eb1045..38adf286 100644 --- a/packages/firebase_ui_storage/pubspec.yaml +++ b/packages/firebase_ui_storage/pubspec.yaml @@ -13,7 +13,7 @@ false_secrets: dependencies: flutter: sdk: flutter - firebase_storage: ^12.3.0 + firebase_storage: ^12.3.1 firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 path: ^1.8.3 diff --git a/tests/pubspec.yaml b/tests/pubspec.yaml index ec5f51f5..3aac4cab 100644 --- a/tests/pubspec.yaml +++ b/tests/pubspec.yaml @@ -10,8 +10,8 @@ dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.6 - firebase_auth: ^5.2.1 - firebase_core: ^3.4.1 + firebase_auth: ^5.3.0 + firebase_core: ^3.5.0 firebase_ui_auth: ^1.15.0 firebase_ui_localizations: ^1.12.0 firebase_ui_oauth_apple: ^1.2.21 @@ -21,12 +21,12 @@ dependencies: flutter_facebook_auth: ^6.0.3 twitter_login: ^4.4.2 firebase_ui_oauth_twitter: ^1.2.21 - cloud_firestore: ^5.4.1 + cloud_firestore: ^5.4.2 firebase_ui_firestore: ^1.6.4 http: ^1.1.2 google_sign_in: ^6.2.1 firebase_ui_shared: ^1.4.1 - firebase_database: ^11.1.2 + firebase_database: ^11.1.3 firebase_ui_database: ^1.4.4 dev_dependencies: From c034d56aac9b6f5be7bba5a70c549ffb89b8f4e4 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Tue, 17 Sep 2024 20:39:43 +0530 Subject: [PATCH 10/22] feat(database, firestore): updated default loading indicator to be platform adaptive (#399) Co-authored-by: Russell Wheatley --- packages/firebase_ui_database/lib/src/query_builder.dart | 2 +- packages/firebase_ui_firestore/lib/src/query_builder.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/firebase_ui_database/lib/src/query_builder.dart b/packages/firebase_ui_database/lib/src/query_builder.dart index 2e62e000..957a7d00 100644 --- a/packages/firebase_ui_database/lib/src/query_builder.dart +++ b/packages/firebase_ui_database/lib/src/query_builder.dart @@ -438,7 +438,7 @@ class FirebaseDatabaseListView extends FirebaseDatabaseQueryBuilder { builder: (context, snapshot, _) { if (snapshot.isFetching) { return loadingBuilder?.call(context) ?? - const Center(child: CircularProgressIndicator()); + const Center(child: CircularProgressIndicator.adaptive()); } if (snapshot.hasError && errorBuilder != null) { diff --git a/packages/firebase_ui_firestore/lib/src/query_builder.dart b/packages/firebase_ui_firestore/lib/src/query_builder.dart index a97e3f74..e0c9c5fc 100644 --- a/packages/firebase_ui_firestore/lib/src/query_builder.dart +++ b/packages/firebase_ui_firestore/lib/src/query_builder.dart @@ -460,7 +460,7 @@ class FirestoreListView extends FirestoreQueryBuilder { builder: (context, snapshot, _) { if (snapshot.isFetching) { return loadingBuilder?.call(context) ?? - const Center(child: CircularProgressIndicator()); + const Center(child: CircularProgressIndicator.adaptive()); } if (snapshot.hasError && errorBuilder != null) { @@ -570,7 +570,7 @@ class FirestoreListView extends FirestoreQueryBuilder { builder: (context, snapshot, _) { if (snapshot.isFetching) { return loadingBuilder?.call(context) ?? - const Center(child: CircularProgressIndicator()); + const Center(child: CircularProgressIndicator.adaptive()); } if (snapshot.hasError && errorBuilder != null) { From 2fde000ee6314710aa6b435b9ff16c7d5ad3912d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:30:51 +0100 Subject: [PATCH 11/22] chore(deps): bump actions/checkout from 4.1.1 to 4.1.7 (#368) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Russell Wheatley --- .github/workflows/code_health.yml | 10 +++++----- .github/workflows/e2e.yml | 8 ++++---- .github/workflows/ossf-scorecard.yml | 2 +- .github/workflows/unit_tests.yml | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/code_health.yml b/.github/workflows/code_health.yml index 63cdbfa9..82033bdc 100644 --- a/.github/workflows/code_health.yml +++ b/.github/workflows/code_health.yml @@ -20,7 +20,7 @@ jobs: analyze: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: subosito/flutter-action@v2 with: channel: "stable" @@ -34,7 +34,7 @@ jobs: pub_dry_run: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: subosito/flutter-action@v2 with: channel: "stable" @@ -50,7 +50,7 @@ jobs: pub_get_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: subosito/flutter-action@v2 with: channel: "stable" @@ -67,7 +67,7 @@ jobs: # switch back to ubuntu-latest when swiftformat is working again runs-on: macos-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: subosito/flutter-action@v2 with: channel: "stable" @@ -100,7 +100,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: actions/setup-go@v5 with: go-version: "^1.13.1" diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 56cc747b..882c63f7 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 name: Install Node.js with: @@ -90,7 +90,7 @@ jobs: runs-on: macos-latest timeout-minutes: 45 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 name: Install Node.js with: @@ -186,7 +186,7 @@ jobs: runs-on: macos-latest timeout-minutes: 45 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 name: Install Node.js with: @@ -250,7 +250,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 with: channel: 'stable' diff --git a/.github/workflows/ossf-scorecard.yml b/.github/workflows/ossf-scorecard.yml index f2435207..31b1ed0e 100644 --- a/.github/workflows/ossf-scorecard.yml +++ b/.github/workflows/ossf-scorecard.yml @@ -32,7 +32,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.1.0 with: persist-credentials: false diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 8786d80c..c0c3175f 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -28,7 +28,7 @@ jobs: packages: ${{ steps.filter.outputs.changed_packages }} has_changes: ${{ steps.filter.outputs.changed_packages != '[]' }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: ./.github/actions/changes id: filter @@ -44,7 +44,7 @@ jobs: target: ["html", "io"] steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.7 - uses: subosito/flutter-action@v2 with: channel: "stable" From bc4b7c481dc372a9d3ca565581a4580086470a1d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:31:02 +0100 Subject: [PATCH 12/22] chore(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.14 (#385) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Russell Wheatley --- .github/workflows/e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 882c63f7..b7d03cd0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -116,7 +116,7 @@ jobs: /usr/local/share/powershell \ /usr/share/dotnet df -h / - - uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 + - uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 name: Xcode Compile Cache with: key: ${{ runner.os }}-ios-v3 @@ -195,7 +195,7 @@ jobs: with: distribution: "temurin" java-version: "11" - - uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 + - uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 name: Xcode Compile Cache with: key: ${{ runner.os }}-macos-v2 From 63a9074d6589ceb7db71f1b1a55468a9e3082f32 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Mon, 30 Sep 2024 09:57:14 +0100 Subject: [PATCH 13/22] chore: add "Needs attention" label to new issues (#406) --- .github/workflows/issue-labels.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/issue-labels.yml b/.github/workflows/issue-labels.yml index 8c85858c..6c82268f 100644 --- a/.github/workflows/issue-labels.yml +++ b/.github/workflows/issue-labels.yml @@ -30,5 +30,14 @@ jobs: uses: actions-ecosystem/action-remove-labels@v1 with: labels: 'blocked: customer-response' + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + label-new-issue: + runs-on: ubuntu-latest + steps: + - name: Add 'Needs Attention' label to new issue + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: 'Needs Attention' env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file From d72ce8e3e6d79563c7992d25f36c05b06a742297 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Mon, 30 Sep 2024 12:25:34 +0100 Subject: [PATCH 14/22] feat: bump FlutterFire dependencies 2024-09-30 (#407) --- packages/firebase_ui_auth/example/pubspec.yaml | 4 ++-- packages/firebase_ui_auth/pubspec.yaml | 6 +++--- packages/firebase_ui_database/example/pubspec.yaml | 4 ++-- packages/firebase_ui_database/pubspec.yaml | 2 +- packages/firebase_ui_firestore/example/pubspec.yaml | 4 ++-- packages/firebase_ui_firestore/pubspec.yaml | 2 +- packages/firebase_ui_localizations/example/pubspec.yaml | 2 +- packages/firebase_ui_oauth/example/pubspec.yaml | 4 ++-- packages/firebase_ui_oauth/pubspec.yaml | 2 +- packages/firebase_ui_oauth_apple/pubspec.yaml | 2 +- packages/firebase_ui_oauth_facebook/pubspec.yaml | 2 +- packages/firebase_ui_oauth_google/pubspec.yaml | 2 +- packages/firebase_ui_oauth_twitter/pubspec.yaml | 2 +- packages/firebase_ui_storage/example/pubspec.yaml | 4 ++-- packages/firebase_ui_storage/pubspec.yaml | 2 +- tests/ios/Podfile | 2 +- tests/macos/Podfile | 2 +- tests/pubspec.yaml | 8 ++++---- 18 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/firebase_ui_auth/example/pubspec.yaml b/packages/firebase_ui_auth/example/pubspec.yaml index 5ee61bf0..75a9f0e9 100644 --- a/packages/firebase_ui_auth/example/pubspec.yaml +++ b/packages/firebase_ui_auth/example/pubspec.yaml @@ -22,8 +22,8 @@ environment: dependencies: cupertino_icons: ^1.0.6 - firebase_auth: ^5.3.0 - firebase_core: ^3.5.0 + firebase_auth: ^5.3.1 + firebase_core: ^3.6.0 flutter: sdk: flutter flutter_localizations: diff --git a/packages/firebase_ui_auth/pubspec.yaml b/packages/firebase_ui_auth/pubspec.yaml index d002a05c..b30f2800 100644 --- a/packages/firebase_ui_auth/pubspec.yaml +++ b/packages/firebase_ui_auth/pubspec.yaml @@ -10,9 +10,9 @@ environment: dependencies: email_validator: ^2.1.17 - firebase_auth: ^5.3.0 - firebase_core: ^3.5.0 - firebase_dynamic_links: ^6.0.7 + firebase_auth: ^5.3.1 + firebase_core: ^3.6.0 + firebase_dynamic_links: ^6.0.8 firebase_ui_localizations: ^1.12.0 firebase_ui_oauth: ^1.5.3 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_database/example/pubspec.yaml b/packages/firebase_ui_database/example/pubspec.yaml index 44b27978..168d5fe3 100644 --- a/packages/firebase_ui_database/example/pubspec.yaml +++ b/packages/firebase_ui_database/example/pubspec.yaml @@ -33,8 +33,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - firebase_core: ^3.5.0 - firebase_database: ^11.1.3 + firebase_core: ^3.6.0 + firebase_database: ^11.1.4 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 flutter_test: diff --git a/packages/firebase_ui_database/pubspec.yaml b/packages/firebase_ui_database/pubspec.yaml index 8591d062..a5d8157b 100644 --- a/packages/firebase_ui_database/pubspec.yaml +++ b/packages/firebase_ui_database/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: collection: ^1.18.0 - firebase_database: ^11.1.3 + firebase_database: ^11.1.4 firebase_ui_localizations: ^1.12.0 flutter: sdk: flutter diff --git a/packages/firebase_ui_firestore/example/pubspec.yaml b/packages/firebase_ui_firestore/example/pubspec.yaml index f8a2b4b8..a61f4d27 100644 --- a/packages/firebase_ui_firestore/example/pubspec.yaml +++ b/packages/firebase_ui_firestore/example/pubspec.yaml @@ -30,9 +30,9 @@ dependencies: flutter: sdk: flutter firebase_ui_firestore: ^1.6.4 - cloud_firestore: ^5.4.2 + cloud_firestore: ^5.4.3 cupertino_icons: ^1.0.6 - firebase_core: ^3.5.0 + firebase_core: ^3.6.0 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 flutter_test: diff --git a/packages/firebase_ui_firestore/pubspec.yaml b/packages/firebase_ui_firestore/pubspec.yaml index 928d694e..7ca69074 100644 --- a/packages/firebase_ui_firestore/pubspec.yaml +++ b/packages/firebase_ui_firestore/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - cloud_firestore: ^5.4.2 + cloud_firestore: ^5.4.3 firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 flutter: diff --git a/packages/firebase_ui_localizations/example/pubspec.yaml b/packages/firebase_ui_localizations/example/pubspec.yaml index 38e9b673..99ceb6a4 100644 --- a/packages/firebase_ui_localizations/example/pubspec.yaml +++ b/packages/firebase_ui_localizations/example/pubspec.yaml @@ -31,7 +31,7 @@ environment: dependencies: cupertino_icons: ^1.0.6 - firebase_core: ^3.5.0 + firebase_core: ^3.6.0 firebase_ui_auth: ^1.15.0 firebase_ui_localizations: ^1.12.0 flutter: diff --git a/packages/firebase_ui_oauth/example/pubspec.yaml b/packages/firebase_ui_oauth/example/pubspec.yaml index 081b12b2..302e1374 100644 --- a/packages/firebase_ui_oauth/example/pubspec.yaml +++ b/packages/firebase_ui_oauth/example/pubspec.yaml @@ -33,8 +33,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - firebase_auth: ^5.3.0 - firebase_core: ^3.5.0 + firebase_auth: ^5.3.1 + firebase_core: ^3.6.0 firebase_ui_oauth: ^1.5.3 firebase_ui_oauth_apple: ^1.2.21 firebase_ui_oauth_facebook: ^1.2.21 diff --git a/packages/firebase_ui_oauth/pubspec.yaml b/packages/firebase_ui_oauth/pubspec.yaml index 81031be1..8e996d2f 100644 --- a/packages/firebase_ui_oauth/pubspec.yaml +++ b/packages/firebase_ui_oauth/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: desktop_webview_auth: ^0.0.14 - firebase_auth: ^5.3.0 + firebase_auth: ^5.3.1 firebase_ui_auth: ^1.15.0 firebase_ui_shared: ^1.4.1 flutter_svg: ^2.0.9 diff --git a/packages/firebase_ui_oauth_apple/pubspec.yaml b/packages/firebase_ui_oauth_apple/pubspec.yaml index 2a4d9981..b2351db1 100644 --- a/packages/firebase_ui_oauth_apple/pubspec.yaml +++ b/packages/firebase_ui_oauth_apple/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.3.0 + firebase_auth: ^5.3.1 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_facebook/pubspec.yaml b/packages/firebase_ui_oauth_facebook/pubspec.yaml index c89a3333..72a6e22e 100644 --- a/packages/firebase_ui_oauth_facebook/pubspec.yaml +++ b/packages/firebase_ui_oauth_facebook/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.3.0 + firebase_auth: ^5.3.1 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_google/pubspec.yaml b/packages/firebase_ui_oauth_google/pubspec.yaml index 418b73ed..2c6304d2 100644 --- a/packages/firebase_ui_oauth_google/pubspec.yaml +++ b/packages/firebase_ui_oauth_google/pubspec.yaml @@ -8,7 +8,7 @@ environment: flutter: ">=3.3.0" dependencies: - firebase_auth: ^5.3.0 + firebase_auth: ^5.3.1 firebase_ui_oauth: ^1.5.3 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_twitter/pubspec.yaml b/packages/firebase_ui_oauth_twitter/pubspec.yaml index 6c16302d..49a51069 100644 --- a/packages/firebase_ui_oauth_twitter/pubspec.yaml +++ b/packages/firebase_ui_oauth_twitter/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_auth: ^5.3.0 + firebase_auth: ^5.3.1 firebase_ui_oauth: ^1.5.3 twitter_login: ^4.4.2 diff --git a/packages/firebase_ui_storage/example/pubspec.yaml b/packages/firebase_ui_storage/example/pubspec.yaml index 47e3fd35..08ff14da 100644 --- a/packages/firebase_ui_storage/example/pubspec.yaml +++ b/packages/firebase_ui_storage/example/pubspec.yaml @@ -9,8 +9,8 @@ environment: dependencies: cupertino_icons: ^1.0.6 file_picker: ^6.1.1 - firebase_core: ^3.5.0 - firebase_storage: ^12.3.1 + firebase_core: ^3.6.0 + firebase_storage: ^12.3.2 firebase_ui_storage: ^2.0.5 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_storage/pubspec.yaml b/packages/firebase_ui_storage/pubspec.yaml index 38adf286..71832191 100644 --- a/packages/firebase_ui_storage/pubspec.yaml +++ b/packages/firebase_ui_storage/pubspec.yaml @@ -13,7 +13,7 @@ false_secrets: dependencies: flutter: sdk: flutter - firebase_storage: ^12.3.1 + firebase_storage: ^12.3.2 firebase_ui_localizations: ^1.12.0 firebase_ui_shared: ^1.4.1 path: ^1.8.3 diff --git a/tests/ios/Podfile b/tests/ios/Podfile index 3f3496bc..c3e4323a 100644 --- a/tests/ios/Podfile +++ b/tests/ios/Podfile @@ -29,7 +29,7 @@ flutter_ios_podfile_setup target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '11.0.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '11.2.0' flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do diff --git a/tests/macos/Podfile b/tests/macos/Podfile index 41852d6d..57f8723d 100644 --- a/tests/macos/Podfile +++ b/tests/macos/Podfile @@ -30,7 +30,7 @@ target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '11.0.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '11.2.0' flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do diff --git a/tests/pubspec.yaml b/tests/pubspec.yaml index 3aac4cab..fe543708 100644 --- a/tests/pubspec.yaml +++ b/tests/pubspec.yaml @@ -10,8 +10,8 @@ dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.6 - firebase_auth: ^5.3.0 - firebase_core: ^3.5.0 + firebase_auth: ^5.3.1 + firebase_core: ^3.6.0 firebase_ui_auth: ^1.15.0 firebase_ui_localizations: ^1.12.0 firebase_ui_oauth_apple: ^1.2.21 @@ -21,12 +21,12 @@ dependencies: flutter_facebook_auth: ^6.0.3 twitter_login: ^4.4.2 firebase_ui_oauth_twitter: ^1.2.21 - cloud_firestore: ^5.4.2 + cloud_firestore: ^5.4.3 firebase_ui_firestore: ^1.6.4 http: ^1.1.2 google_sign_in: ^6.2.1 firebase_ui_shared: ^1.4.1 - firebase_database: ^11.1.3 + firebase_database: ^11.1.4 firebase_ui_database: ^1.4.4 dev_dependencies: From ebb522264083a2cdad9ddc0663b7c180bfea8238 Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Mon, 30 Sep 2024 13:38:01 +0100 Subject: [PATCH 15/22] chore(release): publish packages (#408) --- CHANGELOG.md | 68 +++++++++++++++++++ packages/firebase_ui_auth/CHANGELOG.md | 4 ++ .../firebase_ui_auth/example/pubspec.yaml | 14 ++-- packages/firebase_ui_auth/pubspec.yaml | 6 +- packages/firebase_ui_database/CHANGELOG.md | 5 ++ .../firebase_ui_database/example/pubspec.yaml | 2 +- packages/firebase_ui_database/pubspec.yaml | 4 +- packages/firebase_ui_firestore/CHANGELOG.md | 5 ++ .../example/pubspec.yaml | 2 +- packages/firebase_ui_firestore/pubspec.yaml | 4 +- .../firebase_ui_localizations/CHANGELOG.md | 4 ++ .../example/pubspec.yaml | 4 +- .../firebase_ui_localizations/pubspec.yaml | 2 +- packages/firebase_ui_oauth/CHANGELOG.md | 4 ++ .../firebase_ui_oauth/example/pubspec.yaml | 10 +-- packages/firebase_ui_oauth/pubspec.yaml | 4 +- packages/firebase_ui_oauth_apple/CHANGELOG.md | 4 ++ packages/firebase_ui_oauth_apple/pubspec.yaml | 4 +- .../firebase_ui_oauth_facebook/CHANGELOG.md | 4 ++ .../firebase_ui_oauth_facebook/pubspec.yaml | 4 +- .../firebase_ui_oauth_google/CHANGELOG.md | 4 ++ .../firebase_ui_oauth_google/pubspec.yaml | 4 +- .../firebase_ui_oauth_twitter/CHANGELOG.md | 4 ++ .../firebase_ui_oauth_twitter/pubspec.yaml | 4 +- packages/firebase_ui_storage/CHANGELOG.md | 4 ++ .../firebase_ui_storage/example/pubspec.yaml | 2 +- packages/firebase_ui_storage/pubspec.yaml | 4 +- tests/pubspec.yaml | 18 ++--- 28 files changed, 156 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eb8b792..a9af35b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,74 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-09-30 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`firebase_ui_auth` - `v1.16.0`](#firebase_ui_auth---v1160) + - [`firebase_ui_database` - `v1.5.0`](#firebase_ui_database---v150) + - [`firebase_ui_firestore` - `v1.7.0`](#firebase_ui_firestore---v170) + - [`firebase_ui_localizations` - `v1.13.0`](#firebase_ui_localizations---v1130) + - [`firebase_ui_oauth` - `v1.6.0`](#firebase_ui_oauth---v160) + - [`firebase_ui_oauth_apple` - `v1.3.0`](#firebase_ui_oauth_apple---v130) + - [`firebase_ui_oauth_facebook` - `v1.3.0`](#firebase_ui_oauth_facebook---v130) + - [`firebase_ui_oauth_google` - `v1.4.0`](#firebase_ui_oauth_google---v140) + - [`firebase_ui_oauth_twitter` - `v1.3.0`](#firebase_ui_oauth_twitter---v130) + - [`firebase_ui_storage` - `v2.1.0`](#firebase_ui_storage---v210) + +--- + +#### `firebase_ui_auth` - `v1.16.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_database` - `v1.5.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + - **FEAT**(database,firestore): updated default loading indicator to be platform adaptive ([#399](https://github.com/firebase/FirebaseUI-Flutter/issues/399)). ([c034d56a](https://github.com/firebase/FirebaseUI-Flutter/commit/c034d56aac9b6f5be7bba5a70c549ffb89b8f4e4)) + +#### `firebase_ui_firestore` - `v1.7.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + - **FEAT**(database,firestore): updated default loading indicator to be platform adaptive ([#399](https://github.com/firebase/FirebaseUI-Flutter/issues/399)). ([c034d56a](https://github.com/firebase/FirebaseUI-Flutter/commit/c034d56aac9b6f5be7bba5a70c549ffb89b8f4e4)) + +#### `firebase_ui_localizations` - `v1.13.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_oauth` - `v1.6.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_oauth_apple` - `v1.3.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_oauth_facebook` - `v1.3.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_oauth_google` - `v1.4.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_oauth_twitter` - `v1.3.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + +#### `firebase_ui_storage` - `v2.1.0` + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + + ## 2024-06-12 ### Changes diff --git a/packages/firebase_ui_auth/CHANGELOG.md b/packages/firebase_ui_auth/CHANGELOG.md index b97f2f7d..23f9b544 100644 --- a/packages/firebase_ui_auth/CHANGELOG.md +++ b/packages/firebase_ui_auth/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.16.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.15.0 - **FIX**(ui_auth): fix confirmation dialog for delete account button ([#346](https://github.com/firebase/FirebaseUI-Flutter/issues/346)). ([4fd041d1](https://github.com/firebase/FirebaseUI-Flutter/commit/4fd041d12756084da6e4e3e7232c0dd35fc3593c)) diff --git a/packages/firebase_ui_auth/example/pubspec.yaml b/packages/firebase_ui_auth/example/pubspec.yaml index 75a9f0e9..178158da 100644 --- a/packages/firebase_ui_auth/example/pubspec.yaml +++ b/packages/firebase_ui_auth/example/pubspec.yaml @@ -28,13 +28,13 @@ dependencies: sdk: flutter flutter_localizations: sdk: flutter - firebase_ui_auth: ^1.15.0 - firebase_ui_localizations: ^1.12.0 - firebase_ui_oauth: ^1.5.3 - firebase_ui_oauth_apple: ^1.2.21 - firebase_ui_oauth_facebook: ^1.2.21 - firebase_ui_oauth_google: ^1.3.3 - firebase_ui_oauth_twitter: ^1.2.21 + firebase_ui_auth: ^1.16.0 + firebase_ui_localizations: ^1.13.0 + firebase_ui_oauth: ^1.6.0 + firebase_ui_oauth_apple: ^1.3.0 + firebase_ui_oauth_facebook: ^1.3.0 + firebase_ui_oauth_google: ^1.4.0 + firebase_ui_oauth_twitter: ^1.3.0 dev_dependencies: drive: ^1.0.0-1.0.nullsafety.5 firebase_ui_shared: ^1.4.1 diff --git a/packages/firebase_ui_auth/pubspec.yaml b/packages/firebase_ui_auth/pubspec.yaml index b30f2800..9ad20738 100644 --- a/packages/firebase_ui_auth/pubspec.yaml +++ b/packages/firebase_ui_auth/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_auth description: Pre-built widgets library that are integrated with the variety of the Firebase Auth providers. -version: 1.15.0 +version: 1.16.0 repository: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_auth homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_auth @@ -13,8 +13,8 @@ dependencies: firebase_auth: ^5.3.1 firebase_core: ^3.6.0 firebase_dynamic_links: ^6.0.8 - firebase_ui_localizations: ^1.12.0 - firebase_ui_oauth: ^1.5.3 + firebase_ui_localizations: ^1.13.0 + firebase_ui_oauth: ^1.6.0 firebase_ui_shared: ^1.4.1 flutter: sdk: flutter diff --git a/packages/firebase_ui_database/CHANGELOG.md b/packages/firebase_ui_database/CHANGELOG.md index 60c835a6..ad13fe59 100644 --- a/packages/firebase_ui_database/CHANGELOG.md +++ b/packages/firebase_ui_database/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.5.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + - **FEAT**(database,firestore): updated default loading indicator to be platform adaptive ([#399](https://github.com/firebase/FirebaseUI-Flutter/issues/399)). ([c034d56a](https://github.com/firebase/FirebaseUI-Flutter/commit/c034d56aac9b6f5be7bba5a70c549ffb89b8f4e4)) + ## 1.4.4 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_database/example/pubspec.yaml b/packages/firebase_ui_database/example/pubspec.yaml index 168d5fe3..1cc15664 100644 --- a/packages/firebase_ui_database/example/pubspec.yaml +++ b/packages/firebase_ui_database/example/pubspec.yaml @@ -29,7 +29,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_ui_database: ^1.4.4 + firebase_ui_database: ^1.5.0 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 diff --git a/packages/firebase_ui_database/pubspec.yaml b/packages/firebase_ui_database/pubspec.yaml index a5d8157b..f30e992d 100644 --- a/packages/firebase_ui_database/pubspec.yaml +++ b/packages/firebase_ui_database/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_database description: Pre-built widgets and utilites that make it easy to integrate Firebase Realtime Database into your Flutter app. -version: 1.4.4 +version: 1.5.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_database environment: @@ -10,7 +10,7 @@ environment: dependencies: collection: ^1.18.0 firebase_database: ^11.1.4 - firebase_ui_localizations: ^1.12.0 + firebase_ui_localizations: ^1.13.0 flutter: sdk: flutter diff --git a/packages/firebase_ui_firestore/CHANGELOG.md b/packages/firebase_ui_firestore/CHANGELOG.md index 76b62401..cb5d0c48 100644 --- a/packages/firebase_ui_firestore/CHANGELOG.md +++ b/packages/firebase_ui_firestore/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.7.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + - **FEAT**(database,firestore): updated default loading indicator to be platform adaptive ([#399](https://github.com/firebase/FirebaseUI-Flutter/issues/399)). ([c034d56a](https://github.com/firebase/FirebaseUI-Flutter/commit/c034d56aac9b6f5be7bba5a70c549ffb89b8f4e4)) + ## 1.6.4 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_firestore/example/pubspec.yaml b/packages/firebase_ui_firestore/example/pubspec.yaml index a61f4d27..83fa01d0 100644 --- a/packages/firebase_ui_firestore/example/pubspec.yaml +++ b/packages/firebase_ui_firestore/example/pubspec.yaml @@ -29,7 +29,7 @@ environment: dependencies: flutter: sdk: flutter - firebase_ui_firestore: ^1.6.4 + firebase_ui_firestore: ^1.7.0 cloud_firestore: ^5.4.3 cupertino_icons: ^1.0.6 firebase_core: ^3.6.0 diff --git a/packages/firebase_ui_firestore/pubspec.yaml b/packages/firebase_ui_firestore/pubspec.yaml index 7ca69074..c9b78bc3 100644 --- a/packages/firebase_ui_firestore/pubspec.yaml +++ b/packages/firebase_ui_firestore/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_firestore description: Pre-built widgets and utilites that make it easy to integrate Firebase Firestore into your Flutter app. -version: 1.6.4 +version: 1.7.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_firestore environment: @@ -9,7 +9,7 @@ environment: dependencies: cloud_firestore: ^5.4.3 - firebase_ui_localizations: ^1.12.0 + firebase_ui_localizations: ^1.13.0 firebase_ui_shared: ^1.4.1 flutter: sdk: flutter diff --git a/packages/firebase_ui_localizations/CHANGELOG.md b/packages/firebase_ui_localizations/CHANGELOG.md index a78f02ca..32818126 100644 --- a/packages/firebase_ui_localizations/CHANGELOG.md +++ b/packages/firebase_ui_localizations/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.13.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.12.0 - **FIX**(ui_localizations): Add missing 'nb' language code to kSupportedLanguages ([#350](https://github.com/firebase/FirebaseUI-Flutter/issues/350)). ([3fbfded0](https://github.com/firebase/FirebaseUI-Flutter/commit/3fbfded079b8dbe54b15d805ed5be5836e0d1ff7)) diff --git a/packages/firebase_ui_localizations/example/pubspec.yaml b/packages/firebase_ui_localizations/example/pubspec.yaml index 99ceb6a4..63f6260e 100644 --- a/packages/firebase_ui_localizations/example/pubspec.yaml +++ b/packages/firebase_ui_localizations/example/pubspec.yaml @@ -32,8 +32,8 @@ dependencies: cupertino_icons: ^1.0.6 firebase_core: ^3.6.0 - firebase_ui_auth: ^1.15.0 - firebase_ui_localizations: ^1.12.0 + firebase_ui_auth: ^1.16.0 + firebase_ui_localizations: ^1.13.0 flutter: sdk: flutter flutter_localizations: diff --git a/packages/firebase_ui_localizations/pubspec.yaml b/packages/firebase_ui_localizations/pubspec.yaml index 72b30b43..e57730cf 100644 --- a/packages/firebase_ui_localizations/pubspec.yaml +++ b/packages/firebase_ui_localizations/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_localizations description: Localization package for firebase_ui_auth, firebase_ui_firestore and firebase_ui_database -version: 1.12.0 +version: 1.13.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_localizations false_secrets: diff --git a/packages/firebase_ui_oauth/CHANGELOG.md b/packages/firebase_ui_oauth/CHANGELOG.md index 4ffea3da..468f5ec0 100644 --- a/packages/firebase_ui_oauth/CHANGELOG.md +++ b/packages/firebase_ui_oauth/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.6.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.5.3 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth/example/pubspec.yaml b/packages/firebase_ui_oauth/example/pubspec.yaml index 302e1374..30a0fd2e 100644 --- a/packages/firebase_ui_oauth/example/pubspec.yaml +++ b/packages/firebase_ui_oauth/example/pubspec.yaml @@ -35,11 +35,11 @@ dependencies: cupertino_icons: ^1.0.6 firebase_auth: ^5.3.1 firebase_core: ^3.6.0 - firebase_ui_oauth: ^1.5.3 - firebase_ui_oauth_apple: ^1.2.21 - firebase_ui_oauth_facebook: ^1.2.21 - firebase_ui_oauth_google: ^1.3.3 - firebase_ui_oauth_twitter: ^1.2.21 + firebase_ui_oauth: ^1.6.0 + firebase_ui_oauth_apple: ^1.3.0 + firebase_ui_oauth_facebook: ^1.3.0 + firebase_ui_oauth_google: ^1.4.0 + firebase_ui_oauth_twitter: ^1.3.0 dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/firebase_ui_oauth/pubspec.yaml b/packages/firebase_ui_oauth/pubspec.yaml index 8e996d2f..06a81796 100644 --- a/packages/firebase_ui_oauth/pubspec.yaml +++ b/packages/firebase_ui_oauth/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth description: Firebase UI widgets for authentication & OAuth -version: 1.5.3 +version: 1.6.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth environment: @@ -10,7 +10,7 @@ environment: dependencies: desktop_webview_auth: ^0.0.14 firebase_auth: ^5.3.1 - firebase_ui_auth: ^1.15.0 + firebase_ui_auth: ^1.16.0 firebase_ui_shared: ^1.4.1 flutter_svg: ^2.0.9 flutter: diff --git a/packages/firebase_ui_oauth_apple/CHANGELOG.md b/packages/firebase_ui_oauth_apple/CHANGELOG.md index fb3c8fca..7f6a7820 100644 --- a/packages/firebase_ui_oauth_apple/CHANGELOG.md +++ b/packages/firebase_ui_oauth_apple/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.3.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.2.21 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_apple/pubspec.yaml b/packages/firebase_ui_oauth_apple/pubspec.yaml index b2351db1..a0ed146e 100644 --- a/packages/firebase_ui_oauth_apple/pubspec.yaml +++ b/packages/firebase_ui_oauth_apple/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_apple description: Firebase UI widgets for authentication & OAuth. -version: 1.2.21 +version: 1.3.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_apple environment: @@ -9,7 +9,7 @@ environment: dependencies: firebase_auth: ^5.3.1 - firebase_ui_oauth: ^1.5.3 + firebase_ui_oauth: ^1.6.0 flutter: sdk: flutter diff --git a/packages/firebase_ui_oauth_facebook/CHANGELOG.md b/packages/firebase_ui_oauth_facebook/CHANGELOG.md index 25472d12..8f66612c 100644 --- a/packages/firebase_ui_oauth_facebook/CHANGELOG.md +++ b/packages/firebase_ui_oauth_facebook/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.3.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.2.21 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_facebook/pubspec.yaml b/packages/firebase_ui_oauth_facebook/pubspec.yaml index 72a6e22e..e3c3b54c 100644 --- a/packages/firebase_ui_oauth_facebook/pubspec.yaml +++ b/packages/firebase_ui_oauth_facebook/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_facebook description: Firebase UI widgets for authentication & OAuth. -version: 1.2.21 +version: 1.3.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_facebook environment: @@ -9,7 +9,7 @@ environment: dependencies: firebase_auth: ^5.3.1 - firebase_ui_oauth: ^1.5.3 + firebase_ui_oauth: ^1.6.0 flutter: sdk: flutter flutter_facebook_auth: ^6.0.3 diff --git a/packages/firebase_ui_oauth_google/CHANGELOG.md b/packages/firebase_ui_oauth_google/CHANGELOG.md index 2ac0442a..675ad31c 100644 --- a/packages/firebase_ui_oauth_google/CHANGELOG.md +++ b/packages/firebase_ui_oauth_google/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.3.3 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_google/pubspec.yaml b/packages/firebase_ui_oauth_google/pubspec.yaml index 2c6304d2..320ec970 100644 --- a/packages/firebase_ui_oauth_google/pubspec.yaml +++ b/packages/firebase_ui_oauth_google/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_google description: Firebase UI widgets for authentication & OAuth. -version: 1.3.3 +version: 1.4.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_google environment: @@ -9,7 +9,7 @@ environment: dependencies: firebase_auth: ^5.3.1 - firebase_ui_oauth: ^1.5.3 + firebase_ui_oauth: ^1.6.0 flutter: sdk: flutter google_sign_in: ^6.2.1 diff --git a/packages/firebase_ui_oauth_twitter/CHANGELOG.md b/packages/firebase_ui_oauth_twitter/CHANGELOG.md index 25472d12..8f66612c 100644 --- a/packages/firebase_ui_oauth_twitter/CHANGELOG.md +++ b/packages/firebase_ui_oauth_twitter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.3.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 1.2.21 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_oauth_twitter/pubspec.yaml b/packages/firebase_ui_oauth_twitter/pubspec.yaml index 49a51069..442814a3 100644 --- a/packages/firebase_ui_oauth_twitter/pubspec.yaml +++ b/packages/firebase_ui_oauth_twitter/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_oauth_twitter description: Firebase UI widgets for authentication & OAuth. -version: 1.2.21 +version: 1.3.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_oauth_twitter environment: @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter firebase_auth: ^5.3.1 - firebase_ui_oauth: ^1.5.3 + firebase_ui_oauth: ^1.6.0 twitter_login: ^4.4.2 dev_dependencies: diff --git a/packages/firebase_ui_storage/CHANGELOG.md b/packages/firebase_ui_storage/CHANGELOG.md index 8d5b33e3..9aa804f8 100644 --- a/packages/firebase_ui_storage/CHANGELOG.md +++ b/packages/firebase_ui_storage/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.0 + + - **FEAT**: bump FlutterFire dependencies 2024-09-30 ([#407](https://github.com/firebase/FirebaseUI-Flutter/issues/407)). ([d72ce8e3](https://github.com/firebase/FirebaseUI-Flutter/commit/d72ce8e3e6d79563c7992d25f36c05b06a742297)) + ## 2.0.5 - Update a dependency to the latest release. diff --git a/packages/firebase_ui_storage/example/pubspec.yaml b/packages/firebase_ui_storage/example/pubspec.yaml index 08ff14da..cb870b71 100644 --- a/packages/firebase_ui_storage/example/pubspec.yaml +++ b/packages/firebase_ui_storage/example/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: file_picker: ^6.1.1 firebase_core: ^3.6.0 firebase_storage: ^12.3.2 - firebase_ui_storage: ^2.0.5 + firebase_ui_storage: ^2.1.0 firebase_ui_shared: ^1.4.1 flutter: diff --git a/packages/firebase_ui_storage/pubspec.yaml b/packages/firebase_ui_storage/pubspec.yaml index 71832191..ec280353 100644 --- a/packages/firebase_ui_storage/pubspec.yaml +++ b/packages/firebase_ui_storage/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_ui_storage description: Pre-built widgets and utilites that make it easy to integrate Firebase Storage into your Flutter app. -version: 2.0.5 +version: 2.1.0 homepage: https://github.com/firebase/FirebaseUI-Flutter/tree/master/packages/firebase_ui_storage/ environment: @@ -14,7 +14,7 @@ dependencies: flutter: sdk: flutter firebase_storage: ^12.3.2 - firebase_ui_localizations: ^1.12.0 + firebase_ui_localizations: ^1.13.0 firebase_ui_shared: ^1.4.1 path: ^1.8.3 uuid: ^4.2.2 diff --git a/tests/pubspec.yaml b/tests/pubspec.yaml index fe543708..181a1ba3 100644 --- a/tests/pubspec.yaml +++ b/tests/pubspec.yaml @@ -12,22 +12,22 @@ dependencies: cupertino_icons: ^1.0.6 firebase_auth: ^5.3.1 firebase_core: ^3.6.0 - firebase_ui_auth: ^1.15.0 - firebase_ui_localizations: ^1.12.0 - firebase_ui_oauth_apple: ^1.2.21 - firebase_ui_oauth_facebook: ^1.2.21 - firebase_ui_oauth_google: ^1.3.3 - firebase_ui_oauth: ^1.5.3 + firebase_ui_auth: ^1.16.0 + firebase_ui_localizations: ^1.13.0 + firebase_ui_oauth_apple: ^1.3.0 + firebase_ui_oauth_facebook: ^1.3.0 + firebase_ui_oauth_google: ^1.4.0 + firebase_ui_oauth: ^1.6.0 flutter_facebook_auth: ^6.0.3 twitter_login: ^4.4.2 - firebase_ui_oauth_twitter: ^1.2.21 + firebase_ui_oauth_twitter: ^1.3.0 cloud_firestore: ^5.4.3 - firebase_ui_firestore: ^1.6.4 + firebase_ui_firestore: ^1.7.0 http: ^1.1.2 google_sign_in: ^6.2.1 firebase_ui_shared: ^1.4.1 firebase_database: ^11.1.4 - firebase_ui_database: ^1.4.4 + firebase_ui_database: ^1.5.0 dev_dependencies: flutter_test: From 0b51c5e59a72260ed5ecabfc977613ce3b1f0c64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:26:36 +0100 Subject: [PATCH 16/22] chore(deps): bump cookie and express in /functions (#417) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- functions/package-lock.json | 238 +++++++++++++++++++++++++----------- 1 file changed, 165 insertions(+), 73 deletions(-) diff --git a/functions/package-lock.json b/functions/package-lock.json index 0d35baa4..70534b8b 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -2547,9 +2547,9 @@ "integrity": "sha512-cRygWd7kGBQO3VEhPiTgq4Wc43ctsM+o46urrmPOiuAe+07fzlSB9OJVdpgDL0jPqXUVQ9ht7aq7kxOeJHRK+w==" }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.5", @@ -2559,7 +2559,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -2687,12 +2687,18 @@ } }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2918,9 +2924,9 @@ "peer": true }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "engines": { "node": ">= 0.6" } @@ -3017,6 +3023,22 @@ "node": ">=0.10.0" } }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/define-properties": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", @@ -3154,9 +3176,9 @@ "devOptional": true }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "engines": { "node": ">= 0.8" } @@ -3242,6 +3264,25 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-set-tostringtag": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", @@ -3771,36 +3812,36 @@ } }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -3964,12 +4005,12 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -4143,9 +4184,12 @@ } }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/function.prototype.name": { "version": "1.1.5", @@ -4228,14 +4272,18 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4460,7 +4508,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -4504,6 +4551,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, "dependencies": { "function-bind": "^1.1.1" }, @@ -4530,12 +4578,11 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dependencies": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4578,6 +4625,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -6159,9 +6217,12 @@ } }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/merge-stream": { "version": "2.0.0", @@ -6417,9 +6478,12 @@ } }, "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -6633,9 +6697,9 @@ "dev": true }, "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" }, "node_modules/path-type": { "version": "4.0.0", @@ -6985,11 +7049,11 @@ "peer": true }, "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dependencies": { - "side-channel": "^1.0.4" + "side-channel": "^1.0.6" }, "engines": { "node": ">=0.6" @@ -7304,9 +7368,9 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", @@ -7339,6 +7403,14 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/send/node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -7356,19 +7428,35 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" } }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -7438,13 +7526,17 @@ } }, "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" From 9cf6f175510ad862d73f96535ea86356ef90991b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:26:57 +0100 Subject: [PATCH 17/22] chore(deps): bump fast-xml-parser from 4.3.6 to 4.5.0 in /functions (#413) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- functions/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/package-lock.json b/functions/package-lock.json index 70534b8b..2bdedd1b 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -3929,9 +3929,9 @@ "optional": true }, "node_modules/fast-xml-parser": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.6.tgz", - "integrity": "sha512-M2SovcRxD4+vC493Uc2GZVcZaj66CCJhWurC4viynVSTvrpErCShNcDz1lAho6n9REQKvL/ll4A4/fw6Y9z8nw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.0.tgz", + "integrity": "sha512-/PlTQCI96+fZMAOLMZK4CWG1ItCbfZ/0jx7UIJFChPNrx7tcEgerUgWbeieCM9MfHInUDyK8DWYZ+YrywDJuTg==", "funding": [ { "type": "github", From f859fc8c7b71852df9bcfaf4c065129fc726a81e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:28:30 +0100 Subject: [PATCH 18/22] chore(deps): bump actions/setup-java from 4.2.1 to 4.4.0 (#409) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/e2e.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b7d03cd0..a4f6cca5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -33,7 +33,7 @@ jobs: name: Install Node.js with: node-version: "18" - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: "temurin" java-version: "17" @@ -95,7 +95,7 @@ jobs: name: Install Node.js with: node-version: "18" - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: "temurin" java-version: "11" @@ -191,7 +191,7 @@ jobs: name: Install Node.js with: node-version: "18" - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 with: distribution: "temurin" java-version: "11" From 72530e522f141eb12b74c13b99b4460e6da3d140 Mon Sep 17 00:00:00 2001 From: Ammaar Muhammad Iqbal Date: Mon, 28 Oct 2024 06:31:52 -0400 Subject: [PATCH 19/22] fix(ui_auth): make light text on _EmailVerificationBadge legible (#196) Co-authored-by: Russell Wheatley --- packages/firebase_ui_auth/lib/src/screens/profile_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart index bea8a5e5..b06ed081 100644 --- a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart +++ b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart @@ -387,7 +387,7 @@ class _EmailVerificationBadgeState extends State<_EmailVerificationBadge> { children: [ Container( decoration: BoxDecoration( - color: Colors.yellow, + color: Colors.yellow.withOpacity(0.5), borderRadius: BorderRadius.circular(12), ), child: Padding( From d183d87e61086c34e8e18233dfc99873b863e7d8 Mon Sep 17 00:00:00 2001 From: Dario Digregorio <32966133+dario-digregorio@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:00:19 +0100 Subject: [PATCH 20/22] fix(auth): using theme color instead of hardcoded value (#416) Co-authored-by: Russell Wheatley --- packages/firebase_ui_auth/lib/src/screens/profile_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart index b06ed081..35a493af 100644 --- a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart +++ b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart @@ -387,7 +387,7 @@ class _EmailVerificationBadgeState extends State<_EmailVerificationBadge> { children: [ Container( decoration: BoxDecoration( - color: Colors.yellow.withOpacity(0.5), + color: Theme.of(context).colorScheme.surface, borderRadius: BorderRadius.circular(12), ), child: Padding( From 3609796ccdb2eebe78f8fb4faff793e7833f238d Mon Sep 17 00:00:00 2001 From: JPBotelho Date: Tue, 29 Oct 2024 13:01:14 +0000 Subject: [PATCH 21/22] fix(ui localizations): fixed typos and added translations to 'pt' (Portugese) (#414) --- .../lib/l10n/firebase_ui_pt.arb | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/firebase_ui_localizations/lib/l10n/firebase_ui_pt.arb b/packages/firebase_ui_localizations/lib/l10n/firebase_ui_pt.arb index 7b196f2e..c50b958f 100644 --- a/packages/firebase_ui_localizations/lib/l10n/firebase_ui_pt.arb +++ b/packages/firebase_ui_localizations/lib/l10n/firebase_ui_pt.arb @@ -61,7 +61,7 @@ "description": "Used as a label of the DeleteAccountButton.", "placeholders": {} }, - "differentMethodsSignInTitleText": "Uso um dos métodos a seguir para fazer login", + "differentMethodsSignInTitleText": "Use um dos métodos a seguir para fazer login", "@differentMethodsSignInTitleText": { "description": "Used as a title of the dialog that indicates that there are different available sign in methods for a provided email.", "placeholders": {} @@ -76,12 +76,12 @@ "description": "", "placeholders": {} }, - "emailInputLabel": "E-mail", + "emailInputLabel": "Email", "@emailInputLabel": { "description": "Used as a label of the EmailInput.", "placeholders": {} }, - "emailIsRequiredErrorText": "O e-mail é obrigatório", + "emailIsRequiredErrorText": "O email é obrigatório", "@emailIsRequiredErrorText": { "description": "Used as an error text of the EmailInput when the email is empty.", "placeholders": {} @@ -91,7 +91,7 @@ "description": "Used as a label of the EmailLinkSignInButton.", "placeholders": {} }, - "emailTakenErrorText": "Já existe uma conta com este e-mail", + "emailTakenErrorText": "Já existe uma conta com este email", "@emailTakenErrorText": { "description": "Used as an error message when the user tries to sign up with an email that is already used.", "placeholders": {} @@ -106,12 +106,12 @@ "description": "Used as a hint to connect more providers.", "placeholders": {} }, - "enterSMSCodeText": "Informar o código SMS", + "enterSMSCodeText": "Introduza o código SMS", "@enterSMSCodeText": { "description": "Used as a label of the SMSCodeInput.", "placeholders": {} }, - "findProviderForEmailTitleText": "Insira seu e-mail para continuar", + "findProviderForEmailTitleText": "Insira seu email para continuar", "@findProviderForEmailTitleText": { "description": "Used as a title of the FindProvidersForEmailView.", "placeholders": {} @@ -121,7 +121,7 @@ "description": "Used as a label of the ForgotPasswordButton.", "placeholders": {} }, - "forgotPasswordHintText": "Forneça seu e-mail. Depois disso, vamos enviar uma mensagem com um link para redefinir sua senha", + "forgotPasswordHintText": "Forneça seu email. Depois disso, vamos enviar uma mensagem com um link para redefinir sua senha", "@forgotPasswordHintText": { "description": "Used as a hint on a ForgotPasswordView.", "placeholders": {} @@ -150,7 +150,7 @@ "description": "Used as an error text when provide country code is invalid.", "placeholders": {} }, - "isNotAValidEmailErrorText": "Forneça um e-mail válido", + "isNotAValidEmailErrorText": "Forneça um email válido", "@isNotAValidEmailErrorText": { "description": "Used as an error text of the EmailInput if the provided email is not valid.", "placeholders": {} @@ -220,7 +220,7 @@ "description": "Used as an error text when PasswordInput is empty.", "placeholders": {} }, - "passwordResetEmailSentText": "Enviamos para seu e-mail um link que permite redefinir sua senha. Confira sua caixa de entrada.", + "passwordResetEmailSentText": "Enviámos para seu email um link que permite redefinir sua senha. Confira sua caixa de entrada.", "@passwordResetEmailSentText": { "description": "Indicates that the password reset email was sent.", "placeholders": {} @@ -250,7 +250,7 @@ "description": "A title of the ProfileScreen.", "placeholders": {} }, - "provideEmail": "Forneça seu e-mail e senha", + "provideEmail": "Forneça seu email e senha", "@provideEmail": { "description": "Used as a title of the EmailSignUpDialog.", "placeholders": {} @@ -314,7 +314,7 @@ "description": "Used as a label of the OAuthProviderButton for Apple provider.", "placeholders": {} }, - "signInWithEmailLinkSentText": "Enviamos um link mágico para seu e-mail. Confira sua caixa de entrada e clique nesse link para fazer login", + "signInWithEmailLinkSentText": "Enviámos um link mágico para seu email. Confira sua caixa de entrada e clique nesse link para fazer login", "@signInWithEmailLinkSentText": { "description": "Indicates that email with a sign in link was sent.", "placeholders": {} @@ -424,47 +424,47 @@ "description": "Used as an error text of the PasswordInput when provided password is empty or is not correct.", "placeholders": {} }, - "uploadButtonText": "Upload file", + "uploadButtonText": "Carregue ficheiro", "@uploadButtonText": { "description": "UploadButton label", "placeholders": {} }, - "verifyEmailTitle": "Verify your email", + "verifyEmailTitle": "Verifique o seu email", "@verifyEmailTitle": { "description": "EmailVerificationScreen title", "placeholders": {} }, - "verificationEmailSentText": "A verification email has been sent to your email address. Please check your email and click on the link to verify your email address.", + "verificationEmailSentText": "Um email de verificação foi enviado para seu email. Confira sua caixa de entrada e clique no link para verificar o seu endereço de email.", "@verificationEmailSentText": { "description": "Hint text indicating that verification email has been sent", "placeholders": {} }, - "verificationFailedText": "We couldn't verify your email address. ", + "verificationFailedText": "Não conseguimos verificar seu endereço de email. ", "@verificationFailedText": { "description": "Message indicating that something went wrong during email verification", "placeholders": {} }, - "resendVerificationEmailButtonLabel": "Resend verification email", + "resendVerificationEmailButtonLabel": "Reenviar email de verificação", "@resendVerificationEmailButtonLabel": { "description": "Button label that suggests to resend verification email", "placeholders": {} }, - "verificationEmailSentTextShort": "Verification email sent", + "verificationEmailSentTextShort": "Email de verificação enviado", "@verificationEmailSentTextShort": { "description": "Short version of the hint text indicating that verification email has been sent", "placeholders": {} }, - "emailIsNotVerifiedText": "Email is not verified", + "emailIsNotVerifiedText": "Email não está verificado", "@emailIsNotVerifiedText": { "description": "Message indicating that email is not verified", "placeholders": {} }, - "waitingForEmailVerificationText": "Waiting for email verification", + "waitingForEmailVerificationText": "Aguardando verificação do email", "@waitingForEmailVerificationText": { "description": "Message indicating that email is being verified", "placeholders": {} }, - "dismissButtonLabel": "Dismiss", + "dismissButtonLabel": "Ignorar", "@dismiss": { "description": "Dissmiss button label", "placeholders": {} @@ -474,62 +474,62 @@ "description": "OK button label", "placeholders": {} }, - "checkEmailHintText": "Please check your email and click the link to verify your email address.", + "checkEmailHintText": "Por favor confira sua caixa de entrada e clique no link para verificar seu endereço de email.", "@checkEmailHintText": { "description": "Hint text prompting the user to check email for verification link", "placeholders": {} }, - "doneButtonLabel": "Done", + "doneButtonLabel": "Feito", "@doneButtonLabel": { "description": "Done button label", "placeholders": {} }, - "invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.", + "invalidVerificationCodeErrorText": "O código que inseriu é inválido. Por favor tente novamente.", "@invalidVerificationCodeErrorText": { "description": "Error text indicating that entered SMS code is invalid", "placeholders": {} }, - "ulinkProviderAlertTitle": "Unlink provider", + "ulinkProviderAlertTitle": "Desassociar provedor", "@ulinkProviderAlertTitle": { "description": "Title that is shown in AlertDialog asking for provider unlink confirmation", "placeholders": {} }, - "confirmUnlinkButtonLabel": "Unlink", + "confirmUnlinkButtonLabel": "Desassociar", "@confirmUnlinkButtonLabel": { "description": "Unlink confirmation button label", "placeholders": {} }, - "cancelButtonLabel": "Cancel", + "cancelButtonLabel": "Cancelar", "@cancelButtonLabel": { "description": "Cancel button label", "placeholders": {} }, - "unlinkProviderAlertMessage": "Are you sure you want to unlink this provider?", + "unlinkProviderAlertMessage": "Tem a certeza que quer desassociar este provedor?", "@unlinkProviderAlertMessage": { "description": "Text that is shown as a message of the AlertDialog confirming provider unlink", "placeholders": {} }, - "weakPasswordErrorText": "Password should be at least 6 characters", + "weakPasswordErrorText": "A senha deve ter pelo menos 6 caracteres", "@weakPasswordErrorText": { "description": "Error text suggesting that used password is too weak", "placeholders": {} }, - "confirmDeleteAccountAlertTitle": "Confirm account deletion", + "confirmDeleteAccountAlertTitle": "Confirmar eliminação de conta", "@confirmDeleteAccountAlertTitle": { "description": "Delete account confirmation dialog title", "placeholders": {} }, - "confirmDeleteAccountAlertMessage": "Are you sure you want to delete your account?", + "confirmDeleteAccountAlertMessage": Tem a certeza que quer eliminar sua conta?", "@confirmDeleteAccountAlertMessage": { "description": "Delete account confirmation dialog message", "placeholders": {} }, - "confirmDeleteAccountButtonLabel": "Yes, delete", + "confirmDeleteAccountButtonLabel": "Sim, eliminar", "@confirmDeleteAccountButtonLabel": { "description": "Confirm delete account button label", "placeholders": {} }, - "sendVerificationEmailLabel": "Send verification email", + "sendVerificationEmailLabel": "Enviar email de verificação", "@sendVerificationEmailLabel": { "description": "Used as a button label to send a verification email", "placeholders": {} From 0e3a7c4912de4cba1fa6e8fe3d99e1ae2e8a8286 Mon Sep 17 00:00:00 2001 From: Mad-ScientistX <46295702+Mad-ScientistX@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:02:08 +1100 Subject: [PATCH 22/22] fix(ui_auth): fix confirmation dialog for unlink account button in profile screen (#373) Co-authored-by: Daniel Plit Co-authored-by: Russell Wheatley --- .../lib/src/screens/profile_screen.dart | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart index 35a493af..71980b30 100644 --- a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart +++ b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart @@ -195,11 +195,8 @@ class _LinkedProvidersRowState extends State<_LinkedProvidersRow> { }); } - void Function() pop(bool value) { - return () { - Navigator.of(context).pop(value); - }; - } + void Function() pop(BuildContext context, T result) => + () => Navigator.of(context).pop(result); Future _unlinkProvider(BuildContext context, String providerId) async { setState(() { @@ -216,8 +213,8 @@ class _LinkedProvidersRowState extends State<_LinkedProvidersRow> { context: context, builder: (context) { return UniversalAlert( - onConfirm: pop(true), - onCancel: pop(false), + onConfirm: pop(context, true), + onCancel: pop(context, false), title: l.ulinkProviderAlertTitle, confirmButtonText: l.confirmUnlinkButtonLabel, cancelButtonText: l.cancelButtonLabel,