Releases: firebase/firebase-admin-python
Releases · firebase/firebase-admin-python
Firebase Admin Python SDK v2.5.0
- A new
FirestoreAPI that enables access to Cloud Firestore databases.
Firebase Admin Python SDK v2.4.0
- The
db.Referenceclass now has aget_if_changed()method, which retrieves a database value only if the value has changed since last read. - The options dictionary passed to
initialize_app()function can now contain anhttpTimeoutoption, which sets the timeout (in seconds) for outbound HTTP connections started by the SDK.
Firebase Admin Python SDK v2.3.0
Firebase Database
- You can now get the ETag value of a database reference by passing
etag=Trueto theget()method of adb.Referenceobject. - The
db.Referenceclass now has aset_if_unchanged()method, which you can use to write to a database location only when the location has the ETag value you specify. - Fixed an issue with the
transaction()method that prevented you from updating scalar values in a transaction.
Firebase Admin Python SDK v2.2.0
- A new Cloud Storage API that facilitates accessing Google Cloud Storage buckets using the
google-cloud-storagelibrary.
Authentication
- A new user management API that allows provisioning and managing Firebase users from Python applications. This API adds
get_user(),get_user_by_email(),get_user_by_phone_number(),create_user(),update_user()anddelete_dser()methods to thefirebase_admin.auth
Database
- The
db.Referenceclass now exposes atransaction()method, which can be used to execute atomic updates on database references.
Firebase Admin Python SDK v2.1.1
- Constructors of
CertificateandRefreshTokencredential types can now be invoked with either a file path or a parsed JSON object. This facilitates the consumption of service account credentials and refresh token credentials from sources other than the local file system. - Better integration with the
google-authlibrary for making authenticated HTTP requests from the SDK.
Firebase Admin Python SDK v2.1.0
- A new database API that facilitates basic data manipulation operations (create, read, update and delete), and advanced queries. Currently, this API does not support realtime event listeners.
Firebase Admin Python SDK v2.0.0
- SDK has been migrated from
oauth2clientto the new and improvedgoogle-authlibrary. - SDK now supports verifying ID tokens when initialized with application default credentials.
Firebase Admin Python SDK v1.0.0
Initial release of the Admin Python SDK. See Add the Firebase Admin SDK to your Server to get started.
Initialization
- Implemented the
firebase_adminmodule, which provides theinitialize_app()function for initializing the SDK with a credential. - Implemented the
firebase_admin.credentialsmodule, which contains constructors forCertificate,ApplicationDefaultandRefreshTokencredential types.
Authentication
- Implemented the
firebase_admin.authmodule, which providescreate_custom_token()andverify_id_token()functions for minting custom authentication tokens and verifying Firebase ID tokens.