Releases: highsidelabs/walmart-api-php
Releases · highsidelabs/walmart-api-php
v0.7.0
Added
- The Assortment Recommendations and Reviews APIs (US only)
- Since the Suppliers APIs now use a separate API host, added support for category-specific hosts in
src/Walmart.php - Specific schema keys can be deleted via the
schemas/modifications/deletions.jsonfile
Changed
- Updated all APIs from upstream models
- Reorganized schema models and schema correction files into separate, sibling folders
Fixed
- Replaced
Walmart::warehouseSupplier()withsupplier()(#10) - Tested and fixed signature-based authentication (#10, #5)
Full Changelog: v0.6.3...v0.7.0
v0.6.3
Fixed
- Removed invalid
Walmart::warehouseSupplier()andWalmart::dropShipVendor(), and replaced them withWalmart::supplier()(#10, not a complete fix) - Corrected
MarketplaceApi::price()toMarketplaceApi::prices(), and changed referencedPriceApiclasses toPricesApi(#11)
Full Changelog: v0.6.2...v0.6.3
v0.6.2
Added
- The
resources/schema-additions.jsonfile allows adding to schemas without overwriting them (which is what theresources/schema-overrides.jsonfile does)
Fixed
- Added support for
nextCursorparameters on the US OrdersgetAllOrdersendpoint (#6 fixed by #8, thanks @friendscottn!)
Full Changelog: v0.6.1...v0.6.2
v0.6.1
v0.6.0
v0.5.0
Changed
- Updated the logic for picking refs for endpoint request/response schemas, and refs within schema components. It's still not perfect, but far more of the models used by endpoints are the ones intended to be used by Walmart.
- Combined the Drop Ship Vendor and Warehouse Supplier APIs into the 1P Supplier API, because Walmart also recently made this change
- Updated various existing APIs to match Walmart upstream schema updates
Added
- Support for the
WM_PARTNER.IDheader via apartnerIdkey in theConfigurationconstructor, which is a required value when calling the 1P Supplier API
Full Changelog: v0.4.1...v0.5.0
v0.4.1
v0.4.0
Changed
- BREAKING CHANGE: Moved
clientIdandclientSecretfrom required constructor params forConfiguration, to optionalConfigurationconfiguration array keys, to support use cases where users don't have a client ID and/or client secret (#3) - Made
Walmart.phpa templated/generated file instead of raw PHP - Move package version to
Walmart\Walmart::VERSION, instead of inserting it into the code in several places
Fixed
- Unnecessary autoloading in Api classes and
Walmartclass (#2)
Added
composer version-update, which just generates supporting files in order to update the package version
Full Changelog: v0.3.2...v0.4.0
v0.3.2
Fixed
- Change how query parameters are turned into URLs to ensure correct key names
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Added
- Ability to correct for Walmart JSON model issues via the
resources/schema-corrections.jsonfile, which is merged against the official schema when we're done doing all our other modifications to it
Fixed
- Reformatted return types for API endpoints that return arrays from
ResponseType[]toarray - Changed
ItemsApi::getAnItemreturn type fromItemResponseJson(what Walmart says it's supposed to be) toItemResponses(what it actually is)
Full Changelog: v0.3.0...v0.3.1