Skip to content

Releases: kreait/firebase-php

6.0.1

16 Jan 12:01
fe3bc70
Compare
Choose a tag to compare

Fixed

  • When signing in with IdP credentials a user's Firebase UID is retrieved from the returned localId field, if present

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

5.26.1

16 Jan 11:59
291d4e6
Compare
Choose a tag to compare

Fixed

  • When signing in with IdP credentials a user's Firebase UID is retrieved from the returned localId field, if present

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

6.0.0

07 Jan 00:17
daac8ff
Compare
Choose a tag to compare

This is a release with breaking changes.

Please review the Changelog and adapt your application where needed.


If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

I will assist Sponsors (in a tier with access to my private Slack) hands-on with upgrading their codebase and will be available for individual questions as long as their sponsorship is active 🤗.

5.26.0

06 Jan 01:37
19c3e2a
Compare
Choose a tag to compare

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏


Added

  • Ensured compatibility with PHP 8.1
  • Added optional $locale parameter to the following methods(#679)
    • Kreait\Firebase\Auth::getEmailActionLink(string $type, $email, $actionCodeSettings = null, ?string $locale = null)
    • Kreait\Firebase\Auth::getEmailVerificationLink($email, $actionCodeSettings = null, ?string $locale = null)
    • Kreait\Firebase\Auth::getPasswordResetLink($email, $actionCodeSettings = null, ?string $locale = null)
    • Kreait\Firebase\Auth::getSignInWithEmailLink($email, $actionCodeSettings = null, ?string $locale = null)

Deprecated

  • Kreait\Firebase\Value\Provider, use provider strings directly (supported providers)
  • Kreait\Firebase\Auth::signInWithTwitterOauthCredential(), use signInWithIdpAccessToken('twitter.com') instead
  • Kreait\Firebase\Auth::signInWithGoogleIdToken(), use signInWithIdpIdToken('google.com') instead
  • Kreait\Firebase\Auth::signInWithFacebookAccessToken(), use signInWithIdpAccessToken('facebook.com') instead
  • Kreait\Firebase\Auth::signInWithAppleIdToken(), use signInWithIdpIdToken('apple.com') instead

5.25.0

01 Nov 16:10
94cc269
Compare
Choose a tag to compare

Added

  • Added support for providing a nonce when signing in with IdP credentials
  • Added methods:
    • Kreait\Firebase\Auth::signInWithAppleIdToken()

Changed

  • When building the RTDB Url from the service account's project ID, the SDK will not replace colons (:) and dots (.) with dashes (-) anymore. (#351 (comment))

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

5.24.0

05 Oct 16:16
668d450
Compare
Choose a tag to compare

Added

Added Factory::getDebugInfo() to display information about the currently configured factory. (Documentation)

Changed

Bumped kreait/firebase-tokens to ^1.16.1 to ensure a minor security fix in lcobucci/jwt (More info: GHSA-7322-jrq4-x5hf)

Fixed

Fixed a bug that occurs when using Realtime Database Paths without a leading slash with newer releases of guzzle/psr7


If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

5.23.0

26 Aug 12:01
0b3ba9f
Compare
Choose a tag to compare

Added

  • Added screenName property to the provider data of a user record (#575)
  • Added support for deleting multiple users at once (based on #650) (Documentation)

Changed

  • Bumped google/auth dependency ^1.18 in order to ensure support for guzzle/psr ^2.0 (see google/auth#357)

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

5.22.0

30 Jul 23:25
e3fd9a2
Compare
Choose a tag to compare

Added

  • Added support for Realtime Database Auth Variable Overrides (#625) (Documentation)
  • Added support for linking IdP credentials to an existing account (#635) (Documentation)

Changes

  • Database Rules are now uploaded as pretty-printed JSON to improve readability when viewing them in the Firebase Console.

Notes

  • Remote Config templates now support up to 3000 parameters (instead of up to 2000 parameters)

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

5.21.0

16 Jul 00:41
4ffd194
Compare
Choose a tag to compare

Added

Changes

  • Bumped kreait/firebase-tokens to ^1.16
  • Updated version constraints of psr/cache to allow newer releases
  • Updated version constraints of psr/log to allow newer releases

5.20.1

12 May 13:45
5c5c8f3
Compare
Choose a tag to compare

Fixed

  • Restored broken support for Guzzle 6.x