Releases: Shopify/shopify-api-js
@shopify/[email protected]
Patch Changes
- b2414c2: Remove
Partial
around theClientResponse.data
type for easier consumption of the client's returned typed data
@shopify/[email protected]
Patch Changes
- b2414c2: Remove
Partial
around theClientResponse.data
type for easier consumption of the client's returned typed data - Updated dependencies [b2414c2]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- Updated dependencies [a23cd94]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- fdd25e1: Fixed an issue in the
RestClient
class'request
method, which was incorrectly madeprivate
instead ofprotected.
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- a23cd94: Rename
fetchApi
parameter tocustomFetchApi
for clarity
@shopify/[email protected]
Patch Changes
- Updated dependencies [a23cd94]
- @shopify/[email protected]
@shopify/[email protected]
Minor Changes
- 0286e7f: Export a REST API client from
admin-api-client
, with an API that is similar to the GraphQL client. - 1878109: Updated shopify-api GraphQL clients' APIs to be closer to the underlying clients
- 2b9e06f: Add the raw network response object to
ResponseErrors
- 194ddcf: Update api version validation error, generic error messages and client types
- c9622cd: Update
UNSUPPORTED_API_VERSION
log type toUnsupported_Api_Version
for consistent log type format
Patch Changes
-
218f452: Use the new GraphQL API clients in shopify-api to use all of the latest features, including automatic types for query / mutation return object and variables.
For more information and examples, see the migration guide to v9.
-
Updated dependencies [218f452]
-
Updated dependencies [49952d6]
-
Updated dependencies [0286e7f]
-
Updated dependencies [1878109]
-
Updated dependencies [2b9e06f]
-
Updated dependencies [194ddcf]
-
Updated dependencies [c9622cd]
-
Updated dependencies [82ee942]
- @shopify/[email protected]
@shopify/[email protected]
Major Changes
-
[!NOTE]
This change only affects apps that are using custom runtime adapters.
If you're using a default adapter from this package, you don't need to make this change.Changed
setAbstractFetchFunc
to accept afetch
API instead of one based onNormalizedRequest
andNormalizedResponse
.With this change, we can return a
Response
object for requests with the upcoming clients, which can help make the interface for requests more familiar to users.For more information and examples, see the migration guide to v9.
-
7bd4be0: Rephrased
gdprTopics
toprivacyTopics
to account for other privacy regulations with data subject requests.This changes the name of the exported object.
You can fix this by changing yourimport
statements:Before:
import { gdprTopics } from "@shopify/shopify-api";
After:
import { privacyTopics } from "@shopify/shopify-api";
Minor Changes
-
83b1590: Allow access tokens to be marked as expired before actual expiry.
-
218f452: Use the new GraphQL API clients in shopify-api to use all of the latest features, including automatic types for query / mutation return object and variables.
For more information and examples, see the migration guide to v9.
-
1878109: Updated shopify-api GraphQL clients' APIs to be closer to the underlying clients
-
4dd7612: Underpinned the new REST client from
admin-api-client
intoshopify-api
, so apps can access it as a standalone client as well. -
5e85e15: Added support for the 2024-01 API version.
-
64cda80: Add helpers to convert between shop admin URLs and legacy URLs.
sanitizeShop
utility method can now support shop admin URLs.
Patch Changes
- Updated dependencies [8885830]
- Updated dependencies [218f452]
- Updated dependencies [0286e7f]
- Updated dependencies [1878109]
- Updated dependencies [2b9e06f]
- Updated dependencies [194ddcf]
- Updated dependencies [c9622cd]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Minor Changes
- 0286e7f: Export a REST API client from
admin-api-client
, with an API that is similar to the GraphQL client. - 1878109: Updated shopify-api GraphQL clients' APIs to be closer to the underlying clients
- 2b9e06f: Add the raw network response object to
ResponseErrors
- 194ddcf: Update api version validation error, generic error messages and client types
- c9622cd: Update
UNSUPPORTED_API_VERSION
log type toUnsupported_Api_Version
for consistent log type format
Patch Changes
-
218f452: Use the new GraphQL API clients in shopify-api to use all of the latest features, including automatic types for query / mutation return object and variables.
For more information and examples, see the migration guide to v9.
-
49952d6: Fix
ResponseWithType
to correctly type thejson
return value -
82ee942: Update
ResponseWithType
type to extend from theResponse
type
@shopify/[email protected]
Minor Changes
- 0286e7f: Export a REST API client from
admin-api-client
, with an API that is similar to the GraphQL client. - 1878109: Updated shopify-api GraphQL clients' APIs to be closer to the underlying clients
- 2b9e06f: Add the raw network response object to
ResponseErrors
- 194ddcf: Update api version validation error, generic error messages and client types
- c9622cd: Update
UNSUPPORTED_API_VERSION
log type toUnsupported_Api_Version
for consistent log type format
Patch Changes
-
8885830: Fixed an issue with the
require
path being incorrect in package.json. -
218f452: Use the new GraphQL API clients in shopify-api to use all of the latest features, including automatic types for query / mutation return object and variables.
For more information and examples, see the migration guide to v9.
-
Updated dependencies [218f452]
-
Updated dependencies [49952d6]
-
Updated dependencies [0286e7f]
-
Updated dependencies [1878109]
-
Updated dependencies [2b9e06f]
-
Updated dependencies [194ddcf]
-
Updated dependencies [c9622cd]
-
Updated dependencies [82ee942]
- @shopify/[email protected]