Skip to content

7.16.0

Latest
Compare
Choose a tag to compare
@jeromegamez jeromegamez released this 17 Nov 22:14
· 21 commits to 7.x since this release
7.16.0
a366dfc

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 the CloudMessage class as a message builder
  • Deprecated the CloudMessage::withTarget() method, use the new toToken(), toTopic() or toCondition() methods instead

Deprecated

  • Kreait\Firebase\Messaging\CloudMessage::withTarget()
  • Kreait\Firebase\Messaging\CloudMessage::withChangedTarget()
  • Kreait\Firebase\Messaging\CloudMessage::target()
  • Kreait\Firebase\Messaging\CloudMessage::hasTarget()