From aa4c20e557b1db8754fde0128e7be4fe4f20866e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20POIS?= Date: Wed, 11 Sep 2019 13:27:15 +0200 Subject: [PATCH 1/3] Version bump 2.12.2 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) 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` From ed1403c9bc2f954e2fc180d500dc5102bd6d449b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20POIS?= Date: Wed, 11 Sep 2019 13:29:51 +0200 Subject: [PATCH 2/3] Update package name --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +} From 21119ddb23fbd86463296da23b40d1844fa5a943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20POIS?= Date: Wed, 11 Sep 2019 13:31:17 +0200 Subject: [PATCH 3/3] Versionbump and user agent update --- MangoPay/Libraries/RestTool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);