Releases: firebase/firebase-admin-dotnet
Releases · firebase/firebase-admin-dotnet
Firebase Admin .NET SDK v1.9.0
- Fixed an issue that caused async API calls to deadlock in some environments. Thanks NiCoTinEz for the contribution.
Firebase Auth
- Introduced a new
FirebaseAuthException
class and anAuthErrorCode
enum type for improved error handling support. All user management APIs now throw instances of theFirebaseAuthException
class. This is a subclass of the existingFirebaseException
type. - ID token verification APIs now throw instances of the
FirebaseAuthException
class. CreateCustomTokenAsync()
APIs now throwFirebaseAuthException
if an error occurs while signing custom tokens. If the service account is not correctly configured, this API throws anInvalidOperationException
.
Firebase Admin .NET SDK v1.8.0
Cloud Messaging
- Added
SubscribeToTopicAsync()
andUnsubscribeFromTopicAsync()
methods to theFirebaseMessaging
class for managing topic subscriptions. Thanks Leo-Mepham for the contribution. - Added support for specifying the analytics label for notifications via
AndroidFcmOptions
,ApnsFcmOptions
andFcmOptions
classes. Thanks RannyRanny for the contribution. - Introduced a new
FirebaseMessagingException
class and aMessagingErrorCode
enum type for improved error handling support. All FCM APIs now throw instances of theFirebaseMessagingException
class. This is a subclass of the existingFirebaseException
type.
Firebase Admin .NET SDK v1.7.0
- Added
netstandard2.0
to theTargetFrameworks
list of the package. - Began compiling releases on the .NET Framework instead of Mono. This should resolve some of the library linkage issues reported by developers on previous versions of the SDK.
Firebase Auth
- Added the
CreateUserAsync()
method for creating new user accounts. - Added the
UpdateUserAsync()
method for updating exiting user accounts. - Added the
ListUsersAsync()
method for listing or iterating over all users accounts in a Firebase project. Thanks ChristopherLenz for the contribution.
Firebase Admin .NET SDK v1.6.0
Auth
- Added
GetUserByEmailAsync()
andGetUserByPhoneNumberAsync()
methods for retrieving user accounts.
Cloud Messaging
- Added
WebpushFcmOptions
API for specifying Webpush-specific notification options. Thanks Odonno for the contribution.
Firebase Admin .NET SDK v1.5.0
Firebase Auth
- Added a new
GetUserAsync()
method that allows retrieving user accounts. - Added a new
DeleteUserAsync()
method that allows deleting user accounts.
Firebase Admin .NET SDK v1.4.0
- [added]
AppOptions
class now supports setting anHttpClientFactory
, which is useful when deploying the SDK behind a proxy server.
Firebase Admin .NET SDK v1.3.0
Firebase Cloud Messaging
- Added a new
SendMulticastAsync()
API for sending a message to a list of device registration tokens. Thanks kentcb for the contribution. - Added a new
SendAllAsync()
API for sending a list of messages as a single batch. Thanks kentcb for the contribution.
Firebase Admin .NET SDK v1.2.1
Auth
- The
VerifyIdTokenAsync()
method now tolerates a clock skew of up to 5 minutes when comparing JWT timestamps.
Firebase Admin .NET SDK v1.2.0
- A new
FirebaseMessaging
class for sending Firebase Cloud Messaging messages.
Firebase Admin .NET SDK v1.1.0
Authentication
- Implemented the
SetCustomUserClaimsAsync()
API in theFirebaseAuth
class.