Skip to content

4.29.0

Compare
Choose a tag to compare
@jeromegamez jeromegamez released this 13 Aug 09:06
4.29.0
509278d

Added

Cloud Messaging

  • Added Kreait\Firebase\Messaging::sendAll() to send up to 100 messages to multiple targets (tokens, topics, and conditions) in one request. (Documentation)
  • A condition will now ensure that no more than five topics are provided. Previously, the Firebase REST API would have rejected the message with a non-specific "Invalid condition expression provided."

Remote Config

  • The Remote Config history can now be filtered. (Documentation)
  • A published Remote Config template now contains a version that can be retrieved with Kreait\Firebase\RemoteConfig\Template::getVersion()
  • The parameters of a Remote Config template can now be retrieved with Kreait\Firebase\RemoteConfig\Template::getParameters()

Changed

Cloud Messaging

  • Kreait\Firebase\Messaging::sendMulticast() now makes full use of the FCM batch API, resulting in substantial performance improvements.
  • Values passed to Kreait\Firebase\Messaging\MessageData::withData() will now be cast to strings instead of throwing InvalidArgument exceptions when they are not strings.