From 02e83bebe4998913c4173c798ea2bf00dd256b91 Mon Sep 17 00:00:00 2001 From: ashutoshkumar Date: Thu, 25 Jan 2024 14:35:37 +0530 Subject: [PATCH 1/2] SMS-6589: Log Redaction --- plivo/resources/messages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, From cb1438328f576090a5b4b524d3913725b211185c Mon Sep 17 00:00:00 2001 From: ashutoshkumar Date: Mon, 29 Jan 2024 12:25:48 +0530 Subject: [PATCH 2/2] version updated --- CHANGELOG.md | 5 +++++ plivo/version.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de2f82ab..6b29496f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Change Log +## [4.47.2](https://github.com/plivo/plivo-python/tree/v4.47.2) (2024-02-05) +**Feature - Log Redaction Enhancement** +- Added log attribute in GET and List MDR response +- Change log field from bool to string in send SMS + ## [4.47.1](https://github.com/plivo/plivo-python/tree/v4.47.1) (2023-12-19) **Type param addition in speak api for call and mpc** diff --git a/plivo/version.py b/plivo/version.py index 6e83b2ca..de085918 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.47.1' +__version__ = '4.47.2'