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

Changelog History
Page 10

  • v4.18.0 Changes

    October 29, 2018

    โœจ Enhancements

    • Kreait\Firebase\Messaging\CloudMessage: You can now create a new message with a different target from an existing message by using the withChangedTarget() method (Documentation).
  • v4.17.1 Changes

    October 27, 2018

    ๐Ÿ›  Bugfixes

    • โœ… The signature of an ID Token is now verified even if a prior error occured (thanks @kanoblake for reporting the issue and providing a test case)

    โœจ Enhancements

    • ID Tokens must have a valid "auth_time" claim.
    • ๐Ÿ‘ป Tokens with an invalid signature now throw a Firebase\Auth\Token\Exception\InvalidSignature exception. It extends the previously thrown Firebase\Auth\Token\Exception\InvalidToken, so existing behaviour doesn't change.
    • Service Account related errors are now more fine grained.
  • v4.17.0 Changes

    September 12, 2018

    ๐Ÿ”„ Changes

    • When loading a non-existing/invalid service account file, error details are now included.
    • โšก๏ธ Database rules are now updated with prettified JSON to improve editing them in the web console.
  • v4.16.0 Changes

    August 24, 2018

    ๐Ÿ”‹ Features

    • โž• Added support for Remote Config Template validation (Documentation)
    • โž• Added support for working with the Remote Config History (Documentation)
  • v4.15.1 Changes

    August 07, 2018

    ๐Ÿ›  Bugfixes

    • When on GCP/GCE, the environment was overriding an explicitely injected service account for API request authentication.
  • v4.15.0 Changes

    August 05, 2018

    ๐Ÿ”‹ Features

    • ๐Ÿ”ง The SDK can now be used configuration-free on Google Cloud Engine.
  • v4.14.0 Changes

    August 05, 2018

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ Kreait\Firebase\Messaging\CloudMessage can handle all currently supported types of messages and supersedes the specialized message types.

    ๐Ÿ—„ Deprecations

    • Kreait\Firebase\Messaging\MessageToTopic::fromArray()
      • Use Kreait\Firebase\Messaging\CloudMessage::fromArray()
    • Kreait\Firebase\Messaging\MessageToTopic::create($topic)
      • Use Kreait\Firebase\Messaging\CloudMessage::withTarget('topic', $topic)
    • Kreait\Firebase\Messaging\ConditionalMessage::fromArray()
      • Use Kreait\Firebase\Messaging\CloudMessage::fromArray()
    • Kreait\Firebase\Messaging\ConditionalMessage::create($condition)
      • Use Kreait\Firebase\Messaging\CloudMessage::withTarget('condition', $condition)
    • Kreait\Firebase\Messaging\MessageToRegistrationToken::fromArray()
      • Use Kreait\Firebase\Messaging\CloudMessage::fromArray()
    • Kreait\Firebase\Messaging\MessageToRegistrationToken::create($token)
      • Use Kreait\Firebase\Messaging\CloudMessage::withTarget('token', $token)
  • v4.13.3 Changes

    July 25, 2018

    ๐Ÿ›  Bugfixes

    • 0๏ธโƒฃ Sanitizing the project ID by default changed the output of the method \Kreait\Firebase\ServiceAccount::getProjectId(), so a new method \Kreait\Firebase\ServiceAccount::getSanitizedProjectId() is now used instead.
  • v4.13.2 Changes

    July 25, 2018

    ๐Ÿ›  Bugfixes

    • ๐Ÿ”ง Project IDs that cannot be used for database URIs directly are sanitized when configuring a Service Account (#228)

    Non-breaking changes

    • When publishing an outdated Remote Config, Firebase previously returned an "OPERATION ABORTED" error, resulting in a Kreait\Firebase\Exception\RemoteConfig\OperationAborted exception. Firebase has changed the error to "VERSION MISMATCH", which now results in a Kreait\Firebase\Exception\RemoteConfig\VersionMismatch exception. The new exception inherits from the old exception, so no code changes are required.
    • ๐Ÿ‘ป A Kreait\Firebase\Exception\RemoteConfigException now includes the full error as returned by the Firebase API.
  • v4.13.1 Changes

    July 17, 2018

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixed generating a random child key with $reference->push()->getKey() (#222)
    • ๐Ÿ›  Fixed deleting a reference by setting it to null (#222)