Skip to content

v4.0.0

Choose a tag to compare

@jpsilkjr86 jpsilkjr86 released this 03 Sep 21:56
· 2 commits to main since this release
30d09d5

What's Changed

  • Feature/php 83 by @jpsilkjr86 in #25
    • Minimum PHP version changed to 8.3.
    • Replaced GuzzleHttp\Psr7\build_query() with GuzzleHttp\Psr7\Query::build().
    • Replaced GuzzleHttp\json_encode with vanilla json_encode.
    • Adapted ResponseException handling in place of getResponse() method that was removed in the parent RequestException in Guzzle 8.
    • Added Metric::REVENUE_PENETRATION enum to ReplenishmentV20221107, fixed relevant test.
    • Added handling in tests for 403 errors that can be returned by the Sandbox API.
    • Adjusted ArrayAccess methods to match php 8.3+ signatures.
    • Adapted phpunit implementation to match upgraded version requirements.
    • Addressed 'Implicitly nullable parameters are deprecated' warnings in PHP 8.3+.
    • Updated PHPDocs to suppress IDE warnings.
    • Fixed deprecated Reflection handling in SpApi utility.
    • Changed dependency from ClientInterface to Client in response to Guzzle 8 breaking change with getConfig() method presence.

Full Changelog: v3.0.0...v4.0.0