docs(changeset): clarify GitHub profile type changes

This commit is contained in:
Taesu
2026-10-16 09:59:12 +09:00
parent 1754637696
commit 1bb775f3a1
+1 -3
View File
@@ -2,6 +2,4 @@
"@better-auth/core": minor
---
Allow custom GitHub `getUserInfo` callbacks to return public or private API responses without type assertions. `GithubProfile` now uses numeric IDs and counters, nullable profile attributes, and optional account details.
Consumers may need to handle null or omitted fields and use `String(profile.id)` when a string ID is required.
GitHub `getUserInfo` callbacks can now return public or private API profiles without type assertions. Existing profile mappings may need updates for numeric IDs and counters, nullable attributes, and omitted fields.