fix(deps): update dependency kreait/firebase-php to v7 - autoclosed#35
Closed
renovate[bot] wants to merge 1 commit into
Closed
fix(deps): update dependency kreait/firebase-php to v7 - autoclosed#35renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
10deae0 to
a644275
Compare
a644275 to
feaec33
Compare
feaec33 to
1eaa375
Compare
30cbfb2 to
a262e0e
Compare
a262e0e to
f9f5297
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.0->^7.0Release Notes
kreait/firebase-php (kreait/firebase-php)
v7.21.1Compare Source
Fixed
#[SensitiveParameter]attribute because it's not supported in PHP 8.1.v7.21.0Compare Source
Changed
mapping a given service account file, JSON, or array to the newly added internal
ServiceAccountclass, with moreto follow in future releases.
v7.20.0Compare Source
Added
Kreait\Firebase\Auth::getUserByProviderUid(). (#1000)Since this method couldn't be added to the
Kreait\Firebase\Contract\Authinterface without causing a breakingchange, a new transitional interface/contract named
Kreait\Firebase\Contract\Transitional\FederatedUserFetcherwas added. This interface will be removed in the next major version of the SDK.
There are several ways to check if you can use the
getUserByProviderUid()method:Kreait\Firebase\Factory::withDefaultCache()allows you to set a default cacheimplementation for the SDK. This is useful if you want to use one cache implementation for all components
that support caching.
(Documentation)
Deprecated
Kreait\Firebase\Factory::getDebugInfov7.19.0Compare Source
Added
Kreait\Firebase\Factory::createFirestore($databaseName)instead of having to chain::withFirestoreDatabase($databaseName)->createFirestore()in Apns configs.
Kreait\Firebase\Http\HttpClientOptions::withGuzzleMiddleware()andKreait\Firebase\Http\HttpClientOptions::withGuzzleMiddlewares()now accept callable strings, in additionto callables. (#1004)
Deprecated
Kreait\Firebase\Factory::withFirestoreDatabase()v7.18.0Compare Source
Added
v7.17.0Compare Source
Added
502are now caught and converted toServerUnavailableexceptions.v7.16.1Compare Source
Fixed
lcobucci/jwtrelease that doesn'tsupport PHP 8.1 anymore. This was fixed by changing the version requirement from
^5.4.2to^5.3.v7.16.0Compare Source
Added
HttpClientOptions::withGuzzleHandler()method.(#956)
Changed
CloudMessageclass for message handling anymore. If you provide amessage as an array and it has an error, the Firebase API will report it. You can still use the
CloudMessageclass as a message builder
CloudMessage::withTarget()method, use the newtoToken(),toTopic()ortoCondition()methods insteadDeprecated
Kreait\Firebase\Messaging\CloudMessage::withTarget()Kreait\Firebase\Messaging\CloudMessage::withChangedTarget()Kreait\Firebase\Messaging\CloudMessage::target()Kreait\Firebase\Messaging\CloudMessage::hasTarget()v7.15.0Compare Source
Added
in Remote Config Templates.
(#923), (#927)
you have to manually create a rollout in the Firebase console to be able to reference it in the Remote Config
template. Rollout IDs are named
rollout_<number>, and you can find the ID in the URL after clicking on a rollout in the list.v7.14.0Compare Source
Added
PHP 8.4, you probably will need to ignore platform requirements when working with Composer, by setting the
appropriate environment variables
or
composerCLI options when runningcomposer install/update/require.Deprecated
August 25, 2025. The component will remain in the SDK until then, but as the Firebase service is deprecated,
this component is also deprecated.
(Dynamic Links Deprecation FAQ)
v7.13.1Compare Source
Fixed
(#888, #908)
v7.13.0Compare Source
Changed
ready yet. It will now be done the first time a component is to be instantiated.
v7.12.0Compare Source
Fixed
WebPushNotificationShape(#895)
Throwableand let the exception converter handle details(#896)
v7.11.0Compare Source
Added
(#890)
v7.10.0Compare Source
Changed
when sending messages to many devices.
(#874)
v7.9.1Compare Source
Changed
psr/http-messagev1.0(#850)
v7.9.0Compare Source
Added
v7.8.0Compare Source
Added
Kreait\Firebase\Factory::withFirestoreClientConfig()to support setting additional options whencreating the Firestore component.
(Documentation)
Kreait\Firebase\Factory::withFirestoreDatabase()to specify the database used when creating the Firestorecomponent.
(Documentation)
v7.7.0Compare Source
Changed
v7.6.0Compare Source
Added
Kreait\Firebase\Exception\Messaging\NotFoundexception now exposes the token that hasn't been foundwith the
token()method.(#825)
v7.5.2Compare Source
Added
v7.5.1Compare Source
Fixed
(#812)
v7.5.0Compare Source
Changed
to the HTTP V1 API
(#804/#805)
The limit prevented these messages to become too large. Since we're now using asynchronous calls to send one
request per message, this limitation is not needed anymore.
(#810)
Removed
Removed obsolete internal classes
Kreait\Firebase\Http\HasSubRequestsKreait\Firebase\Http\HasSubResponsesKreait\Firebase\Http\RequestsKreait\Firebase\Http\RequestWithSubRequestsKreait\Firebase\Http\ResponsesKreait\Firebase\Http\ResponseWithSubResponsesKreait\Firebase\Http\WrappedPsr7ResponseKreait\Firebase\Http\WrappedPsr7RequestKreait\Firebase\Messaging\Http\Request\MessageRequestKreait\Firebase\Messaging\Http\Request\SendMessageKreait\Firebase\Messaging\Http\Request\SendMessageToTokensKreait\Firebase\Messaging\Http\Request\SendMessagesRemoved obsolete internal methods
Kreait\Firebase\Http\Middleware::responseWithSubResponses()Removed obsolete Composer dependency
riverline/multipart-parserv7.4.0Compare Source
Added
when getting and setting a RemoteConfig template.
(Documentation)
Deprecated
Kreait\Firebase\RemoteConfig\ExplicitValueis deprecatedKreait\Firebase\RemoteConfig\DefaultValueshould be regarded as deprecated, it is kept to not create a breaking changesv7.3.1Compare Source
Changed
psr/http-messagev7.3.0Compare Source
Added
to the Firebase APIs through the
HttpClientOptionsclass.(Documentation)
v7.2.1Compare Source
Fixed
(#783)
v7.2.0Compare Source
Added
lcobucci/jwt5.*v7.1.0Compare Source
Added
lcobucci/jwt5.*v7.0.3Compare Source
Fixed
GOOGLE_APPLICATION_CREDENTIALSenvironment variable.(#767)
v7.0.2Compare Source
Fixed
content-availablepayload field was not set correctly when a message containedmessage data at the root level, but not at the APNS config level.
(#762)
v7.0.1Compare Source
Fixed
the
NotFoundexception, which prevented the inspection of further details.(#760)
v7.0.0Compare Source
The most notable change is that you need PHP 8.1/8.2 to use the new version. The language migration of
the SDK introduces breaking changes concerning the strictness of parameter types almost everywhere in
the SDK - however, this should not affect your project in most cases (unless you have used internal classes
directly or by extension).
This release adds many more PHPDoc annotations to support the usage of Static Analysis Tools like PHPStan
and Psalm and moves away from doing runtime checks. It is strongly recommended to use a Static Analysis
Tool and ensure that input values are validated before handing them over to the SDK.
Added features
Notable changes
auto-discovered, provide it by using the
withServiceAccount()method of the Factory or by setting theGOOGLE_APPLICATION_CREDENTIALSenvironment variable. Depending on the environment in which the SDK is running,credentials could be auto-discovered otherwise, for example on GCP or GCE.
See UPGRADE-7.0 for more details on the changes between 6.x and 7.0.
v6.9.6Compare Source
Removed direct dependency to
psr/http-messagev6.9.5Compare Source
Fixed
Cloud Messaging: The APNS
apns-push-typeheader andcontent-availablepayload field were not set correctly when a message contained message data at the root level, but not at the APNS config level. (#762)v6.9.4Compare Source
Fixed
NotFoundexception, which prevented the inspection of further details. (backported from #760)v6.9.3Compare Source
Fixed
When no Service Account was provided, custom token were generated with a direct call to the Google Identity Toolkit, which could create invalid token signatures depending on the environment (e.g. GCE). Now, the provided credentials are used to sign custom tokens via the
Kreait\Firebase\Auth\CustomTokenViaGoogleCredentialsclass. This is an internal class and should not be used directly. (#745)Deprecated
Kreait\Firebase\Auth\CustomTokenViaGoogleIam(internal)v6.9.2Compare Source
Fixed
Removed
"replace": {"symfony/polyfill-mbstring": "*"}fromcomposer.jsonbecause it made SDK updates uninstallable in projects that require other libraries needing it. (#742)v6.9.1Compare Source
Added
Kreait\Firebase\RemoteConfig\Template::conditionNames()to return a list of condition names of a Remote Config templateKreait\Firebase\RemoteConfig\Template::withRemovedCondition(string $name)to remove a condition from a Remote Config template by nameFixed
v6.9.0Compare Source
Added
Kreait\Firebase\RemoteConfig\Template::withRemovedParameter(string $name)to remove an existing parameter from a Remote Config TemplateKreait\Firebase\RemoteConfig\Template::withRemovedParameterGroup(string $name)to remove an existing parameter group from a Remote Config TemplateKreait\Firebase\RemoteConfig\DefaultValue::useInAppDefault()Deprecated
Kreait\Firebase\RemoteConfig\DefaultValue::IN_APP_DEFAULT_VALUEKreait\Firebase\RemoteConfig\DefaultValue::none()Kreait\Firebase\RemoteConfig\DefaultValue::value()v6.8.0Compare Source
Added
Added
Auth::queryUsers()to process subsets of users with more parameters thanAuth::listUsers().listUsers()is a fast and memory-efficient way to process a large list of users.queryUsers()provides sorting and filtering by given fields and pagination. (#727/#728) (Documentation)v6.7.1Compare Source
Fixed
v6.7.0Compare Source
Added
Changed
v6.6.1Compare Source
Fixed
WebPushConfigclass is now more lenient with TTL values, and urgencies are checked if they are valid (#716)AndroidConfigdidn't allow the TTL to benull) (#719)v6.6.0Compare Source
Fixed
AndroidConfigclass is now more lenient with TTL values (#713Added
Kreait\Firebase\Contract\Messaging::BATCH_MESSAGE_LIMITv6.5.1Compare Source
Keys in the data payload of an FCM message were always lower-cased, although they shouldn't have been. (#709)
v6.5.0Compare Source
Added
Changed
v6.4.1Compare Source
Fixed
v6.4.0Compare Source
Added
apns-push-typeheader is set tobackgroundoralertcontent-availablefield is set to1in case of a background message\Kreait\Firebase\Messaging\AndroidConfig::withMinimalNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withLowNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withDefaultNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withHighNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withMaximalNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withUnspecifiedNotificationPriority()\Kreait\Firebase\Messaging\AndroidConfig::withPrivateNotificationVisibility()\Kreait\Firebase\Messaging\AndroidConfig::withPublicNotificationVisibility()\Kreait\Firebase\Messaging\AndroidConfig::withSecretNotificationVisibility()\Kreait\Firebase\Messaging\AndroidConfig::withNotificationVisibility()\Kreait\Firebase\Messaging\ApnsConfig::data()\Kreait\Firebase\Messaging\ApnsConfig::hasHeader()\Kreait\Firebase\Messaging\ApnsConfig::isAlert()\Kreait\Firebase\Messaging\ApnsConfig::toArray()\Kreait\Firebase\Messaging\ApnsConfig::withApsField()\Kreait\Firebase\Messaging\ApnsConfig::withDataField()\Kreait\Firebase\Messaging\ApnsConfig::withHeader()Changed
Kreait\Firebase\Messaging\Notification) can now be created with null values. If a notification has only null values, the notification payload will be removed on serialization as if it wasn't provided at all.\Kreait\Firebase\Messaging\AndroidConfig::withHighPriority(), use\Kreait\Firebase\Messaging\AndroidConfig::withHighMessagePriority()instead\Kreait\Firebase\Messaging\AndroidConfig::withNormalPriority(), use\Kreait\Firebase\Messaging\AndroidConfig::withNormalMessagePriority()instead\Kreait\Firebase\Messaging\AndroidConfig::withPriority(), use\Kreait\Firebase\Messaging\AndroidConfig::withMessagePriority()insteadv6.3.1Compare Source
Fixed
If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.3.0Compare Source
Added
If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.2.0Compare Source
Added
Auth::listUsers(), if the specified batch size exceeds the specified maximum number of to be returned users, the batch size will be reduced from the default 1000. As an example: previously,Auth::listUsers(2)would have downloaded 1000 accounts (the default batch size), but return only the first two. After the change, only two accounts will be downloaded.Kreait\Firebase\Messaging\ApnsConfig::withSubtitle()Changed
beste/jsonKreait\Firebase\Util\JSONv6.1.0Compare Source
Added
UNSUPPORTED_TENANT_OPERATIONerror), but once it is supported, the SDK will need no or just minimal updates. Integration tests are in place to checking for this error so that we know early on when it starts working.Kreait\Firebase\Auth::verifySessionCookie()Kreait\Firebase\Database\Reference::removeChildren()Changed
Kreait\Firebase\Auth\CreateActionLink\ApiRequestKreait\Firebase\Auth\CreateSessionCookie\ApiRequestKreait\Firebase\Auth\SendActionLink\ApiRequestIf you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.0.1Compare Source
Fixed
localIdfield, if presentIf you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.0.0Compare Source
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 🤗.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.