Releases: jlevers/selling-partner-api
Releases · jlevers/selling-partner-api
v3.1.5
v3.1.4
v3.1.3
Fixed
- The
$report_type
parameter forReportsApi::getReportDocument()
, and the code that adds RDT support to that call, was accidentally removed inv3.1
when the library switched to the new version of the Reports API. All that missing code has been added back in. (#78) - Converted all instances of
CreateFeedDocumentResult
inDocument.php
toCreateFeedDocumentResponse
, becauseCreateFeedDocumentResult
doesn't exist in the newer version of the Reports API (version^3.1
). (#76, thanks @ivaaaan!)
v3.1.2
Fixed
-
There were errors in Amazon's
Catalog
models that made it impossible to deserialize sales rank information. I modified the models to fix the issue (#64), which caused changes in the generated code.Model\Catalog\Item::getSalesRanks()
is nowModel\Catalog\Item::getRanks()
Model\Catalog\ItemSalesRank::getRank()
is nowModel\Catalog\ItemSalesRank::getValue()
.
While these are not backwards compatible changes, the original methods were not returning useful information, so it seems like a low risk change.
v3.1.1
Added
- Support for the
GB_VOEC
deemed reseller category when callinggetOrders
. (#68)
Fixed
lwaRefreshToken
is no longer a requiredConfiguration
option if you only plan to call grantless operations using thatConfiguration
instance. Previously, even if an API class instance was only going to be calling grantless operations, anlwaRefreshToken
was still required in theConfiguration
options array. This was a bit of a catch-22 if you wanted to callgetAuthorizationCode
to convert MWS tokens into SP API refresh tokens. (#57)
v3.1.0
v3.0.7
v3.0.6
v3.0.5
Added
Document::download()
now accepts an optional boolean$postProcess
parameter. It defaults to true, but if false is passed, the document contents will not have any special parsing applied based on their content type.Document::$data
will be set to the raw data. (#54)
Changed
Document::upload()
now usesopenssl_encrypt
directly, removing dependenciescyberdummy/gzstream
andjsq/psr7-stream-encryption
.- The removal of those dependencies resulted in
guzzle/psr7
upgrading to2.0
, which meant updating allGuzzle\Psr7\build_query()
calls toGuzzle\Psr7\Query::build()
.