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.ApiCallErrorandproject_management.ApiCallError. - [Changed] Added a new
exceptionsmodule that defines base exception types for the entire SDK. Public APIs now raise exceptions defined in the newexceptionsmodule (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-firestoredependency version to to 1.14.0. - [Fixed] Upgraded
google-cloud-storagedependency version to 1.18.0.
Project Management
- [Changed]
IosApp,IosAppMetadataandShaCertificatetypes in theproject_managementmodule have been renamed toIOSApp,IOSAppMetadataandSHACertificaterespectively.
Authentication
- [Changed] It is no longer possible to delete user properties with the
update_user()API by setting properties toNone. Setting properties toNoneleaves those properties unchanged. They must be explicitly set toauth.DELETE_ATTRIBUTEto delete them.
Cloud Messaging
- [Feature] Added support for sending an image URL in notifications. Thanks cchamm for the contribution.
- [Changed] The deprecated
WebpushFcmOptionstype has been removed. Developers must use the PEP8 compliant type nameWebpushFCMOptionsinstead.