- d5ae946: Publish TypeScript source files to npm so "Go to Definition" in IDEs navigates to real source code instead of compiled
.d.tsdeclaration files. Source maps already pointed to the correct paths — the source files just weren't included in the published packages. - Updated dependencies [df81075]
- Updated dependencies [d5ae946]
- @shopify/graphql-client@1.4.2
- e298a0c: Fix issue with missing sourcemaps
- Updated dependencies [056f464]
- Updated dependencies [447348f]
- Updated dependencies [e298a0c]
- @shopify/graphql-client@1.4.1
-
b05d09b: # Add Logging for Shopify GraphQL Admin API Deprecated Reason
Enable logging to now show any detected deprecations from the Shopify GraphQL Admin API.
For more information about deprecation detection see the Shopify.dev Changelog
Enable logging for
httpRequeststo now show any detected deprecations from the Shopify GraphQL Admin API.const shopify = shopifyApi({ apiKey: 'APIKeyFromPartnersDashboard', apiSecretKey: 'APISecretFromPartnersDashboard', logger: { httpRequests: true // Enable httpRequest logging } ...
Enable logging to now show any detected deprecations from the Shopify GraphQL Admin API.
import {createAdminApiClient} from '@shopify/admin-api-client'; const client = createAdminApiClient({ storeDomain: 'your-shop-name.myshopify.com', apiVersion: '2025-01', accessToken: 'your-admin-api-access-token', logger: (logContent: LogContent) => { switch (logContent.type) { case 'HTTP-Response': { const responseLog: HTTPResponseLog['content'] = logContent.content; console.debug('Received response for HTTP request', { requestParams: JSON.stringify(responseLog.requestParams), response: JSON.stringify(responseLog.response), }); break; } case 'HTTP-Retry': { const responseLog: HTTPRetryLog['content'] = logContent.content; console.info('Retrying HTTP request', { requestParams: JSON.stringify(responseLog.requestParams), retryAttempt: responseLog.retryAttempt, maxRetries: responseLog.maxRetries, response: JSON.stringify(responseLog.lastResponse), }); break; } case 'HTTP-Response-GraphQL-Deprecation-Notice': { const responseLog: HTTPResponseGraphQLDeprecationNotice['content'] = logContent.content; console.warn('Received response containing Deprecated GraphQL Notice', { requestParams: JSON.stringify(responseLog.requestParams), deprecationNotice: responseLog.deprecationNotice, }); break; } default: { console.debug(`HTTP request event: ${logContent.content}`); break; } } }; });
- Updated dependencies [b05d09b]
- @shopify/graphql-client@1.4.0
- 981c948: Update directory path
- Updated dependencies [981c948]
- @shopify/graphql-client@1.3.2
-
4adbc2b: # Generate Provenance Statements
This changes no functionality.
The provenance attestation is established by publicly providing a link to a package's source code and build instructions from the build environment. This allows developers to verify where and how your package was built before they download it.
Learn more about npm provenance
-
Updated dependencies [4adbc2b]
- @shopify/graphql-client@1.3.1
- Updated dependencies [4603b69]
- @shopify/graphql-client@1.3.0
- Updated dependencies [d3531c5]
- @shopify/graphql-client@1.2.2
- Updated dependencies [f38dfc0]
- @shopify/graphql-client@1.2.1
- 97c31fb: Fix issue with tsconfig.json causing intellisense errors
- Updated dependencies [ada2cc3]
- @shopify/graphql-client@1.2.0
- Updated dependencies [1aa226b]
- Updated dependencies [5bf588d]
- @shopify/graphql-client@1.1.0
- 6970109: Drop support for Node 16. This package is compatible with Node version >=18.2.0.
- 36e3c62: Add support for Node 22.
- Updated dependencies [36e3c62]
- Updated dependencies [6970109]
- @shopify/graphql-client@1.0.0
- Updated dependencies [715a120]
- @shopify/graphql-client@0.10.4
- Updated dependencies [e9652b7]
- @shopify/graphql-client@0.10.3
- Updated dependencies [2f862e3]
- Updated dependencies [b2f29ae]
- @shopify/graphql-client@0.10.2
- Updated dependencies [56d2fcd]
- @shopify/graphql-client@0.10.1
- 9df4bacf: Add new
requestStream()function to support streamed responses from Storefront API - Updated dependencies [9df4bacf]
- @shopify/graphql-client@0.10.0
- Updated dependencies [295859d6]
- @shopify/graphql-client@0.9.4
- 0f0ffb8a: Updated global fetch types to more closely match reality
- Updated dependencies [0f0ffb8a]
- @shopify/graphql-client@0.9.3
- b2414c2f: Remove
Partialaround theClientResponse.datatype for easier consumption of the client's returned typed data - Updated dependencies [b2414c2f]
- @shopify/graphql-client@0.9.2
- Updated dependencies [a23cd941]
- @shopify/graphql-client@0.9.1
- 0286e7fe: Export a REST API client from
admin-api-client, with an API that is similar to the GraphQL client. - 18781092: Updated shopify-api GraphQL clients' APIs to be closer to the underlying clients
- 2b9e06f6: Add the raw network response object to
ResponseErrors - 194ddcf2: Update api version validation error, generic error messages and client types
- c9622cd7: Update
UNSUPPORTED_API_VERSIONlog type toUnsupported_Api_Versionfor consistent log type format
-
88858305: Fixed an issue with the
requirepath being incorrect in package.json. -
218f4521: 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 [218f4521]
-
Updated dependencies [49952d66]
-
Updated dependencies [0286e7fe]
-
Updated dependencies [18781092]
-
Updated dependencies [2b9e06f6]
-
Updated dependencies [194ddcf2]
-
Updated dependencies [c9622cd7]
-
Updated dependencies [82ee942e]
- @shopify/graphql-client@0.9.0
- ca89ef06: Added the ability to automatically type GraphQL queries to the Storefront API when the files created by @shopify/api-codegen-preset are loaded for the app.
- ef053fa5: Added the ability to automatically type GraphQL queries when the files created by @shopify/api-codegen-preset are loaded for the app.
- Updated dependencies [ca89ef06]
- Updated dependencies [ef053fa5]
- Updated dependencies [49d5966e]
- @shopify/graphql-client@0.8.0