Releases: kreait/firebase-php
Releases · kreait/firebase-php
3.2.1
Reverted Kreait\Firebase\Factory
deprecations introduced in 3.2.0
3.2.0
- Added user management features (Documentation)
- Deprecated
Kreait\Firebase\Factory::withServiceAccount()
, useKreait\Firebase\Factory::withServiceAccountAndApiKey()
instead - Deprecated
Kreait\Firebase::asUserWithClaims()
, useKreait\Firebase\Auth::getUser()
andKreait\Firebase::asUser()
instead - Deprecated
Kreait\Firebase::getTokenHandler()
, useKreait\Firebase\Auth::createCustomToken()
andKreait\Firebase\Auth::verifyIdToken()
instead. - Added migration instructions for deprecated methods, see Documentation
3.1.2
3.1.1
Fixed the error that Service Account Autodiscovery was not working when no Discoverer was given.
3.1.0
- Deprecated
Kreait\Firebase\Factory::withCredentials()
(Documentation) - Extracted Service Account discovery to a distinct component (Documentation)
- Added
Kreait\Firebase\ServiceAccount::discover()
- You can now add your own discovery methods (Documentation)
- Added
- Updated and restructured the documentation
1.2.2
Replace deprecated method call when creating a Google HTTP Client
3.0.2
- Added additional checks to ensure given credentials are valid and readable
- When using the Factory and passing the path to an invalid credentials file, the
factory would continue to try to get the credentials e.g. from one of the
environment variables. This has now changed: the factory immediately
quits when given invalid credentials.
3.0.1
When the credentials file has not been found, a CredentialsNotFound
exception is thrown, including the information which paths have been tried.
3.0.0
- Moved all classes inside the
Kreait
namespace to avoid possible conflicts with official Firebase PHP libraries using theFirebase
namespace. - Removed database secret authentication, as it has been deprecated by Firebase.
Please visit the Migration section in the docs to see which changes in your code are required when upgrading from 2.x to 3.0.
2.3.1
Fixes the problem that it wasn't possible to use startAt
/endAt
/equalTo
with string values.