diff --git a/CHANGELOG.md b/CHANGELOG.md index ab5bb923..957d5d34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## [Unreleased] ### Added - ApplePay `Payin` functions are now available. More info about activation to come in the following weeks... + +## [2.12.2] - 2019-09-11 +### Changed - GET EMoney method now supports year and month parameters. More info on our [docs](https://docs.mangopay.com/endpoints/v2.01/user-emoney#e895_view-a-users-emoney) ### Fixed - Add missing `isActive`property for `UBOs` diff --git a/MangoPay/Libraries/RestTool.php b/MangoPay/Libraries/RestTool.php index ecd1dcf0..e9cdd8f5 100644 --- a/MangoPay/Libraries/RestTool.php +++ b/MangoPay/Libraries/RestTool.php @@ -10,7 +10,7 @@ */ class RestTool { - const VERSION = '2.12.1'; + const VERSION = '2.12.2'; /** * Root/parent instance that holds the OAuthToken and Configuration instance @@ -325,7 +325,7 @@ private function GetHttpHeaders($idempotencyKey = null) // content type array_push($this->_requestHttpHeaders, self::$_JSON_HEADER); // Add User-Agent Header - array_push($this->_requestHttpHeaders, 'User-Agent: MangoPay V2 PHP/' . self::VERSION); + array_push($this->_requestHttpHeaders, 'User-Agent: MANGOPAY PHP SDK/' . self::VERSION); // Authentication http header if ($this->_authRequired) { $authHlp = new AuthenticationHelper($this->_root); diff --git a/composer.json b/composer.json index bcd1376d..4fa98f3d 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mangopay/php-sdk-v2", - "description": "SDK PHP for Mangopay api V2", + "description": "PHP SDK for MANGOPAY", "minimum-stability": "stable", "license": "MIT", "require": { @@ -22,4 +22,4 @@ "require-dev": { "phpunit/phpunit": "^4.8.36 || ^5.7.27 || 7.3" } -} \ No newline at end of file +}