Skip to content

Releases: kreait/firebase-php

3.1.1

17 Jun 21:24
3.1.1
c47faab
Compare
Choose a tag to compare

Fixed the error that Service Account Autodiscovery was not working when no Discoverer was given.

3.1.0

10 Jun 14:01
3.1.0
27bcd69
Compare
Choose a tag to compare
  • 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)
  • Updated and restructured the documentation

1.2.2

09 Jun 09:50
1.2.2
251f6af
Compare
Choose a tag to compare

Replace deprecated method call when creating a Google HTTP Client

3.0.2

08 Jun 17:35
3.0.2
fa863a5
Compare
Choose a tag to compare
  • 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

25 Apr 10:07
3.0.1
f7dcbb2
Compare
Choose a tag to compare

When the credentials file has not been found, a CredentialsNotFound exception is thrown, including the information which paths have been tried.

3.0.0

22 Apr 08:37
3.0.0
8beec02
Compare
Choose a tag to compare
  • Moved all classes inside the Kreait namespace to avoid possible conflicts with official Firebase PHP libraries using the Firebase 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

12 Apr 04:43
2.3.1
1206702
Compare
Choose a tag to compare

Fixes the problem that it wasn't possible to use startAt/endAt/equalTo with string values.

2.3.0

06 Apr 09:18
2.3.0
6f48979
Compare
Choose a tag to compare

Allow the usage of a custom token handler when creating a new Firebase instance by adding the factory method withTokenHandler(\Firebase\Auth\Token\Handler $handler).

2.2.0

14 Mar 21:25
2.2.0
f429fdc
Compare
Choose a tag to compare

Introduces Firebase\Factory to create Firebase instances, and deprecate the previous static instantiation methods on the Firebase class.

It is now possible to omit an explicit JSON credentials file,

  • if one of the following environment variables is set with the path to the credentials file:
    • FIREBASE_CREDENTIALS
    • GOOGLE_APPLICATION_CREDENTIALS
  • or if the file is located at
    • ~/.config/gcloud/application_default_credentials.json (Linux, MacOS)
    • $APPDATA/gcloud/application_default_credentials.json (Windows)

The documentation at http://firebase-php.readthedocs.io has been updated

The following methods have been deprecated and will trigger a deprecation warning when used:

  • Firebase::fromServiceAccount()
  • Firebase::fromDatabaseUriAndSecret()

2.1.3

23 Feb 20:34
2.1.3
673290b
Compare
Choose a tag to compare

Ensure that guzzlehttp/psr7 1.4.0 is not used, as it breaks backwards compatibility (see guzzle/psr7#138)