Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 10, 2024
1 parent ec4270a commit 2701280
Show file tree
Hide file tree
Showing 46 changed files with 246 additions and 169 deletions.
6 changes: 0 additions & 6 deletions .changeset/cold-eagles-leave.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fast-apples-draw.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-queens-appear.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fluffy-dragons-smash.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/green-flowers-remain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-panthers-hide.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/kind-vans-add.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-beans-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-monkeys-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/perfect-rings-applaud.md

This file was deleted.

52 changes: 0 additions & 52 deletions .changeset/rich-panthers-refuse.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/silly-trees-rush.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/tough-donkeys-decide.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/unlucky-onions-hunt.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/api-clients/api-codegen-preset/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.0.8

### Patch Changes

- faf7ad5: Use type imports in generated codegen files.

## 0.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/api-clients/api-codegen-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/api-codegen-preset",
"version": "0.0.7",
"version": "0.0.8",
"description": "Preset for graphql-codegen to parse and type queries to Shopify APIs",
"author": "Shopify",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/shopify-app-session-storage-drizzle

## 1.1.3

### Patch Changes

- ec6bdfc: Bump mysql2 from 3.9.2 to 3.9.7

## 1.1.2

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-drizzle",
"version": "1.1.2",
"version": "1.1.3",
"description": "Shopify App Session Storage for Drizzle",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@libsql/client": "^0.4.0-pre.7",
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5",
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6",
"@types/better-sqlite3": "^7.6.9",
"better-sqlite3": "^9.5.0",
"drizzle-kit": "^0.20.17",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-dynamodb

## 3.0.6

## 3.0.5

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-dynamodb",
"version": "3.0.5",
"version": "3.0.6",
"description": "Shopify App Session Storage for DynamoDB",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
"@shopify/shopify-app-session-storage": "^2.1.4"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5"
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-kv

## 3.0.7

## 3.0.6

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-kv",
"version": "3.0.6",
"version": "3.0.7",
"description": "Shopify App Session Storage for KV",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240502.0",
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5",
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6",
"miniflare": "^3.20240304.2"
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-memory

## 3.0.6

## 3.0.5

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-memory",
"version": "3.0.5",
"version": "3.0.6",
"description": "Shopify App Session Storage for Memory",
"repository": {
"type": "git",
Expand Down Expand Up @@ -46,7 +46,7 @@
"@shopify/shopify-app-session-storage": "^2.1.4"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5"
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-mongodb

## 3.0.6

## 3.0.5

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-mongodb",
"version": "3.0.5",
"version": "3.0.6",
"description": "Shopify App Session Storage for MongoDB",
"repository": {
"type": "git",
Expand Down Expand Up @@ -49,7 +49,7 @@
"@shopify/shopify-app-session-storage": "^2.1.4"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5"
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/shopify-app-session-storage-mysql

## 3.0.6

### Patch Changes

- ec6bdfc: Bump mysql2 from 3.9.2 to 3.9.7

## 3.0.5

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-mysql",
"version": "3.0.5",
"version": "3.0.6",
"description": "Shopify App Session Storage for MySQL",
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,7 +50,7 @@
"@shopify/shopify-app-session-storage": "^2.1.4"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5"
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-postgresql

## 3.0.6

## 3.0.5

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-postgresql",
"version": "3.0.5",
"version": "3.0.6",
"description": "Shopify App Session Storage for PostgreSQL",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
"@shopify/shopify-app-session-storage": "^2.1.4"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^2.0.5",
"@shopify/shopify-app-session-storage-test-utils": "^2.0.6",
"@types/pg": "^8.11.5"
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# @shopify/shopify-app-session-storage-prisma

## 5.0.0

### Major Changes

- c2da994: ## Store user information as part of the session

With this change when using online access tokens, the user information is stored as part of the session. Previously only the user ID was stored. This will enable changing of page content or limiting of page visibility by user, as well as unlock logging users actions. This is a breaking change, as the Prisma schema has been updated to include the user information.

For more information review the [migration guide](../packages/apps/session-storage/shopify-app-session-storage-prisma/MIGRATION_V5.md).

<details>
The new session will include the following data:

```ts
{
id: 'online_session_id',
shop: 'online-session-shop',
state: 'online-session-state',
isOnline: true,
scope: 'online-session-scope',
accessToken: 'online-session-token',
expires: 2022-01-01T05:00:00.000Z,
onlineAccessInfo: {
associated_user: {
id: 1,
first_name: 'online-session-first-name'
last_name: 'online-session-last-name',
email: 'online-session-email',
locale: 'online-session-locale',
email_verified: false,
account_owner: true,
collaborator: false,
},
}
}
```

You will be able to access the user information on the Session object:

```ts
const { admin, session } = await authenticate.admin(request);

console.log("user id", session.onlineAccessInfo.associated_user.id);
console.log("user email", session.onlineAccessInfo.associated_user.email);
console.log(
"account owner",
session.onlineAccessInfo.associated_user.account_owner,
);
```

</details>

## 4.0.5

### Patch Changes
Expand Down

0 comments on commit 2701280

Please sign in to comment.