Skip to content

Releases: jlevers/selling-partner-api

v2.0.8

24 Apr 19:40
Compare
Choose a tag to compare

Fixed

  • Remove trailing commas in selectHeaders function calls in *Api.php files, to be compatible with PHP 7.2. (#16)

v2.0.7

13 Apr 14:36
Compare
Choose a tag to compare

Changed

  • Wait until an API method is called before retrieving an access token, to enable making grantless requests with no defined access token. Before this, creating an instance of an API class would retrieve an access token, which mean that you needed to have LWA_ACCESS_TOKEN defined in .env even though you might not need it.

v2.0.6

13 Apr 13:28
Compare
Choose a tag to compare

Fixed

  • InvalidSignature error when uploading a feed document
  • Broken feed document upload example in README.md

v2.0.5

25 Mar 14:49
Compare
Choose a tag to compare

Changed

  • Allow 4.x versions of vlucas/phpdotenv for backwards compatibility
  • Add Boxing PrepInstruction

Fixed

  • Merge in revert of faulty PR (#5, #6)

v2.0.4

18 Mar 17:28
Compare
Choose a tag to compare

Added

  • Document contents are UTF-8 encoded before handling in Document.php. Amazon encodes their documents in ISO-8859-1.

Changed

  • Changed text of new PrepType from Polybagging Set creation to SetCreation

v2.0.3

17 Mar 21:39
Compare
Choose a tag to compare

Added

  • Polybagging Set creation enum value added to PrepInstruction

v2.0.2

06 Mar 19:50
Compare
Choose a tag to compare

Added

  • Updated Api classes to show full response body text on non 2xx responses for easier debugging
  • Added default content type on Document class (text/xml)
  • Added more advanced data parsing for downloaded documents: get a SimpleXML object for XML reports, and an associative array for tsv/csvs.

v2.0.1

05 Mar 02:27
Compare
Choose a tag to compare

Changed

  • Only load environment variables from .env in Configuration.php when they aren't already loaded

Fixed

  • Update namespaces of types in Document.php constructor

v2.0.0

02 Mar 18:23
Compare
Choose a tag to compare

Changed

  • Switched project namespace from Evers\SellingPartnerApi to SellingPartnerApi
  • Moved model classes to subdirectories within lib/Model corresponding to the segment of the Selling Partner API they correspond to (A+ Content API, Feeds API, etc)
  • Moved model documentation files to subdirectories within docs/Model corresponding to the directory in lib/Model that contains the relevant model class
  • Updated API and Model documentation content to reflect the new code organizational structure

Fixed

  • The model reorganization ensures that models with the same name, in different APIs, will not overwrite each other during code generation. This has been an ongoing problem, and fixing it was the main purpose of this redesign.

v1.2.0

26 Feb 05:50
Compare
Choose a tag to compare

Added

  • Autogenerated test files

Changed

  • Updated README to reflect switch to OpenAPI
  • Metadata files were regenerated from OpenAPI templates (.phpunit.xml.dist, .travis.yml)
  • Removed doc author comments from generated classes
  • Regenerated all documentation files from OpenAPI templates

Fixed

  • Incorrect indentation in composer.json