- Added support for PHP 8.4
- Revert making the Service provider deferrable. The auto discovery problem is hopefully still fixed because of the change in the latest version of the SDK.
- Service Provider Registration is now deferred. This should fix the credentials auto discovery in Laravel's package discovery stage (#210)
- Added support for Laravel 11 (#214)
- Enabled using
symfony/cache:^7
- Added support for overriding the name of the Firestore Default Database (#209)
- Added support for PHP 8.3
- Added support for configuration of credentials with a config array (#202)
- Enabled injecting middlewares into the Firebase API client (#187)
- Added AppCheck support (#174)
- Added support for Laravel 10
- Upgraded
kreait/firebase-php
from 6.x to 7.x - Dropped support for PHP <8.1, Laravel <9.0
- Dropped support for Lumen (it is not recommended anymore to use it)
- 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 setting the
GOOGLE_APPLICATION_CREDENTIALS
environment variable or by modifying the package configuration.
- Bumped dependencies, the minimum version of the underlying SDK is now 6.7.0.
- Updated comment in
config/firebase.php
to reference the default HTTP timeout- With
kreait/firebase
6.7.0, the default was changed from ∞ to 30 seconds.
- With
- Added support for Laravel 9 (#118)
This is a release with breaking changes. Please review the following changes and adapt your application where needed.
- Added support for
kreait/firebase-php
^6.0 - Dropped support for
kreait/firebase-php
<6.0 - Dropped support for Laravel/Lumen <8.0
- Removed deprecated Facades - use the
Kreait\Laravel\Firebase\Facades\Firebase
facade insteadKreait\Laravel\Firebase\Facades\FirebaseAuth
Kreait\Laravel\Firebase\Facades\FirebaseDatabase
Kreait\Laravel\Firebase\Facades\FirebaseDynamicLinks
Kreait\Laravel\Firebase\Facades\FirebaseFirestore
Kreait\Laravel\Firebase\Facades\FirebaseMessaging
Kreait\Laravel\Firebase\Facades\FirebaseRemoteConfig
Kreait\Laravel\Firebase\Facades\FirebaseStorage
- Removed support deprecated config options and environment variables
$config['debug']
/FIREBASE_ENABLE_DEBUG
, use thehttp_debug_log_channel
config option instead
- Added support for caching the authentication tokens used for connecting to the Firebase servers.
- Ensure support for all PHP 8.x versions (#110)
- Support for Database Auth Variable Overrides (#93)
- Type-hints have been updated to point to the interfaces that the underlying SDK provides since more recent versions.
- Bumped
kreait/firebase-php
dependency to^5.24
(Database Auth Variable Overrides are supported since5.22
)
- Support for tenant awareness via
FIREBASE_AUTH_TENANT_ID
environment variable orfirebase.projects.*.auth.tenant_id
config variable. (#79) (thanks to @sl0wik)
- Support for multiple firebase projects (thanks to @dododedodonl).
\Kreait\Laravel\Firebase\Facades\Firebase
facade- HTTP Client Options are now configurable (thanks to @kakajansh)
- config/firebase.php has a new format to support multiple projects
- Use of
FirebaseAuth
,FirebaseDatabase
,FirebaseDynamicLinks
,FirebaseFirestore
,FirebaseMessaging
,FirebaseRemoteConfig
andFirebaseStorage
facades
- Dropped support Laravel 5.8 and Lumen 5.8
- PHP
^8.0
is now an allowed (but untested) PHP version
(no changes, I just somehow mis-tagged 2.3.0 🙈)
- Added support for Laravel 8.x
- It is now possible to log HTTP requests and responses to the Firebase APIs to existing log channels.
See the "logging" section in
config/firebase.php
for the configuration options and the SDK Logging Documentation for more information.
- The default branch of the GitHub repository has been renamed from
master
tomain
- if you're usingdev-master
as a version constraint in yourcomposer.json
, please update it todev-main
.
- Add config option to debug HTTP requests made directly from the SDK. It is disabled by
default and can be enabled with the
FIREBASE_ENABLE_DEBUG=true
environment variable or by adding'debug' => true
toconfig/firebase.php
.
- Update
kreait/firebase
to^5.0
- Updated
kreait/firebase-php
to^4.40.1
- Added support for Laravel/Lumen
^7.0
- Updated
kreait/firebase-php
to^4.40.0
- A relative path to a credentials file is now resolved with
base_path()
to address issues on Windows systems #7
- Added a notice about not using the factory pattern described in the SDK documentation when using this package. (Although not a code change, adding it in the changelog to enhance visibility)
- Added support for Lumen
- Updated
kreait/firebase-php
to^4.38.1
- Updated
kreait/firebase-php
to^4.35.0
- Added Firestore to the Service Provider and as
FirebaseFirestore
facade
- Updated
kreait/firebase-php
to^4.32.0
- Added Dynamic Links to the Service Provider and as
FirebaseDynamicLinks
facade - Added
FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN
as environment variable
To update the package, please re-publish its configuration
php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=config
or add the following section to config/firebase.php
:
<?php
return [
// ...
'dynamic_links' => [
'default_domain' => env('FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN')
],
// ...
];
- Made clear that this package needs Laravel 5.8 or higher.
- Updated
kreait/firebase-php
to^4.30.1
- Required
illuminate/contracts
andilluminate/support
- Initial release