packagist kreait/firebase-php 4.42.0

latest releases: 7.x-dev, 7.10.0, dev-dependabot/github_actions/dependabot/fetch-metadata-2.1.0...
4 years ago
  • User records now include the password salt and tenant ID, if available
  • Reworked credentials auto-discovery to use the discovery already provided by Google's libraries, deprecating the previous auto-discovery methods. It is still possible to disable auto-discovery.
  • Passing custom HTTP Client options and middlewares has been deprecated. The SDK already reacts to errors and customizations might lead to unexpected behavior.
  • If you want to debug HTTP requests, add ->withEnabledDebug() to the Factory configuration chain. (Documentation)
  • If you need to configure a proxy, use ->withHttpProxy($proxy). (Documentation)

Added

  • Kreait\Firebase\Factory::withProjectId(string $projectId): self
  • Kreait\Firebase\Factory::withClientEmail(string $clientEmail): self
  • Kreait\Firebase\Factory::withEnabledDebug(): self
  • Kreait\Firebase\Factory::withHttpProxy(string $proxy): self

Deprecations

  • Kreait\Firebase\Factory::withHttpClientConfig()
  • Kreait\Firebase\Factory::withHttpClientMiddlewares()
  • Kreait\Firebase\ServiceAccount::discover()
  • Kreait\Firebase\ServiceAccount::fromArray()
  • Kreait\Firebase\ServiceAccount::fromJson()
  • Kreait\Firebase\ServiceAccount::fromJsonFile()
  • Kreait\Firebase\ServiceAccount::getClientId()
  • Kreait\Firebase\ServiceAccount::getFilePath()
  • Kreait\Firebase\ServiceAccount::getSanitizedProjectId()
  • Kreait\Firebase\ServiceAccount::hasClientId()
  • Kreait\Firebase\ServiceAccount::hasPrivateKey()
  • Kreait\Firebase\ServiceAccount::withClientEmail()
  • Kreait\Firebase\ServiceAccount::withClientId()
  • Kreait\Firebase\ServiceAccount::withPrivateKey()
  • Kreait\Firebase\ServiceAccount::withProjectId()
  • Kreait\Firebase\ServiceAccount::withProjectIdAndServiceAccountId()
  • Kreait\Firebase\ServiceAccount\Discoverer
  • Kreait\Firebase\ServiceAccount\Discovery\FromEnvironmentVariable
  • Kreait\Firebase\ServiceAccount\Discovery\FromGoogleWellKnownFile
  • Kreait\Firebase\ServiceAccount\Discovery\FromPath
  • Kreait\Firebase\ServiceAccount\Discovery\OnGoogleCloudPlatform

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.