Changed
- Minimum PHP version of 8.2
- Instead of accessing seller/vendor connector classes with
SellingPartnerApi::make(...$options)->seller()
andSellingPartnerApi::make(...$options)->vendor()
, they are now accessed viaSellingPartnerApi::seller(...$options)
andSellingPartnerApi::vendor(...$options)
- The
authenticationClient
constructor argument is now typedGuzzleHttp\Client
instead ofGuzzleHttp\ClientInterface
for better Saloon interoperation DateTimeInterface
is used for date parameters instead ofDateTime
- Deprecated APIs are removed, and their connector accessor methods throw exceptions
- Non-version-specific API accessor methods (e.g.,
SellerConnector::orders()
) are removed, since they're inevitably going to become out of date
Added
tokenCache
constructor parameter allows the user to define a class that implementsTokenCache
for caching access tokens, which simplifies the end user's caching implementation compared to the old callback-based access token storage mechanism- Latest changes from all OpenAPI models
CONTRIBUTING.md
to make it easier for others to get started making contributions- All autogenerated files have comments warning not to modify them directly
- Some basic tests! What a concept 🙃
Fixed
- Infinite recursion bug on FBA Inbound V2024-03-20 API accessor method
- Boolean query parameters are serialized as
'true'
or'false'
instead of1
or0
- Null attributes are removed before serialization
Thanks @dpash, @KhorneHoly, and @bgarret for your contributions!
Full Changelog: v6.0.6...v7.0.0