Skip to content

Releases: jasara/php-amzn-selling-partner-api

v0.6.2

16 Aug 09:03
1df11e1
Compare
Choose a tag to compare
v0.6.2 Pre-release
Pre-release
Add sellers get account

v0.6.1

09 Aug 14:32
22789b8
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release
Fix address schemas

Fulfillment Inbound v2024

08 Aug 10:22
c0e9055
Compare
Choose a tag to compare
v0.6.0

Add FBA_INB_0342 ineligibility code

v0.5.3

17 Jul 08:46
33db769
Compare
Choose a tag to compare
v0.5.3 Pre-release
Pre-release
Test coverage

v0.5.2

17 Jul 08:39
8347e42
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release
Test coverage

v0.5.1

17 Jul 08:25
cfc0448
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release
Allow null from carbon caster

Moving away from Spatie Data Transfer Objects

18 Apr 13:51
ac4d692
Compare
Choose a tag to compare

BREAKING CHANGES

Since Spatie's data transfer objects package is abandoned, we wanted to move away from using their data transfer objects eventually. In preparing for implementing the new fulfilment inbound API, we decided it was the right time to make the switch. There are a lot of changes in this release, but most of them involve that change.

If you're using any of the data objects directly, you should get the exact same functionality by using the new from static method.

Change from instantiating the class directly:

new InboundShipmentPlanSchema(...)

To the static method:

InboundShipmentPlanSchema::from(...)

This change will be the majority of the adjustments required in your code. Some additional minor breaking changes:

  • Renaming the DataTransferObjects folder to Data
  • Renaming AuthTokensDTO, ApplicationKeysDTO, GrantlessTokenDTO, and RestrictedDataTokenDTO to AuthTokens, ApplicationKeys, GrantlessToken and RestrictedDataToken
  • If you were using functionality that belonged to the underlying data transfer objects package, that will no longer be available.
  • Collections of schemas are strongly typed, so they cannot be instantiated with a different class or item type
  • If you are using a strongly typed collection, it might behave differently compared to a normal collection. Please ensure any code that is using a typed collection directly is working properly.
  • Nullable properties of data objects will now be set to null if they are not a collection and an empty array is returned for that property, rather than being set as an empty object

Improvements

  • The data classes are much closer to plain old PHP objects, so if you want to work with them directly they will act in a familiar manner.
  • Since collections are strongly typed, you should be able to get the correct type with accessing their items in your IDE
  • Since we are mapping our own data, we were able to remove several hacks and replace it with casting or changing the behaviour with contracts on that particular class
  • Class casing has been made more consistent

v0.4.19

15 Apr 11:41
7a5bbd4
Compare
Choose a tag to compare
v0.4.19 Pre-release
Pre-release
add ShipsInProductPackaging to prep instructions enum

v0.4.18

13 Feb 08:19
4eefb3a
Compare
Choose a tag to compare
v0.4.18 Pre-release
Pre-release
Add belgium to list of marketplaces

v0.4.17

25 Jan 11:03
bd11a87
Compare
Choose a tag to compare
v0.4.17 Pre-release
Pre-release
add ca_mpf to reseller category