packagist kreait/firebase-php 4.29.0

latest releases: 7.x-dev, dev-dependabot/github_actions/codecov/codecov-action-5.0.0, dev-dependabot/github_actions/actions/cache-4.1.2...
5 years ago

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.

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.