Skip to content

Commit

Permalink
Merge pull request #337 from plivo/SMS-6589
Browse files Browse the repository at this point in the history
SMS-6589: Log Redaction Enhancement
  • Loading branch information
Vishnukumarpg authored Feb 29, 2024
2 parents 67e4b1b + d148c77 commit c6dd455
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
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.59.2](https://github.com/plivo/plivo-php/tree/v4.59.2) (2024-01-29)
**Feature - Log Redaction Enhancement**
- Added log attribute in GET and List MDR response
- Change log field from bool to string in send SMS

## [4.59.1](https://github.com/plivo/plivo-php/tree/v4.59.1) (2024-01-12)
**Bug fix - Plivo Signature validation-V3 URL constructor**
- Fixed the URL constructor for signature validation which was failing when the URL did not contain query parameters.
Expand Down
4 changes: 4 additions & 0 deletions src/Plivo/Resources/Message/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @property ?string $conversationOrigin
* @property ?string $conversationExpirationTimestamp
* @property ?bool $isDomestic
* @property ?string $log
*/
class Message extends Resource
{
Expand Down Expand Up @@ -117,6 +118,9 @@ public function __construct(
if (!empty($response['carrier_fees'])) {
$this->properties['carrier_fees'] = $response['carrier_fees'];
}
if (!empty($response['log'])) {
$this->properties['log'] = $response['log'];
}

$this->pathParams = [
'authId' => $authId,
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Version
/**
* @const int PHP helper library patch number
*/
const PATCH = 1;
const PATCH = 2;
/**
* @return string
*/
Expand Down

0 comments on commit c6dd455

Please sign in to comment.