diff --git a/.changeset/github-profile-types.md b/.changeset/github-profile-types.md index 0f112b389d..420bff1efa 100644 --- a/.changeset/github-profile-types.md +++ b/.changeset/github-profile-types.md @@ -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.