Releases: jlevers/selling-partner-api
Releases · jlevers/selling-partner-api
v7.2.2
v7.2.1
v7.2.0
Added
- Invoices v2024-06-19 API
- Finances v2024-06-19 API
- App Integrations v2024-04-01 API
Changed
- Upgraded all models from latest upstream changes
Full Changelog: 7.1.1...v7.2.0
v7.1.1
Fixed
GetMyFeesEstimatesResponse
now deserializes correctly, and more generally, array responses will be generated and deserialized correctly (#754, #759)ErrorList
schemas that are supposed to be objects but are marked as array schemas in the upstream models are refactored to objects before schema generation
Added
- Support for
Y-m-d\TH:i\Z
timestamps
Full Changelog: v7.1.0...7.1.1
v7.1.0
Fixed
- Made
$requiresAdditionalSellerInputs
param toShippingService
DTO optional (#753, thanks @simonsolutions)
Added
- OAuth support! It's now possible to manage OAuth authorization URI creation and refresh token generation using the
OAuth
connector. Details in README. - Enums and helper methods for managing regions, marketplaces, and endpoints.
- The
Region
enum contains the three Amazon regions - The
Marketplace
enum has helper methods for safely converting 2-letter country codes to Amazon marketplaces (fromCountryCode
) and for getting a marketplace's region (toRegion
) - The
Endpoint
enum's methods now make use of theRegion
andMarketplace
enums to ensure full coverage when fetching an endpoint based on a country code,Marketplace
, orRegion
- The
Full Changelog: v7.0.4...v7.1.0
v7.0.4
Fixed
refinements
andpagination
are no longer required inItemSearchResults
(#741, thanks @KhorneHoly!)- Support new DateTime formats, including ones that include milliseconds and timezones (#742, #746, thanks @simonsolutions)
Added
- Transfers API
- Support for header arguments, including Shipping V2's
x-amzn-Business-Id
and FBA Inventory'sx-amzn-idempotency-token
- Misc updates from other APIs
Changed
- Complex array attribute definitions are no longer nested arrays
- DTO/Response methods are always in a particular order
Full Changelog: v7.0.3...v7.0.4
v7.0.3
Added
- Make it possible to disable caching altogether by passing
null
for thecache
parameter toSellingPartnerApi::seller()
/SellingPartnerApi::vendor()
.
Full Changelog: v7.0.2...v7.0.3
v7.0.2
Changed
- Cache keys for RDTs include the specific refresh token and delegatee (if applicable)
GetAccessTokenRequest
doesn't send unnecessary default headers fromSellingPartnerApi::defaultHeaders()
Added
Endpoint
enum now has::byCountryCode()
and::byRegion()
methods
Full Changelog: v7.0.1...v7.0.2
v7.0.1
Added
- Make user agent configurable (#739)
Fixed
- Try multiple datetime formats during deserialization before throwing an exception (#737, thanks @KhorneHoly!)
- Serialize
getMyFeesEstimates
request properly (#736)
Full Changelog: v7.0.0...v7.0.1
v7.0.0
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