Skip to content

Commit c8da7f4

Browse files
committed
Release
1 parent 12dee29 commit c8da7f4

File tree

8 files changed

+52
-10
lines changed

8 files changed

+52
-10
lines changed

packages/api-client-core/Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# `@gadgetinc/api-client-core` Changelog
22

3+
## 0.15.43
4+
5+
### Patch Changes
6+
7+
- Ensure live queries correctly re-execute when input variables change
8+
9+
Previously, mounted live queries in React would erroneously not re-connect to the server when their input variables changed, like the filter, sort, or selection. The websocket would confusingly stay open, but the client side code listening for changes would stop listening and not restart. This has now been fixed and live queries will correctly re-establish a new websocket connection with new variables when the variables change.
10+
311
## 0.15.42
412

513
### Patch Changes

packages/api-client-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gadgetinc/api-client-core",
3-
"version": "0.15.42",
3+
"version": "0.15.43",
44
"files": [
55
"Readme.md",
66
"dist/**/*"

packages/react-bigcommerce/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"prerelease": "gitpkg publish"
2828
},
2929
"dependencies": {
30-
"@gadgetinc/api-client-core": "^0.15.42"
30+
"@gadgetinc/api-client-core": "^0.15.43"
3131
},
3232
"devDependencies": {
3333
"@gadgetinc/api-client-core": "workspace:*",
@@ -41,6 +41,6 @@
4141
"peerDependencies": {
4242
"react": "^18.0.0",
4343
"react-dom": "^18.0.0",
44-
"@gadgetinc/react": "^0.21.1"
44+
"@gadgetinc/react": "^0.21.2"
4545
}
4646
}

packages/react-shopify-app-bridge/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @gadgetinc/react-shopify-app-bridge
22

3+
## 0.18.5
4+
5+
### Patch Changes
6+
7+
- Fix `<Provider/>` crash when booting in mock preview with out of date OAuth scopes
8+
9+
Previously, the react `<Provider/>` would error on first render when rendering in a Shopify admin that met the following conditions:
10+
11+
- using the Gadget Embed Preview feature to view the application within the Gadget editor
12+
- using Shopify Managed Installation mode where Shopify implements the OAuth scope granting process
13+
- on a shop that had previously installed the Gadget application, but with out of date scopes.
14+
15+
Now, the provider correctly boots up, and the error from the missing scopes will be propagated using the normal mechanisms.
16+
17+
- Updated dependencies
18+
- Updated dependencies
19+
- @gadgetinc/api-client-core@0.15.43
20+
- @gadgetinc/react@0.21.2
21+
322
## 0.18.4
423

524
### Patch Changes

packages/react-shopify-app-bridge/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gadgetinc/react-shopify-app-bridge",
3-
"version": "0.18.4",
3+
"version": "0.18.5",
44
"files": [
55
"README.md",
66
"dist/**/*"
@@ -27,7 +27,7 @@
2727
"prerelease": "gitpkg publish"
2828
},
2929
"dependencies": {
30-
"@gadgetinc/api-client-core": "^0.15.42",
30+
"@gadgetinc/api-client-core": "^0.15.43",
3131
"crypto-js": "^4.2.0",
3232
"tslib": "^2.6.2"
3333
},
@@ -45,7 +45,7 @@
4545
"react-dom": "^18.2.0"
4646
},
4747
"peerDependencies": {
48-
"@gadgetinc/react": "^0.21.1",
48+
"@gadgetinc/react": "^0.21.2",
4949
"@shopify/app-bridge-react": "^4.0.0",
5050
"react": "^18.0.0",
5151
"react-dom": "^18.0.0"

packages/react/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @gadgetinc/react
22

3+
## 0.21.2
4+
5+
### Patch Changes
6+
7+
- Ensure live queries correctly re-execute when input variables change
8+
9+
Previously, mounted live queries in React would erroneously not re-connect to the server when their input variables changed, like the filter, sort, or selection. The websocket would confusingly stay open, but the client side code listening for changes would stop listening and not restart. This has now been fixed and live queries will correctly re-establish a new websocket connection with new variables when the variables change.
10+
11+
- Fix useView hook passing typed variables
12+
13+
The `useView` hook for use with computed views was incorrectly passing type names to the GraphQL backend when executed with named views taking variables. It now passes the typenames correctly.
14+
15+
- Updated dependencies
16+
- @gadgetinc/api-client-core@0.15.43
17+
318
## 0.21.1
419

520
### Patch Changes

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gadgetinc/react",
3-
"version": "0.21.1",
3+
"version": "0.21.2",
44
"files": [
55
"README.md",
66
"dist/**/*",
@@ -48,7 +48,7 @@
4848
},
4949
"dependencies": {
5050
"@0no-co/graphql.web": "^1.0.4",
51-
"@gadgetinc/api-client-core": "^0.15.42",
51+
"@gadgetinc/api-client-core": "^0.15.43",
5252
"@hookform/resolvers": "^3.3.1",
5353
"filesize": "^10.1.2",
5454
"pluralize": "^8.0.0",

packages/shopify-extensions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prerelease": "gitpkg publish"
3434
},
3535
"dependencies": {
36-
"@gadgetinc/api-client-core": "^0.15.42"
36+
"@gadgetinc/api-client-core": "^0.15.43"
3737
},
3838
"devDependencies": {
3939
"@gadgetinc/api-client-core": "workspace:*",
@@ -47,6 +47,6 @@
4747
"peerDependencies": {
4848
"react": "^18.0.0",
4949
"react-dom": "^18.0.0",
50-
"@gadgetinc/react": "^0.21.1"
50+
"@gadgetinc/react": "^0.21.2"
5151
}
5252
}

0 commit comments

Comments
 (0)