Skip to content

Commit 10c6c5e

Browse files
authored
Merge branch 'master' into fix-tests
2 parents 67b6cc0 + 3b0052a commit 10c6c5e

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [4.18.0](https://github.com/plivo/plivo-python/tree/v4.18.0) (2021-07-13)
4+
- Power pack ID has been included to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message).
5+
- Support for filtering messages by Power pack ID has been added to the [list all messages API](https://www.plivo.com/docs/sms/api/message#list-all-messages).
6+
37
## [4.17.0](https://github.com/plivo/plivo-python/tree/v4.17.0) (2021-07-07)
48
- Add SDK support for MPC enhancements.
59

plivo/resources/messages.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def get(self, message_uuid):
9595
all_of(
9696
of_type(*six.integer_types),
9797
check(lambda offset: 0 <= offset, '0 <= offset')))
98-
])
98+
],
99+
powerpack_id=[optional(of_type(six.text_type))])
99100
def list(self,
100101
subaccount=None,
101102
message_direction=None,
@@ -107,7 +108,8 @@ def list(self,
107108
message_state=None,
108109
limit=None,
109110
offset=None,
110-
error_code=None):
111+
error_code=None,
112+
powerpack_id=None):
111113
return self.client.request(
112114
'GET', ('Message', ),
113115
to_param_dict(self.list, locals()),

plivo/version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = '4.17.0'
2+
__version__ = '4.18.0'
3+

setup.py

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

1111
setup(
1212
name='plivo',
13-
version='4.17.0',
13+
version='4.18.0',
1414
description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML',
1515
long_description=long_description,
1616
url='https://github.com/plivo/plivo-python',

0 commit comments

Comments
 (0)