Releases: firebase/firebase-admin-python
Releases · firebase/firebase-admin-python
Firebase Admin Python SDK v4.3.0
Firebase Admin Python SDK v4.2.0
Firebase Admin Python SDK v4.1.0
Firebase Admin Python SDK v4.0.1
Firebase Admin Python SDK v4.0.0
Breaking Changes
Bug Fixes
- fix(fcm): Passing params as keyword arguments to googleapiclient (#414)
- fix(fcm): Convert event_time to UTC (#403)
- fix: Setting a default timeout on all HTTP connections (#397)
Miscellaneous
- [chore] Release 4.0.0 (#415)
- chore: Implementing Pypi publish and Tweet steps (#410)
- Updated release trigger mechanisms (#409)
- chore: Making the separation between staging and publishing explicit (#407)
- chore: Running integration tests in release workflow (#406)
- chore: Installing wheel package during build staging (#405)
- chore: Experimental GitHub Actions based workflow for publishing releases (#402)
- Removing universal flag from binary dist configuration (#404)
- Defined linter as a separate job (#398)
- Fix send_all & send_multicast snippet comment to match implementation (#376)
- chore: Dropped the dependency on six (#385)
- Speeding up the HTTPClient tests by reusing the test server instance (#387)
- Create a GitHub Actions based CI Pipeline (#386)
- Upgraded to pylint 2.x (#384)
- Upgraded cachecontrol to latest (#378)
Firebase Admin Python SDK v3.2.1
Cloud Messaging
- [Fixed] Boolean parameters in
AndroidNotification
are now correctly encoded.
Firebase Admin Python SDK v3.2.0
Cloud Messaging
- [Feature] Added a series of new parameters to the
AndroidNotification
class
that allow further customization of notifications that target Android devices. - [Fixed] Batch messaging APIs
send_all()
andsend_multicast()
now support
sending up to 500 messages in a single call.
Firebase Admin Python SDK v3.1.0
Authentication
- [Fixed] User management APIs now correctly raise
auth.EmailAlreadyExistsError
when an already in-use email address is specified for a user. - [Feature] Added
auth.InsufficientPermissionError
type to represent operations that fail due to the credential lacking a required permission.
Cloud Messaging
- [Fixed]
Message
class now implements the__str__()
contract which can be used to obtain a string representation of aMessage
instance.
Firebase Admin Python SDK v3.0.0
Note: This is a major release with breaking changes. Refer to the migration guide for details on how to port your code to the new API.
- [Changed] Python 2.7 support is now deprecated. Developers are advised to use Python 3.4 or higher to run the Admin SDK.
- [Changed] Removed old module-level exception types
auth.AuthError
,db.ApiCallError
,messaging.ApiCallError
,instance_id.ApiCallError
andproject_management.ApiCallError
. - [Changed] Added a new
exceptions
module that defines base exception types for the entire SDK. Public APIs now raise exceptions defined in the newexceptions
module (or subtypes of them). This facilitates implementing fine-grained error handling logic for a wide range of scenarios that was not supported before. See the migration guide for instructions on how to port your existing error handling code. - [Fixed] Upgraded
google-cloud-firestore
dependency version to to 1.14.0. - [Fixed] Upgraded
google-cloud-storage
dependency version to 1.18.0.
Project Management
- [Changed]
IosApp
,IosAppMetadata
andShaCertificate
types in theproject_management
module have been renamed toIOSApp
,IOSAppMetadata
andSHACertificate
respectively.
Authentication
- [Changed] It is no longer possible to delete user properties with the
update_user()
API by setting properties toNone
. Setting properties toNone
leaves those properties unchanged. They must be explicitly set toauth.DELETE_ATTRIBUTE
to delete them.
Cloud Messaging
- [Feature] Added support for sending an image URL in notifications. Thanks cchamm for the contribution.
- [Changed] The deprecated
WebpushFcmOptions
type has been removed. Developers must use the PEP8 compliant type nameWebpushFCMOptions
instead.
Firebase Admin Python SDK v2.18.0
Cloud Messaging
- [Feature] Added support for specifying the analytics label for notifications. Thanks willawang8908 for the contribution.
- [Feature] Added support for arbitrary key-value pairs in
messaging.ApsAlert
. Thanks viktorasl for the contribution. - [Fixed] The
WebpushFcmOptions
type is now deprecated. Developers should use the PEP8 compliant type nameWebpushFCMOptions
instead.
Realtime Database
- [Feature] Developers can now test their {{database}} API calls by directing the SDK traffic to the RTDB emulator. Set the
FIREBASE_DATABASE_EMULATOR_HOST
environment variable to specify the emulator endpoint inhost:port
format.