Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Releases: Shopify/shopify-api-js

@shopify/[email protected]

17 Jan 19:05
44bdf4a
Compare
Choose a tag to compare

Patch Changes

  • b2414c2: Remove Partial around the ClientResponse.data type for easier consumption of the client's returned typed data

@shopify/[email protected]

17 Jan 19:05
44bdf4a
Compare
Choose a tag to compare

Patch Changes

  • b2414c2: Remove Partial around the ClientResponse.data type for easier consumption of the client's returned typed data
  • Updated dependencies [b2414c2]

@shopify/[email protected]

10 Jan 18:01
3e55838
Compare
Choose a tag to compare

Patch Changes

@shopify/[email protected]

10 Jan 18:01
3e55838
Compare
Choose a tag to compare

Patch Changes

@shopify/[email protected]

10 Jan 18:01
3e55838
Compare
Choose a tag to compare

Patch Changes

  • a23cd94: Rename fetchApi parameter to customFetchApi for clarity

@shopify/[email protected]

10 Jan 18:01
3e55838
Compare
Choose a tag to compare

Patch Changes

@shopify/[email protected]

09 Jan 19:16
7b0c7eb
Compare
Choose a tag to compare

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 to Unsupported_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]

09 Jan 19:16
7b0c7eb
Compare
Choose a tag to compare

Major Changes

  • 64f6141:

    [!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 a fetch API instead of one based on NormalizedRequest and NormalizedResponse.

    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 to privacyTopics to account for other privacy regulations with data subject requests.

    This changes the name of the exported object.
    You can fix this by changing your import 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 into shopify-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

@shopify/[email protected]

09 Jan 19:15
7b0c7eb
Compare
Choose a tag to compare

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 to Unsupported_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 the json return value

  • 82ee942: Update ResponseWithType type to extend from the Response type

@shopify/[email protected]

09 Jan 19:16
7b0c7eb
Compare
Choose a tag to compare

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 to Unsupported_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]