Skip to content

Commit 473434f

Browse files
authored
Merge pull request #1 from firebase/master
Update from Original Repo
2 parents de4ee2d + 5d4d6cb commit 473434f

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
-
44

5+
# v2.18.0
6+
7+
- [added] Added support for specifying the analytics label for notifications.
8+
- [added] Added support for arbitrary key-value pairs in `messaging.ApsAlert`.
9+
- [changed] The `WebpushFcmOptions` type is now deprecated. Developers should use
10+
the PEP8 compliant type name `WebpushFCMOptions` instead.
11+
- [added] Developers can now test their Database API calls by directing the
12+
SDK traffic to the RTDB emulator. Set the `FIREBASE_DATABASE_EMULATOR_HOST`
13+
environment variable to specify the emulator endpoint in `host:port` format.
14+
515
# v2.17.0
616

717
- [added] Added new `send_all()` and `send_multicast()` APIs to the

firebase_admin/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
"""About information (version, etc) for Firebase Admin SDK."""
1616

17-
__version__ = '2.17.0'
17+
__version__ = '2.18.0'
1818
__title__ = 'firebase_admin'
1919
__author__ = 'Firebase'
2020
__license__ = 'Apache License 2.0'

firebase_admin/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def verify_id_token(id_token, app=None, check_revoked=False):
146146
if not isinstance(check_revoked, bool):
147147
# guard against accidental wrong assignment.
148148
raise ValueError('Illegal check_revoked argument. Argument must be of type '
149-
' bool, but given "{0}".'.format(type(app)))
149+
' bool, but given "{0}".'.format(type(check_revoked)))
150150
token_verifier = _get_auth_service(app).token_verifier
151151
verified_claims = token_verifier.verify_id_token(id_token)
152152
if check_revoked:

0 commit comments

Comments
 (0)