Skip to content

Releases: kreait/firebase-php

7.16.0

17 Nov 22:14
7.16.0
a366dfc
Compare
Choose a tag to compare

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

7.15.0

10 Sep 22:45
7.15.0
4dbbc88
Compare
Choose a tag to compare

Added support for rollout parameter values in Remote Config Templates. (#923), (#927)

Please note that it's not (yet?) possible to create rollouts programmatically via the Firebase API. This means that you have to manually create a rollout in the Firebase console to be able to reference it in the Remote Config template. Rollout IDs are named rollout_<number>, and you can find the ID in the URL after clicking on a rollout in the list.

7.14.0

20 Aug 22:33
7.14.0
e4b0c0c
Compare
Choose a tag to compare

Added

Added support for PHP 8.4.

Note

While the SDK supports PHP 8.4, not all dependencies support it. If you want to use the SDK with PHP 8.4, you probably will need to ignore platform requirements when working with Composer, by setting the appropriate environment variables or composer CLI options when running composer install/update/require.

Deprecated

Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. The component will remain in the SDK until then, but as the Firebase service is deprecated, this component is also deprecated. (Dynamic Links Deprecation FAQ)

7.13.1

02 Jul 20:54
7.13.1
0849421
Compare
Choose a tag to compare

Fixed

Requests to the FCM APIs will not use HTTP/2 if the environment doesn't support them (#888, #908)

7.13.0

23 Jun 08:42
7.13.0
94f394b
Compare
Choose a tag to compare

Changed

  • Service Account auto-discovery was done on instantiation of the Factory, causing it to fail when credentials weren't ready yet. It will now be done the first time a component is to be instantiated.

7.12.0

26 May 12:46
7.12.0
6535aee
Compare
Choose a tag to compare

Fixed

  • Fix WebPushNotification Shape (#895)
  • Catch Throwable and let the exception converter handle details (#896)

7.11.0

15 May 23:06
7.11.0
022c3e8
Compare
Choose a tag to compare

It is now possible to get a Remote Config template by its version number. (#890)

7.10.0

25 Apr 10:31
7.10.0
a0e50e4
Compare
Choose a tag to compare

FCM Messages are now sent asynchronously using HTTP connection pooling with HTTP/2. This should improve performance when sending messages to many devices. (#874)


If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

7.9.1

04 Dec 06:06
7.9.1
c3b30b9
Compare
Choose a tag to compare

Re-enabled the use of psr/http-message v1.0 (#850)

7.9.0

30 Nov 23:22
7.9.0
1a66360
Compare
Choose a tag to compare

Added support for PHP 8.3