chore(deps): update dependency kreait/firebase-php to v7 #6314
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.20
->^7.0
Release Notes
kreait/firebase-php
v7.3.0
Compare Source
Added
to the Firebase APIs through the
HttpClientOptions
class.(Documentation)
v7.2.1
Compare Source
Fixed
(#783)
v7.2.0
Compare Source
Added
lcobucci/jwt
5.*v7.1.0
Compare Source
Added
lcobucci/jwt
5.*v7.0.3
Compare Source
Fixed
GOOGLE_APPLICATION_CREDENTIALS
environment variable.(#767)
v7.0.2
Compare Source
Fixed
content-available
payload field was not set correctly when a message containedmessage data at the root level, but not at the APNS config level.
(#762)
v7.0.1
Compare Source
Fixed
the
NotFound
exception, which prevented the inspection of further details.(#760)
v7.0.0
Compare 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_CREDENTIALS
environment 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.5
Compare Source
Fixed
Cloud Messaging: The APNS
apns-push-type
header andcontent-available
payload 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.4
Compare Source
Fixed
NotFound
exception, which prevented the inspection of further details. (backported from #760)v6.9.3
Compare 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\CustomTokenViaGoogleCredentials
class. This is an internal class and should not be used directly. (#745)Deprecated
Kreait\Firebase\Auth\CustomTokenViaGoogleIam
(internal)v6.9.2
Compare Source
Fixed
Removed
"replace": {"symfony/polyfill-mbstring": "*"}
fromcomposer.json
because it made SDK updates uninstallable in projects that require other libraries needing it. (#742)v6.9.1
Compare 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.0
Compare 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_VALUE
Kreait\Firebase\RemoteConfig\DefaultValue::none()
Kreait\Firebase\RemoteConfig\DefaultValue::value()
v6.8.0
Compare 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.1
Compare Source
Fixed
v6.7.0
Compare Source
Added
Changed
v6.6.1
Compare Source
Fixed
WebPushConfig
class is now more lenient with TTL values, and urgencies are checked if they are valid (#716)AndroidConfig
didn't allow the TTL to benull
) (#719)v6.6.0
Compare Source
Fixed
AndroidConfig
class is now more lenient with TTL values (#713Added
Kreait\Firebase\Contract\Messaging::BATCH_MESSAGE_LIMIT
v6.5.1
Compare Source
Keys in the data payload of an FCM message were always lower-cased, although they shouldn't have been. (#709)
v6.5.0
Compare Source
Added
Changed
v6.4.1
Compare Source
Fixed
v6.4.0
Compare Source
Added
apns-push-type
header is set tobackground
oralert
content-available
field is set to1
in 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.1
Compare Source
Fixed
If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.3.0
Compare Source
Added
If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.2.0
Compare 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/json
Kreait\Firebase\Util\JSON
v6.1.0
Compare Source
Added
UNSUPPORTED_TENANT_OPERATION
error), 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\ApiRequest
Kreait\Firebase\Auth\CreateSessionCookie\ApiRequest
Kreait\Firebase\Auth\SendActionLink\ApiRequest
If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.0.1
Compare Source
Fixed
localId
field, if presentIf you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏
v6.0.0
Compare 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.