gnikyt/basic-shopify-api
A basic Shopify API wrapper with REST and GraphQL support, powered by Guzzle.
v11.0.0
668K downloads/mo
#4120 most downloaded on Packagist
gnikyt/Basic-Shopify-API
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 38 of 40 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
40 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
40 releases · Jul 2017 to Nov 2022Releases
latest 40-
v11.0.030 Nov 2022 -
v10.0.606 Sep 2022Release notes
Open source →- Changes return type of iterable to match signature of iterable for PHP 8.1 (#129) by @HugoHeneault
- Fixes documentation for private GraphQL calls (#128) by @sivaganeshsg
Release notes
Open source →- Changes return type of iterable to match signature of iterable for PHP 8.1 (#129)
-
v10.0.508 Sep 2021 -
v10.0.403 Sep 2021 -
v10.0.308 Jul 2021Release notes
Open source →- Use of null coalescing where possible
- Move
finalflag fromResponseAccessclass to it's constructor
-
v10.0.202 Jul 2021 -
v10.0.111 Mar 2021Release notes
Open source →- Fix for Graph API limit calls not accessing the correct index for last call data
- Update for microtime for rate limiter
Release notes
Open source →- Fix for Graph API limit calls not accessing the correct index for last call data
- Update for microtime for rate limiter
-
v10.0.014 Sep 2020 -
v9.1.425 Aug 2020 -
v9.1.322 Aug 2020 -
v9.1.204 Aug 2020 -
v9.1.118 Jun 2020Release notes
Open source →- Implemented
IterableandCountableonResponseAccess - Added methods
keysandvaluesto allow for getting keys and values easier - Add JSON serilize method
- Implemented
-
v9.1.012 Jun 2020Release notes
Open source →- Rate limiting for REST has been improved to use a moving window method
Sleepdeferrer now returns a float for the time microtimeMemorystore now has aresetmethod to support the new rate limitingMemorynow accepts more then two values to support the new rate limiting
-
v9.0.026 May 2020Release notes
Open source →Contains breaking changes; Consult
UPGRADING.md.- Library refactored and split up, no longer one file
- Auth header handling moved into Guzzle middleware
- API versioning handler moved into Guzzle middleware
- Rate limiting improved and now available for GraphQL
- Options moved into its own configuration class
- "Retry" ability now built-in via
guzzle_retry_middlewarewhich respects Shopify's 'X-Retry-After' header - API responses are now mapped into a response class which can be accessed as an array or object
- Storage of how/where rate limits, request times, and others are now changable with the
StateStorageinterface, and a default in-memory storage class provided - Both GraphQL and REST success and error returns have been normalized
-
v8.2.019 Apr 2020Release notes
Open source →- Added
bodyArrayto response object of rest and graph, this is the same asbodyexcept instead of a stdClass being returned, its an array.
- Added
-
v8.1.009 Apr 2020Release notes
Open source →- Added response to error callback function (#64)
- Allow for additional client creation options (#65)
-
v8.0.017 Mar 2020Release notes
Open source →- Added return types to all functions.
- Added async support for GraphQL via
graphAsync. - Added support for call to
/admin/oauth/access_scopes.json.
-
v7.0.002 Mar 2020Nothing published for this version
-
v6.1.318 Feb 2020Nothing published for this version
-
v6.1.203 Nov 2019 -
v6.1.121 Oct 2019 -
v6.1.015 Oct 2019 -
v6.0.015 Oct 2019Release notes
Open source →- Added ability to do Guzzle sync and async requests through Promises.
errorsnow returns a boolean instead of an object.bodynow contains the error response.
-
v5.4.011 Jun 2019 -
v5.3.331 May 2019 -
v5.3.227 May 2019 -
v5.3.124 May 2019 -
v5.3.010 Apr 2019Release notes
Open source →- Added support for versioned API calls for both REST and GraphAPI
- New
setVersion(string $version)method added, and newgetVersion()method added
-
v5.1.027 Feb 2019Release notes
Open source →- Added a
authRequestmiddleware to Guzzle which handles adding all needed headers and checking required API keys to run those requests - Fixed issue for redirect not working
- Added a
-
v5.0.026 Feb 2019Release notes
Open source →Possible breaking release depending on how you handle errors
- 400-500 errors are now captured internally and accessible through the resulting object (#16)
- Middleware was added to the Guzzle requests to fix redirections (#16)
-
v4.0.218 Jan 2019 -
v4.0.102 Nov 2018 -
v4.0.002 Nov 2018 -
v3.0.314 Sep 2018 -
v3.0.226 Aug 2018Release notes
Open source →- Adjusted API to work better with Shopify's implementation of GraphQL (#10)
graph()call now accepts two arguments,graph(string $query, array $variables = [])
-
v3.0.123 May 2018 -
v3.0.023 May 2018Release notes
Open source →Contains breaking changes
To better the library, it has been reverted back to its original single-class form and backwards compatibile with 1.x.x
- GraphQL and REST are all under one class
getApiCalls()now takes two arguments, first being rest|graph, second being the keyrest()is now for REST callsgraph()is now for GraphQL callsrequest()is aliased torest()for backward compatibility
-
v2.0.017 May 2018Release notes
Open source →Contains breaking changes
- No longer a single file, it now namespaced under
OhmyBrew\ShopifyAPI - GraphQL is now introduced under
Gnikyt\ShopifyAPI\GraphAPI - REST is moved to
Gnikyt\ShopifyAPI\RestAPI
- No longer a single file, it now namespaced under
-
v1.0.118 Dec 2017Release notes
Open source →- Fixed issue #3 by @ncpope, for newly created stores (after December 2017) not accepting GET body
-
v1.0.006 Jul 2017