You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
3
+
This project adheres to [Semantic Versioning](http://semver.org/).
4
+
5
+
## 1.3.0 - 2016-08-03
6
+
### Added
7
+
- Travis support
8
+
- PHPUnit XML configuration file
9
+
- Change log file
10
+
- Contribution guidelines file
11
+
- Credits file
12
+
- Added support for MWS Auth Token, which can be set for each store in the config file.
13
+
- Added methods for getting the last response code, error message, and error response.
14
+
- Added support for the Merchant Fulfillment API with three new classes.
15
+
- Added support for the Recommendations API with one new class.
16
+
- Added support for the Subscriptions API with three new classes.
17
+
- Added support for the Finance API two new classes.
18
+
- Added four new Inbound classes relating to preorders, transport, and item prep instructions.
19
+
- The marketplace can now be specified in the Order List class, Fulfillment Order class, and all Product classes.
20
+
- New response fields in the Feed class: `StartedProcessingDate` and `CompletedProcessingDate`
21
+
- New response fields in the Order class: `IsBusinessOrder`, `PurchaseOrderNumber`, `IsPrime`, and `IsPremiumOrder`
22
+
- New response fields in the Order Item List class: `BuyerCustomizedInfo`, `PointsGranted`, and `PriceDesignation`
23
+
- Added a method for getting the order ID from the Order Item List class.
24
+
- New parameter in the Order List class: `TFMShipmentStatus`
25
+
- Added a method for getting the raw report data from the Report class.
26
+
- New response field in the Report List class: `AcknowledgedDate`
27
+
- New response fields in the Fulfillment Order class: `MarketplaceId`, `DeliveryWindow`, `FulfillmentAction`, `CODSettings`, `PerUnitPrice`, and `PerUnitTax`.
28
+
- New parameters in the Fulfillment Order Creator class: `MarketplaceId`, `FulfillmentAction`, `CODSettings`, and `DeliveryWindow`. The method for setting items now also has `PerUnitPrice` and `PerUnitTax`.
29
+
- New method in the Fulfillment Order Creator class for updating orders.
30
+
- New response fields in the Fulfillment Order List class: `MarketplaceId`, `DeliveryWindow`, `FulfillmentAction`, and `CODSettings`.
31
+
- New options in the Fulfillment Preview class: `IncludeCODFulfillmentPreview` and `IncludeDeliveryWindows`.
32
+
- New response fields in the Fulfillment Preview class: `ShippingSpeedCategory`, `IsFulfillable`, `IsCODCapable`, `MarketplaceId`, and `ScheduledDeliveryInfo`.
33
+
- New method in the Product Info class for getting lowest-priced offers.
34
+
- The Product class now keeps the identifier used to search for an item under the key `Request`.
35
+
- New methods in the Shipment class for setting parameters previously restricted to use of `usePlan`.
36
+
- New parameter in the Shipment class: `ShipmentName`. The method for setting items now also supports `PrepDetailsList` and `ReleaseDate` for each item.
37
+
- New response fields in the Shipment Item List class: `PrepDetailsList` and `ReleaseDate`
38
+
- New response field in the Shipment List class: `ConfirmedNeedByDate`
39
+
- New parameters in the Shipment Planner class: `ShipToCountryCode` and `ShipToCountrySubdivisionCode`. The method for setting items now also supports `ASIN` and `PrepDetailsList` for each item.
40
+
- New response field in the Shipment Planner class: `PrepDetailsList`
41
+
- Added support for new styles of token responses used by some classes.
42
+
43
+
### Changed
44
+
- Some tests that tried to load the normal configuration file now properly load test configuration.
45
+
- Corrected many small mistakes in documentation.
46
+
- The `setShowSalesChannel` method in the Report class now properly sets the parameter.
47
+
- The Service URL setting now works with or without a slash at the end.
48
+
- Changed all private methods and properties to protected.
49
+
- Updated the Composer file to allow for newer PHP versions.
50
+
- Fixed the spelling of `StateOrProvinceCode` throughout the Outbound and Inbound classes.
51
+
- The `genTime` method now supports Unix timestamps, though some methods that use `genTime` still do not.
52
+
- Updated the name of the `CompletedProcessingDate` field in the Report Request List class to `CompletedDate`.
53
+
- Deprecated `getDateProcessingCompleted` in favor of `getDateCompleted`.
54
+
- Updated the name of the `ShipServiceLevelCategory` field in the Order class to `ShipmentServiceLevelCategory`.
55
+
- Deprecated `getShipServiceLevelCategory` in favor of `getShipmentServiceLevelCategory`.
56
+
- Deprecated `setFulfillmentMethod` in the Fulfillment Order Creator class.
57
+
- Deprecated `setMethodFilter` in the Fulfillment Order List class.
58
+
- The Product Info class now properly gets all relationships.
59
+
- The Shipment class no longer sets the address when using `usePlan` and correctly sets other parameters.
60
+
- Fixed a loop caused by an empty response to actions that use tokens.
61
+
62
+
### Removed
63
+
- Removed all of the old leftover test XML files from the mock folder
64
+
- Removed old environment config lines from the test config file
65
+
66
+
## 1.2.0 - 2016-03-10
67
+
### Added
68
+
- The store name can now be omitted when initiating objects if there is only one store is set in the config file.
69
+
- Added support for four relatively-new fields returned for Orders: `CbaDisplayableShippingLabel`, `ShippedByAmazonTFM`, `TFMShipmentStatus`, and `OrderType`.
70
+
- Each store in the config file can have its own `serviceUrl`, which will override the normal service URL.
71
+
72
+
### Changed
73
+
- Log messages now display time using the 24 hour format, rather than 12 hour.
74
+
75
+
### Fixed
76
+
- Inventory lists no longer cause an error if detailed information is not given.
77
+
- Logging function no longer gives an error when PHP is in strict mode.
78
+
- Removed bad include paths from NetBeans project settings.
79
+
- Product class no longer gives an error when PHP is in strict mode.
80
+
- Product Info class now uses the correct identifier parameters when fetching categories.
81
+
- Product Info class now correctly gets child relationship data.
82
+
83
+
### Removed
84
+
- Removed the obsolete `checkResponse` method from the Feed class.
85
+
86
+
## 1.1.0 - 2014-05-06
87
+
### Added
88
+
- Raw responses are stored for debugging purposes and can be accessed with getLastResponse() or getRawResponses()
89
+
- Created a folder for example scripts and added some examples to the readme
90
+
- Updated the Orders API to the 2013-09-01 version, which adds Earliest/Latest Ship Date and Delivery Date to returned order data
91
+
92
+
### Changed
93
+
- Feeds now allow for direct string input rather than relying entirely on files
94
+
- Amazon-defined constants, such as API version numbers and throttle times, have been moved to a separate file since users shouldn't have to worry about them. Users who already have a config file should redo them.
95
+
96
+
### Fixed
97
+
- HTTP 100 Continue responses are properly handled
98
+
99
+
## 1.0.0 - 2014-02-12
100
+
### Added
101
+
- Core class
102
+
- Classes for eight APIs: Feeds, Fulfillment Inbound, Fulfillment Inventory, Fulfillment Outbound, Orders, Products, Reports, and Sellers
All pull requests should target the master branch. Commits should not have different code changes mixed together and should have descriptive messages.
4
+
5
+
##Project Scope
6
+
The goal of this project is to provide a library with which the average merchant can communicate with Amazon's MWS services without needing to learn the complex language of the API. When contributing, think about whether or not the contribution is something that the average Amazon merchant would need to intract with Amazon.
7
+
8
+
Code for handling the merchant's data, such as for generating feeds or data crunching, falls outside of the library's intended scope and, while useful, is best left to separate projects.
9
+
10
+
##Code Guidelines
11
+
The library is written using a custom style and does not follow any particular standard. For the sake of cohesion, changes to the code should be written in this same style. Please do not make changes to the style of the code.
12
+
13
+
Any new changes should fit within the previously-mentioned goal of the project. New public methods and classes should have names that are easy to understand and use without needing to consult the API's documentation. Try to follow the trend of similar existing functions, such as how methods that send requests to get information from Amazon usually have names that start with "fetch."
14
+
15
+
New methods should have phpdocs explaining how to use them and how they will affect the options sent in the next request. New classes should have phpdocs explaining their purpose and the workflow for using them. If the class is one that sends requests to Amazon, the documentation should indicate which Amazon actions it can perform and which of its methods are required before a request can be sent. Check the phpdocs on existing classes for examples.
0 commit comments