diff --git a/CHANGELOG.md b/CHANGELOG.md index ac1b9742..04a53b2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [4.48.2](https://github.com/plivo/plivo-python/tree/v4.48.2) (2024-02-28) +**Feature - Log Redaction Enhancement** +- Added log attribute in GET and List MDR response +- Change log field from bool to string in send SMS + ## [4.48.1](https://github.com/plivo/plivo-python/tree/v4.48.1) (2024-02-26) **Added new param 'waitTime' for MPC XML diff --git a/plivo/resources/messages.py b/plivo/resources/messages.py index 3a5c0d0c..16181f70 100644 --- a/plivo/resources/messages.py +++ b/plivo/resources/messages.py @@ -35,7 +35,7 @@ class Messages(PlivoResourceInterface): optional(all_of(of_type(six.text_type), is_in(('sms', 'mms', 'whatsapp'))))], url=[optional(is_url())], method=[optional(of_type(six.text_type))], - log=[optional(of_type_exact(bool))], + log=[optional(of_type_exact(str))], trackable=[optional(of_type_exact(bool))], powerpack_uuid=[optional(of_type(six.text_type))], media_urls=[optional(of_type_exact(list))], @@ -53,7 +53,7 @@ def create(self, type_='sms', url=None, method='POST', - log=True, + log="true", trackable=False, powerpack_uuid=None, media_urls=None, diff --git a/plivo/version.py b/plivo/version.py index 9f436c9b..33a87b1e 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.48.1' +__version__ = '4.48.2' diff --git a/setup.py b/setup.py index 9840d8c0..3ee3ccf7 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.48.1', + version='4.48.2', description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML', long_description=long_description, url='https://github.com/plivo/plivo-python',