Skip to content

Releases: beste/firebase-bundle

6.0.0

17 Feb 00:25
Immutable release. Only release title and notes can be modified.
6.0.0
2db0e8a

Choose a tag to compare

  • Dropped support for PHP versions older than 8.3 to match kreait/firebase-php 8.x
  • Updated the bundle to support kreait/firebase-php 8.x
  • Removed Dynamic Links support because it was removed from the Firebase Admin SDK
  • Removed HTTP request logger configuration options because the underlying SDK hooks were removed
  • Added support for per-project http_client_options service configuration
  • Fixed project option leakage by isolating project factory instances per configured Firebase project
  • Removed the container service Kreait\Firebase\Factory

Migration: HTTP request logging

If you previously used http_request_logger or http_request_debug_logger,
migrate to a Kreait\Firebase\Http\HttpClientOptions service and wire your logging through Guzzle middleware.

# config/services.yaml
services:
  App\Firebase\HttpClientOptionsFactory: ~

  app.firebase.http_client_options:
    class: Kreait\Firebase\Http\HttpClientOptions
    factory: ['@App\Firebase\HttpClientOptionsFactory', 'create']
<?php

namespace App\Firebase;

use Kreait\Firebase\Http\HttpClientOptions;

final class HttpClientOptionsFactory
{
    public function __construct(private readonly LoggingMiddleware $loggingMiddleware)
    {
    }

    public function create(): HttpClientOptions
    {
        return HttpClientOptions::default()
            ->withGuzzleMiddleware($this->loggingMiddleware);
    }
}
# config/packages/firebase.yaml
kreait_firebase:
  projects:
    my_project:
      http_client_options: 'app.firebase.http_client_options'

Migration: custom DI integrations

If you customized bundle internals with compiler passes or direct container lookups:

  • Kreait\Firebase\Factory is no longer registered as a container service.
  • Project factories are now per project (kreait_firebase.<project>.project_factory) instead of using only Kreait\Firebase\Symfony\Bundle\DependencyInjection\Factory\ProjectFactory.

If your app modified the ProjectFactory definition directly, update your code to target the per-project service id(s).

5.7.0

29 Nov 23:38
Immutable release. Only release title and notes can be modified.
5.7.0
18f86d2

Choose a tag to compare

Added support for PHP 8.5 and Symfony 8 (#74)

5.6.0

15 Jan 23:28
5.6.0
6919fae

Choose a tag to compare

Make services lazy to instantiate them only when they are actually used (#66)

5.5.0

16 Oct 19:08
5.5.0
2fcd7d0

Choose a tag to compare

Added support for PHP 8.4 (#64)

5.4.0

08 Jul 08:56
5.4.0
1a88de2

Choose a tag to compare

Added the ability to override the project id (#63)

5.3.0

28 May 21:57
5.3.0
f0d5e0a

Choose a tag to compare

Added Support for overriding the ProjectFactory (#60)

5.2.0

25 Jan 11:15
5.2.0
d00f115

Choose a tag to compare

Added Support for AppCheck (#54)

5.1.1

01 Dec 04:17
5.1.1
aef5606

Choose a tag to compare

Actually support Symfony 7 (#53)

5.1.0

30 Nov 23:47
5.1.0
cd4e7b0

Choose a tag to compare

Added support for PHP 8.3 and Symfony 7 (#52)

5.0.0

13 Jan 10:29
90d2a2e

Choose a tag to compare

  • Upgraded kreait/firebase-php from 6.x to 7.x
  • Dropped support for PHP <8.1 (the PHP SDK requires PHP 8.1/8.2)