v3.0.0
Remastering client interface
- [BREAKING] The methods
push
andpush_multicast
renamed tosend
andsend_multicast
accordingly. - [BREAKING] The signatures of the methods
send
andsend_multicast
have been changed.- Method
send
accepts instance ofmessages.Message
and returnsmessages.FCMResponse
- Method
send_multicast
accepts instance ofmessages.MulticastMessage
and returnsmessages.FCMBatchResponse
- Method
- New method
send_all
to send messages in a single batch has been added. It takes a list ofmessages.Message
instances and returnsmessages.FCMBatchResponse
. README.md
has been updated to highlight differences in interfaces for versions before 3.x and after- Improved naming:
messages.FcmPushMulticastResponse
tomessages.FCMBatchResponse
messages.FcmPushResponse
tomessages.FCMResponse
utils.FcmReponseType
toutils.FCMResponseType
utils.FcmResponseHandler
toutils.FCMResponseHandlerBase
utils.FcmPushResponseHandler
toutils.FCMResponseHandler
utils.FcmPushMulticastResponseHandler
toutils.FCMBatchResponseHandler
- Type annotations and doc string were updated according to the new naming.