All Versions
163
Latest Version
Avg Release Cycle
23 days
Latest Release
-

Changelog History
Page 1

  • v7.0.0 Changes

    The most notable change is that you need PHP 8.1/8.2 to use the new version. The language migration of the SDK introduces breaking changes concerning the strictness of parameter types almost everywhere in the SDK - however, this should not affect your project in most cases (unless you have used internal classes directly or by extension).

    ๐Ÿš€ This release adds many more PHPDoc annotations to support the usage of Static Analysis Tools like PHPStan ๐Ÿšš and Psalm and moves away from doing runtime checks. It is strongly recommended to use a Static Analysis Tool and ensure that input values are validated before handing them over to the SDK.

    Notable changes

    • ๐Ÿšš 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 using the withServiceAccount() method of the Factory or by setting the GOOGLE_APPLICATION_CREDENTIALS environment variable. Depending on the environment in which the SDK is running, credentials could be auto-discovered otherwise, for example on GCP or GCE.

    โฌ†๏ธ See [UPGRADE-7.0](UPGRADE-7.0.md) for more details on the changes between 6.x and 7.0.

  • v6.9.2 Changes

    October 17, 2022

    ๐Ÿ›  Fixed

    • โœ‚ Removed "replace": {"symfony/polyfill-mbstring": "*"} from composer.json because it made SDK updates uninstallable in projects that require other libraries needing it. (#742
  • v6.9.1 Changes

    September 26, 2022

    โž• Added

    • โž• Added Kreait\Firebase\RemoteConfig\Template::conditionNames() to return a list of condition names of a Remote Config template
    • โž• Added Kreait\Firebase\RemoteConfig\Template::withRemovedCondition(string $name) to remove a condition from a Remote Config template by name

    ๐Ÿ›  Fixed

    • HTTP Proxy settings were not applied to the Auth Token Handler. Because of this, outgoing, proxied requests couldn't be authenticated, effectively breaking the SDK. (#735
  • v6.9.0 Changes

    September 16, 2022

    โž• Added

    • โž• Added support for Remote Config Personalization (#731/#733)
      • Note: Personalization (currently) can not be added programmatically. The values can only be read and removed from a Remote Config Template. To add Personalization, use the Firebase Web Console.
    • โž• Added Kreait\Firebase\RemoteConfig\Template::withRemovedParameter(string $name) to remove an existing parameter from a Remote Config Template
    • โž• Added method Kreait\Firebase\RemoteConfig\Template::withRemovedParameterGroup(string $name) to remove an existing parameter group from a Remote Config Template
    • โž• Added Kreait\Firebase\RemoteConfig\DefaultValue::useInAppDefault()

    ๐Ÿ—„ Deprecated

    • Kreait\Firebase\RemoteConfig\DefaultValue::IN_APP_DEFAULT_VALUE
    • 0๏ธโƒฃ Kreait\Firebase\RemoteConfig\DefaultValue::none()
    • 0๏ธโƒฃ Kreait\Firebase\RemoteConfig\DefaultValue::value()
  • v6.8.0 Changes

    August 20, 2022

    โž• Added

    • โž• Added Auth::queryUsers() to process subsets of users with more parameters than Auth::listUsers(). listUsers() is a fast and memory-efficient way to process a large list of users. queryUsers() provides sorting and filtering by given fields and pagination. (#727/#728) (Documentation)
  • v6.7.1 Changes

    August 17, 2022

    ๐Ÿ›  Fixed

    • Limits and filters were not applied to Realtime Database Queries (#725)
  • v6.7.0 Changes

    July 28, 2022

    โž• Added

    • โž• Added support for the Firebase Realtime Database Emulator. (#722) (Documentation)

    ๐Ÿ”„ Changed

    • โšก๏ธ The default HTTP Client options have been updated (#723)
      • Connect Timeout from โˆž to 15 seconds
      • Timeout from โˆž to 30 seconds
  • v6.6.1 Changes

    July 12, 2022

    ๐Ÿ›  Fixed

    • The WebPushConfig class is now more lenient with TTL values, and urgencies are checked if they are valid (#716)
    • The AndroidConfig didn't allow the TTL to be null) (#719)
  • v6.6.0 Changes

    July 07, 2022

    ๐Ÿ›  Fixed

    • The AndroidConfig class is now more lenient with TTL values (#713)

    โž• Added

    • The maximum amount of messages that can be sent in batches can be accessed Kreait\Firebase\Contract\Messaging::BATCH_MESSAGE_LIMIT

    ๐Ÿ—„ Deprecated

    • Kreait\Firebase\Messaging\Http\Request\SendMessages::MAX_AMOUNT_OF_MESSAGES
    • Kreait\Firebase\Messaging\Http\Request\SendMessageToTokens::MAX_AMOUNT_OF_TOKENS
  • v6.5.1 Changes

    June 27, 2022

    ๐Ÿ›  Fixed

    • ๐Ÿ›ฐ Keys in the data payload of an FCM message were always lower-cased, although they shouldn't have been. (#709