packagist kreait/firebase-php 4.28.0

latest releases: 7.x-dev, dev-dependabot/github_actions/codecov/codecov-action-4.6.0, dev-remove-reliance-on-the-cloud-message-class...
5 years ago

Added

General

  • The SDK is now able to handle connection issues more gracefully. The following exceptions will now be thrown when a connection could not be established:
    • Kreait\Firebase\Auth\ApiConnectionFailed
    • Kreait\Firebase\Database\ApiConnectionFailed
    • Kreait\Firebase\Messaging\ApiConnectionFailed
    • Kreait\Firebase\RemoteConfig\ApiConnectionFailed

Cloud Messaging

  • It is now possible to retrieve extended information about application instances related to a registration token, including the topics an application instance/registration token is subscribed to.
    (Documentation)

Changed

General

  • Each component now has its own catchable exception interface, e.g. Kreait\Firebase\Exception\AuthException or Kreait\Firebase\Exception\DatabaseException.
  • The following exceptions are now interfaces implemented by specific errors instead of extensible classes:
    • Kreait\Firebase\Exception\AuthException
    • Kreait\Firebase\Exception\DatabaseException (new)
    • Kreait\Firebase\Exception\MessagingException
    • Kreait\Firebase\Exception\RemoteConfigException
  • Kreait\Firebase\Auth\CustomTokenViaGoogleIam is no longer using deprecated methods to build a custom token.
  • Getting requests and responses from exceptions is now considered deprecated. If you want to debug HTTP requests, use the Firebase factory to debug the HTTP client via configuration or an additional middleware.

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.