Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/functions/grpc/grpc-…
Browse files Browse the repository at this point in the history
…js-1.8.22
  • Loading branch information
russellwheatley authored Oct 29, 2024
2 parents e8ea31c + 0e3a7c4 commit 7185445
Show file tree
Hide file tree
Showing 56 changed files with 917 additions and 338 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/code_health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
39 changes: 30 additions & 9 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ 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:
node-version: "18"
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
with:
distribution: "temurin"
java-version: "17"
Expand Down Expand Up @@ -90,16 +90,33 @@ 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:
node-version: "18"
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
with:
distribution: "temurin"
java-version: "11"
- uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714
- 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@ed74d11c0b343532753ecead8a951bb09bb34bc9
name: Xcode Compile Cache
with:
key: ${{ runner.os }}-ios-v3
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -165,16 +186,16 @@ 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:
node-version: "18"
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
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
Expand Down Expand Up @@ -229,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'
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/issue-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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 }}
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 }}
2 changes: 1 addition & 1 deletion .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down
118 changes: 118 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,124 @@
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

---

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
Expand Down
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,32 @@ 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
```

If multiple devices are connected, you need to specify the target device by running the following command:

```bash
melos test:e2e -- <device-id>
```

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.
Expand Down
2 changes: 2 additions & 0 deletions docs/firebase-ui-auth/providers/email-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
Loading

0 comments on commit 7185445

Please sign in to comment.