Releases: kreait/firebase-php
7.16.0
Added
- It is now possible to override the Guzzle HTTP handler by using the
HttpClientOptions::withGuzzleHandler()
method. (#956)
Changed
- The Messaging component doesn't rely on the
CloudMessage
class for message handling anymore. If you provide a message as an array and it has an error, the Firebase API will report it. You can still use theCloudMessage
class as a message builder - Deprecated the
CloudMessage::withTarget()
method, use the newtoToken()
,toTopic()
ortoCondition()
methods instead
Deprecated
Kreait\Firebase\Messaging\CloudMessage::withTarget()
Kreait\Firebase\Messaging\CloudMessage::withChangedTarget()
Kreait\Firebase\Messaging\CloudMessage::target()
Kreait\Firebase\Messaging\CloudMessage::hasTarget()
7.15.0
Added support for rollout parameter values in Remote Config Templates. (#923), (#927)
Please note that it's not (yet?) possible to create rollouts programmatically via the Firebase API. This means that 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.
7.14.0
Added
Added support for PHP 8.4.
Note
While the SDK supports PHP 8.4, not all dependencies support it. If you want to use the SDK with PHP 8.4, you probably will need to ignore platform requirements when working with Composer, by setting the appropriate environment variables or composer
CLI options when running composer install/update/require
.
Deprecated
Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on 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)
7.13.1
7.13.0
Changed
- Service Account auto-discovery was done on instantiation of the Factory, causing it to fail when credentials weren't ready yet. It will now be done the first time a component is to be instantiated.
7.12.0
7.11.0
7.10.0
7.9.1
7.9.0
Added support for PHP 8.3