Skip to content

Commit d7e8494

Browse files
authored
Firebase Cloud Messaging API (firebase#117)
* Implemented FCM send functionality * Added integration tests; Implemented dry_run support * Added webpush support * Added APNS support * Implemented topic management functions * FCM error handling * Improved error handling * Updated documentation * Adding APNS types * Updated docs and tests * Handling TTL encoding and added more tests * Fixing a lint error in tests; Updated changelog * Accept prefixed topic named (firebase#126) * Accept prefixed topic named * Minor refactoring * Updated FCM error codes (firebase#127)
1 parent a85865c commit d7e8494

File tree

5 files changed

+1910
-9
lines changed

5 files changed

+1910
-9
lines changed

CHANGELOG.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
# Unreleased
2-
-
3-
### Token revokaction
4-
- [added] The ['verify_id_token(...)'](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#verify_id_token)
5-
method now accepts an optional `check_revoked` parameter. When `True`, an
2+
3+
### Cloud Messaging
4+
5+
- [feature] Added the `firebase_admin.messaging` module for sending
6+
Firebase notifications and managing topic subscriptions.
7+
8+
### Authentication
9+
10+
- [added] The ['verify_id_token()'](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#verify_id_token)
11+
function now accepts an optional `check_revoked` parameter. When `True`, an
612
additional check is performed to see whether the token has been revoked.
7-
- [added] A new method ['auth.revoke_refresh_tokens(uid)'](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#revoke_refresh_tokens)
8-
has been added to invalidate all tokens issued to a user before the current second.
9-
- [added] A new property `tokens_valid_after_timestamp` has been added to the
13+
- [added] A new
14+
['auth.revoke_refresh_tokens(uid)'](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#revoke_refresh_tokens)
15+
function has been added to invalidate all tokens issued to a user.
16+
- [added] A new `tokens_valid_after_timestamp` property has been added to the
1017
['UserRecord'](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#userrecord),
11-
which denotes the time in epoch milliseconds before which tokens are not valid.
18+
class indicating the time before which tokens are not valid.
1219

1320
# v2.8.0
1421

@@ -35,6 +42,7 @@
3542
# v2.6.0
3643

3744
### Authentication
45+
3846
- [added] Added the
3947
[`list_users()`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#list_users)
4048
function to the `firebase_admin.auth` module. This function enables listing
@@ -46,6 +54,7 @@
4654
user's ID token.
4755

4856
### Realtime Database
57+
4958
- [changed] Updated the `start_at()`, `end_at()` and `equal_to()` methods of
5059
the [`db.Query`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.db#query) class
5160
so they can accept empty string arguments.

0 commit comments

Comments
 (0)