Releases: highsidelabs/laravel-spapi
Releases · highsidelabs/laravel-spapi
v2.1.0
Changed
- It's now possible to use the LWA credentials in the single-seller config as the client ID/client secret for credentials in multi-seller mode. This means that if you're using OAuth to authorize several sellers on your own credentials, your LWA client ID/client secret can act as the client ID/client secret for all those sets of credentials without needing to push the LWA creds to the database.
Full Changelog: v2.0.2...v2.1.0
v2.0.2
v2.0.1
Fixed
- Make cache
get
/set
methods work properly when the cache driver doesn't support tagging - Re-add
config/spapi.php
tospapi-config
publishing group
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Support for jlevers/selling-partner-api v7 and Laravel 11
If you're upgrading from v1.x
, refer to the README to see how to use v2.x
, because basically everything has changed. If you have a v2.x
multi-seller setup, you can remove the unnecessary AWS fields from the spapi_credentials
table like so:
$ php artisan vendor:publish --tag spapi-v2-upgrade
$ php artisan migrate
Full Changelog: v1.2.2...v2.0.0
v1.2.2
Added
Credentials::bustCache()
method clears the access token from the cache- Add
updating
event observer toCredentials
to automatically bust the cache when Credentials are updated
Full Changelog: v1.2.1...v1.2.2
v1.2.1
Added
- The
Credentials::handleRegion
method allows users to customize how the region code is retrieved, in case they store the SP API region in a custom format (or in a separate model).
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Changed
- Removed API class auto-discovery and replaced it with an explicit list to speed up package initialization (#3)
- Switched from
singleton
tobind
for API classes in the service container, also to speed up package initialization (#3 fixed via #4, thanks @MannikJ!)
Fixed
- When attempting to load uncached credentials in multi-seller mode with dynamic AWS credentials enabled, there was an error because we were trying to load (nonexistent) static AWs credentials. That bug is now resolved.
Added
- You can now set the SP API library's debug flag and debug output location via the
config/spapi.php
file (thanks @MannikJ)
Full Changelog: v1.1.3...v1.2.0
v1.1.3
Fixed
- Avoid throwing errors on install due to missing environment variables
Full Changelog: v1.1.2...v1.1.3
v1.1.2
Fixed
- Bump minimum
jlevers/selling-partner-api
version to5.9
to avoid conflicts in Guzzle versions
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Changed
- Removed check for dynamic AWS credentials columns when deciding whether or not to make it possible to publish the dynamic AWS update migration
Full Changelog: v1.1.0...v1.1.1