• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-flutter / 28998373420
87%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 06:22AM UTC
Jobs 8
Files 83
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2026 06:19AM UTC coverage: 86.422% (-0.01%) from 86.433%
28998373420

push

github

web-flow
feat(gotrue): add currentPassword to UserAttributes (#1554)

## Summary

Adds an optional `currentPassword` field to `UserAttributes`. When the
auth server has
`GOTRUE_SECURITY_UPDATE_PASSWORD_REQUIRE_CURRENT_PASSWORD` enabled,
changing a password requires the current password to be sent for
verification.

The field is serialized as `current_password`, which is the key the auth
server reads (`json:"current_password"`). Note that supabase-js
currently sends the raw camelCase `currentPassword`, which the server
does not read; a separate fix has been opened against supabase-js.

## Changes

- `packages/gotrue/lib/src/types/user_attributes.dart` — add nullable
`currentPassword` field, include it in `toJson()` as `current_password`,
and in `==`/`hashCode`.
- `packages/gotrue/test/src/types/user_attributes_test.dart` — tests for
serialization, null-omission, and equality.

## Outcome

Implemented.

## References

- Linear: SDK-753
- supabase-js: PR #2131 / commit f681484
- auth server: supabase/auth PR #2364

## Compliance matrix

`auth.session.update_user` already tracked as `partially_implemented`;
no status change.

2 of 3 new or added lines in 1 file covered. (66.67%)

1 existing line in 1 file now uncovered.

4468 of 5170 relevant lines covered (86.42%)

3.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
73.58
-0.42% packages/gotrue/lib/src/types/user_attributes.dart

Coverage Regressions

Lines Coverage ∆ File
1
73.58
-0.42% packages/gotrue/lib/src/types/user_attributes.dart
Jobs
ID Job ID Ran Files Coverage
6 supabase_flutter - 28998373420.6 09 Jul 2026 06:22AM UTC 11
79.0
GitHub Action Run
7 gotrue - 28998373420.7 09 Jul 2026 06:25AM UTC 29
85.97
GitHub Action Run
8 supabase - 28998373420.8 09 Jul 2026 06:22AM UTC 15
80.69
GitHub Action Run
7 postgrest - 28933384010.7 08 Jul 2026 09:51AM UTC 9
84.57
GitHub Action Run
8 storage_client - 28997985907.8 09 Jul 2026 06:14AM UTC 5
93.26
GitHub Action Run
6 functions_client - 28951625246.6 08 Jul 2026 02:47PM UTC 2
98.8
GitHub Action Run
8 yet_another_json_isolate - 28933384010.8 08 Jul 2026 09:48AM UTC 1
77.78
GitHub Action Run
5 realtime_client - 28933384010.5 08 Jul 2026 09:51AM UTC 11
89.06
GitHub Action Run
Source Files on build 28998373420
  • Tree
  • List 83
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28998373420
  • b04c6419 on github
  • Prev Build on main (#28997985907)
  • Next Build on main (#28999966848)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc