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

Commit

Permalink
Merge pull request #1076 from Shopify/changeset-release/main
Browse files Browse the repository at this point in the history
Packages for release
  • Loading branch information
lizkenyon authored Jan 9, 2024
2 parents 876271a + 4837971 commit 7b0c7eb
Show file tree
Hide file tree
Showing 36 changed files with 138 additions and 147 deletions.
2 changes: 0 additions & 2 deletions .changeset/afraid-wasps-visit.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/angry-lies-smile.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/beige-pots-matter.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/brown-gifts-pay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-pandas-stare.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/dull-students-sleep.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-jokes-protect.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/fifty-buckets-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-books-dress.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/healthy-balloons-eat.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/heavy-islands-study.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/nasty-swans-try.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-horses-change.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/polite-chairs-peel.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/popular-flowers-hear.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/purple-bears-end.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/real-icons-relax.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/real-rice-juggle.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/rich-ladybugs-own.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/sharp-coats-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-icons-chew.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/soft-llamas-rush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-pens-do.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/thirty-papayas-visit.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/wise-dodos-double.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/witty-turtles-wonder.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-news-fail.md

This file was deleted.

27 changes: 27 additions & 0 deletions packages/admin-api-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @shopify/admin-api-client

## 0.2.0

### Minor Changes

- 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_VERSION` log type to `Unsupported_Api_Version` for consistent log type format

### Patch Changes

- 88858305: Fixed an issue with the `require` path 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](https://github.com/Shopify/shopify-api-js/blob/main/packages/shopify-api/docs/migrating-to-v9.md#using-the-new-clients).

- 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

## 0.1.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/admin-api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/admin-api-client",
"version": "0.1.0",
"version": "0.2.0",
"description": "Shopify Admin API Client - A lightweight JS client to interact with Shopify's Admin API",
"repository": {
"type": "git",
Expand Down Expand Up @@ -60,7 +60,7 @@
"dist/**/*.*"
],
"dependencies": {
"@shopify/graphql-client": "^0.8.0"
"@shopify/graphql-client": "^0.9.0"
},
"devDependencies": {
"jest-environment-jsdom": "^29.5.0",
Expand Down
19 changes: 19 additions & 0 deletions packages/graphql-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @shopify/graphql-client

## 0.9.0

### Minor Changes

- 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_VERSION` log type to `Unsupported_Api_Version` for consistent log type format

### Patch Changes

- 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](https://github.com/Shopify/shopify-api-js/blob/main/packages/shopify-api/docs/migrating-to-v9.md#using-the-new-clients).

- 49952d66: Fix `ResponseWithType` to correctly type the `json` return value
- 82ee942e: Update `ResponseWithType` type to extend from the `Response` type

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/graphql-client",
"version": "0.8.0",
"version": "0.9.0",
"description": "Shopify GraphQL Client - A lightweight generic GraphQL JS client to interact with Shopify GraphQL APIs",
"repository": {
"type": "git",
Expand Down
57 changes: 57 additions & 0 deletions packages/shopify-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# Changelog

## 9.0.0

### Major Changes

- 64f61414:

> [!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](https://github.com/Shopify/shopify-api-js/blob/main/packages/shopify-api/docs/migrating-to-v9.md#changes-to-runtime-adapters).

- 7bd4be08: 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:

```ts
import { gdprTopics } from "@shopify/shopify-api";
```

After:

```ts
import { privacyTopics } from "@shopify/shopify-api";
```

### Minor Changes

- 83b15905: Allow access tokens to be marked as expired before actual expiry.
- 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](https://github.com/Shopify/shopify-api-js/blob/main/packages/shopify-api/docs/migrating-to-v9.md#using-the-new-clients).

- 18781092: Updated shopify-api GraphQL clients' APIs to be closer to the underlying clients
- 4dd7612d: Underpinned the new REST client from `admin-api-client` into `shopify-api`, so apps can access it as a standalone client as well.
- 5e85e15b: Added support for the 2024-01 API version.
- 64cda80a: Add helpers to convert between shop admin URLs and legacy URLs. `sanitizeShop` utility method can now support shop admin URLs.

### Patch Changes

- Updated dependencies [88858305]
- Updated dependencies [218f4521]
- Updated dependencies [0286e7fe]
- Updated dependencies [18781092]
- Updated dependencies [2b9e06f6]
- Updated dependencies [194ddcf2]
- Updated dependencies [c9622cd7]
- @shopify/admin-api-client@0.2.0
- @shopify/storefront-api-client@0.2.0

## 8.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shopify-api/lib/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SHOPIFY_API_LIBRARY_VERSION = '8.1.1';
export const SHOPIFY_API_LIBRARY_VERSION = '9.0.0';
6 changes: 3 additions & 3 deletions packages/shopify-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-api",
"version": "8.1.1",
"version": "9.0.0",
"description": "Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down Expand Up @@ -70,9 +70,9 @@
"node-fetch": "^2.6.7"
},
"dependencies": {
"@shopify/admin-api-client": "^0.1.0",
"@shopify/admin-api-client": "^0.2.0",
"@shopify/network": "^3.2.1",
"@shopify/storefront-api-client": "^0.1.0",
"@shopify/storefront-api-client": "^0.2.0",
"compare-versions": "^5.0.3",
"isbot": "^3.6.10",
"jose": "^4.9.1",
Expand Down
26 changes: 26 additions & 0 deletions packages/storefront-api-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @shopify/storefront-api-client

## 0.2.0

### Minor Changes

- 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_VERSION` log type to `Unsupported_Api_Version` for consistent log type format

### Patch Changes

- 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](https://github.com/Shopify/shopify-api-js/blob/main/packages/shopify-api/docs/migrating-to-v9.md#using-the-new-clients).

- 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

## 0.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/storefront-api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/storefront-api-client",
"version": "0.1.1",
"version": "0.2.0",
"description": "Shopify Storefront API Client - A lightweight JS client to interact with Shopify's Storefront API",
"repository": {
"type": "git",
Expand Down Expand Up @@ -83,7 +83,7 @@
"!node_modules"
],
"dependencies": {
"@shopify/graphql-client": "^0.8.0"
"@shopify/graphql-client": "^0.9.0"
},
"devDependencies": {
"jest-environment-jsdom": "^29.5.0"
Expand Down

0 comments on commit 7b0c7eb

Please sign in to comment.