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()