diff --git a/CHANGELOG.md b/CHANGELOG.md index fc2d330b..fa239866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## v8.6.0 (2026-02-20) + +- Adds the following functions: + - `fedexRegistration.registerAddress` + - `fedexRegistration.requestPin` + - `fedexRegistration.validatePin` + - `fedexRegistration.submitInvoice` + ## v8.5.0 (2026-02-03) - Adds the following functions usable by child and referral customer users (closes #375): diff --git a/composer.json b/composer.json index 20aef0a8..3b4fc193 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "easypost/easypost-php", "description": "EasyPost Shipping API Client Library for PHP", - "version": "8.5.0", + "version": "8.6.0", "keywords": [ "shipping", "api", diff --git a/lib/EasyPost/Constant/Constants.php b/lib/EasyPost/Constant/Constants.php index 750ab962..18b71e66 100644 --- a/lib/EasyPost/Constant/Constants.php +++ b/lib/EasyPost/Constant/Constants.php @@ -11,7 +11,7 @@ abstract class Constants const BETA_API_VERSION = 'beta'; // Library constants - const LIBRARY_VERSION = '8.5.0'; + const LIBRARY_VERSION = '8.6.0'; const SUPPORT_EMAIL = 'support@easypost.com'; // Validation diff --git a/lib/easypost.php b/lib/easypost.php index 52ea1bbc..90d15d52 100644 --- a/lib/easypost.php +++ b/lib/easypost.php @@ -4,7 +4,7 @@ // Required PHP extensions if (!function_exists('json_decode')) { - throw new Exception('EasyPost needs the JSON PHP extension.'); + throw new \Exception('EasyPost needs the JSON PHP extension.'); } // Exception Base Classes @@ -104,6 +104,7 @@ require_once(dirname(__FILE__) . '/EasyPost/Service/EmbeddableService.php'); require_once(dirname(__FILE__) . '/EasyPost/Service/EndShipperService.php'); require_once(dirname(__FILE__) . '/EasyPost/Service/EventService.php'); +require_once(dirname(__FILE__) . '/EasyPost/Service/FedExRegistrationService.php'); require_once(dirname(__FILE__) . '/EasyPost/Service/InsuranceService.php'); require_once(dirname(__FILE__) . '/EasyPost/Service/OrderService.php'); require_once(dirname(__FILE__) . '/EasyPost/Service/ParcelService.php');