All Versions
157
Latest Version
Avg Release Cycle
21 days
Latest Release
14 days ago

Changelog History
Page 5

  • v5.2.0 Changes

    May 03, 2020

    โž• Added

    • It is now possible to retrieve the Firebase User ID directly from a SignInResult after a successful user sign-in with SignInResult::firebaseUserId()
  • v5.1.1 Changes

    April 16, 2020

    ๐Ÿ›  Fixed

    • Custom Token Generation was not possible with an auto-discovered Service Account (#412)
  • v5.1.0 Changes

    April 06, 2020

    โž• Added

    • 0๏ธโƒฃ Fetched authentication tokens (to authenticate requests to the Firebase API) are now cached in-memory by default (#404)
  • v5.0.0 Changes

    April 01, 2020

    ๐Ÿ—„ If you are not using any classes or methods marked as @deprecated or @internal you should be able ๐Ÿš€ to upgrade from a 4.x release to 5.0 without changes to your code.

    โœ‚ Removed

    • ๐Ÿ‘Œ Support for PHP <7.2
    • ๐Ÿ—„ Deprecated methods and classes

    ๐Ÿš€ [Unreleased]: https://github.com/kreait/firebase-php/compare/5.25.0...HEAD

  • v4.44.0 Changes

    April 05, 2020

    0๏ธโƒฃ Fetched authentication tokens (to authenticate requests to the Firebase API) are now cached in-memory by default (#404).

  • v4.43.0 Changes

    March 31, 2020

    โž• Added

    • ๐Ÿ“œ Kreait\Firebase\Auth::parseToken(string $tokenString): Lcobucci\JWT\Token
    • Kreait\Firebase\Auth::signInWithEmailAndOobCode($email, $oobCode): Kreait\Firebase\Auth\SignInResult
  • v4.42.1 Changes

    March 31, 2020
    • ๐Ÿ›  Fixed the FIREBASE_CREDENTIALS environment variable not being picked up when determining the authentication credentials.
  • v4.42.0 Changes

    March 30, 2020
    • ๐Ÿ‘‰ User records now include the password salt and tenant ID, if available
    • Reworked credentials auto-discovery to use the discovery already provided by Google's libraries, deprecating the previous auto-discovery methods. It is still possible to disable auto-discovery.
    • ๐Ÿ—„ Passing custom HTTP Client options and middlewares has been deprecated. The SDK already reacts to errors and customizations might lead to unexpected behavior.
      • If you want to debug HTTP requests, add ->withEnabledDebug() to the Factory configuration chain. (Documentation)
      • If you need to configure a proxy, use ->withHttpProxy($proxy). (Documentation)

    โž• Added

    • Kreait\Firebase\Factory::withProjectId(string $projectId): self
    • Kreait\Firebase\Factory::withClientEmail(string $clientEmail): self
    • Kreait\Firebase\Factory::withEnabledDebug(): self
    • Kreait\Firebase\Factory::withHttpProxy(string $proxy): self

    ๐Ÿ—„ Deprecations

    • Kreait\Firebase\Factory::withHttpClientConfig()
    • Kreait\Firebase\Factory::withHttpClientMiddlewares()
    • Kreait\Firebase\ServiceAccount::discover()
    • Kreait\Firebase\ServiceAccount::fromArray()
    • Kreait\Firebase\ServiceAccount::fromJson()
    • Kreait\Firebase\ServiceAccount::fromJsonFile()
    • Kreait\Firebase\ServiceAccount::getClientId()
    • Kreait\Firebase\ServiceAccount::getFilePath()
    • Kreait\Firebase\ServiceAccount::getSanitizedProjectId()
    • Kreait\Firebase\ServiceAccount::hasClientId()
    • Kreait\Firebase\ServiceAccount::hasPrivateKey()
    • Kreait\Firebase\ServiceAccount::withClientEmail()
    • Kreait\Firebase\ServiceAccount::withClientId()
    • Kreait\Firebase\ServiceAccount::withPrivateKey()
    • Kreait\Firebase\ServiceAccount::withProjectId()
    • Kreait\Firebase\ServiceAccount::withProjectIdAndServiceAccountId()
    • Kreait\Firebase\ServiceAccount\Discoverer
    • Kreait\Firebase\ServiceAccount\Discovery\FromEnvironmentVariable
    • Kreait\Firebase\ServiceAccount\Discovery\FromGoogleWellKnownFile
    • Kreait\Firebase\ServiceAccount\Discovery\FromPath
    • Kreait\Firebase\ServiceAccount\Discovery\OnGoogleCloudPlatform
  • v4.41.0 Changes

    March 16, 2020

    Auth

    • โž• Added support for custom authentication Flows (Documentation)
      • Kreait\Firebase\Auth::signInAnonymously()
      • Kreait\Firebase\Auth::signInAsUser($userOrUid, array $claims = null)
      • Kreait\Firebase\Auth::signInWithCustomToken($customToken)
      • Kreait\Firebase\Auth::signInWithEmailAndPassword($email, $clearTextPassword)
      • Kreait\Firebase\Auth::signInWithRefreshToken($refreshToken)

    ๐Ÿ—„ Deprecations

    • Kreait\Firebase\Auth::getApiClient()
    • Kreait\Firebase\Auth::linkProviderThroughAccessToken()
    • Kreait\Firebase\Auth::linkProviderThroughIdToken()
    • Kreait\Firebase\Auth::verifyPassword()
    • Kreait\Firebase\Auth\ApiClient::exchangeCustomTokenForIdAndRefreshToken()
    • Kreait\Firebase\Auth\ApiClient::linkProviderThroughAccessToken()
    • Kreait\Firebase\Auth\ApiClient::linkProviderThroughIdToken()
    • Kreait\Firebase\Auth\ApiClient::verifyPassword()
    • Kreait\Firebase\Auth\LinkedProviderData
    • Kreait\Firebase\Factory::asUser()
  • v4.40.1 Changes

    February 29, 2020

    It was not possible to discover Service Accounts stored as JSON string in an environment variable.

    Now it is :)