Skip to content

Releases: kreait/firebase-php

7.2.1

03 Apr 23:07
7.2.1
36e8065
Compare
Choose a tag to compare

Fixed a user's MFA information not being correctly parsed (#783)

7.2.0

24 Mar 13:39
7.2.0
94a32e6
Compare
Choose a tag to compare

Added support for the Firebase Auth Emulator when using lcobucci/jwt 5.*

7.1.0

28 Feb 23:41
9139a6b
Compare
Choose a tag to compare

Added support for lcobucci/jwt 5.*

7.0.3

13 Feb 01:00
b67da5a
Compare
Choose a tag to compare

Fixed

Restored support for using a JSON string in the GOOGLE_APPLICATION_CREDENTIALS environment variable. (#767)

7.0.2

27 Jan 09:55
eb3f48d
Compare
Choose a tag to compare

Fixed

Cloud Messaging: The APNS content-available payload field was not set correctly when a message contained message data at the root level, but not at the APNS config level. (#762)

6.9.5

27 Jan 09:39
e64ce87
Compare
Choose a tag to compare

Fixed

Cloud Messaging: The APNS apns-push-type header and content-available payload field were not set correctly when a message contained message data at the root level, but not at the APNS config level. (#762)

7.0.1

24 Jan 00:20
b63ef02
Compare
Choose a tag to compare

Fixed

  • When trying to work with unknown FCM tokens, errors returned from the Messaging REST API were not passed to the NotFound exception, which prevented the inspection of further details. (#760)

6.9.4

24 Jan 00:10
b7ea6e0
Compare
Choose a tag to compare

Fixed

  • When trying to work with unknown FCM tokens, errors returned from the Messaging REST API were not passed to the NotFound exception, which prevented the inspection of further details. (backported from #760)

5.26.4

24 Jan 00:01
01c129e
Compare
Choose a tag to compare

Fixed

  • When trying to work with unknown FCM tokens, errors returned from the Messaging REST API were not passed to the NotFound exception, which prevented the inspection of further details. (backported from #760)

7.0.0

20 Dec 17:07
f068f0b
Compare
Choose a tag to compare

The most notable change is that you need PHP 8.1/8.2 to use the new version. The language migration of the SDK introduces breaking changes concerning the strictness of parameter types almost everywhere in the SDK. However, this should not affect your project in most cases (unless you have used internal classes directly or by extension).

This release adds many more PHPDoc annotations to support the usage of Static Analysis Tools like PHPStan and Psalm and moves away from doing runtime checks. It is strongly recommended to use a Static Analysis Tool and ensure that input values are validated before handing them over to the SDK.

Added features

  • Added support for verifying Firebase App Check Tokens. (#747)

Notable changes

  • The ability to disable credentials auto-discovery has been removed. If you don't want a service account to be auto-discovered, provide it by using the withServiceAccount() method of the Factory or by setting the GOOGLE_APPLICATION_CREDENTIALS environment variable. Depending on the environment in which the SDK is running, credentials could be auto-discovered otherwise, for example, on GCP or GCE.

See UPGRADE-7.0 for more details on the changes between 6.x and 7.0.