Skip to content

Commit

Permalink
Merge pull request #255 from plivo/SMS-6589
Browse files Browse the repository at this point in the history
SMS-6589: Log Redaction
  • Loading branch information
narayana-plivo authored Feb 29, 2024
2 parents 935e482 + abe240f commit 612e582
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions plivo/resources/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))],
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion plivo/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = '4.48.1'
__version__ = '4.48.2'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 612e582

Please sign in to comment.