7.0.1 - 2023-01-24
- 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)
7.0.0 - 2022-12-20
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 support for verifying Firebase App Check Tokens. (#747)
- 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 theGOOGLE_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.
https://github.com/kreait/firebase-php/blob/6.x/CHANGELOG.md