All Versions
163
Latest Version
Avg Release Cycle
23 days
Latest Release
-
Changelog History
Page 6
Changelog History
Page 6
-
v4.44.0 Changes
April 05, 20200๏ธโฃ 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.
- ๐ Fixed the
-
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)
- If you want to debug HTTP requests, add
โ 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, 2020Auth
- โ 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()
- โ Added support for custom authentication Flows (Documentation)
-
v4.40.1 Changes
February 29, 2020It was not possible to discover Service Accounts stored as JSON string in an environment variable.
Now it is :)
-
v4.40.0 Changes
February 18, 2020Messaging
- 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[]
- MulticastSendReports now include errors concerning invalid requests (this can happen when
-
v4.39.2 Changes
February 13, 2020 -
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)
- โก๏ธ Updated