All Versions
163
Latest Version
Avg Release Cycle
23 days
Latest Release
-

Changelog History
Page 6

  • 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 :)

  • v4.40.0 Changes

    February 18, 2020

    Messaging

    • MulticastSendReports now include errors concerning invalid requests (this can happen when
      Messaging::sendAll() is used with invalid messages)
    • โž• Added methods to improve working with Messaging Send Reports
      • Kreait\Firebase\Messaging\SendReport::messageTargetWasInvalid(): bool
      • Kreait\Firebase\Messaging\SendReport::messageWasInvalid(): bool
      • Kreait\Firebase\Messaging\SendReport::messageWasSentToUnknownToken(): bool
      • Kreait\Firebase\Messaging\MulticastSendReport::filter(callable $callback)
      • Kreait\Firebase\Messaging\MulticastSendReport::map(callable $callback)
      • Kreait\Firebase\Messaging\MulticastSendReport::unknownTokens(): string[]
      • Kreait\Firebase\Messaging\MulticastSendReport::invalidTokens(): string[]
  • v4.39.2 Changes

    February 13, 2020
    • Auth: The revocation check on ID token rejected tokens younger than five minutes (#377)
    • Auth: Added missing check for a sub claim when verifying an ID token.
    • Messaging: Allow null values for message data fields (#383)
  • v4.39.1 Changes

    January 30, 2020
    • Messaging: The SDK was unable to handle numeric/numbers-only subscription topics. (#373)
  • v4.39.0 Changes

    January 17, 2020
    • โšก๏ธ Updated kreait/firebase-tokens to ^1.10 for better error handling and error messages
    • โž• Added support for Guzzle 7 (requires #256 in google/auth to be merged and released)
    • โช Restored the casting of scalars to strings in Cloud Message data (#371)