Skip to content

Commit

Permalink
Packages for release (#1527)
Browse files Browse the repository at this point in the history
* Version Packages

* details for: 9cb261e: Fixed saving/loading online access info and associated user data for redis

* Preparing for release

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andy Liu <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2024
1 parent dad673e commit 15798af
Show file tree
Hide file tree
Showing 45 changed files with 182 additions and 103 deletions.
2 changes: 0 additions & 2 deletions .changeset/chatty-phones-bake.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/dependabot-1509.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dependabot-1536.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dependabot-1547.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/nervous-papayas-worry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smart-phones-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-rivers-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-items-rush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-dragons-raise.md

This file was deleted.

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

## 1.0.3

### Patch Changes

- 97c31fb: Fix issue with tsconfig.json causing intellisense errors

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/api-clients/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": "1.0.2",
"version": "1.0.3",
"description": "Shopify Admin API Client - A lightweight JS client to interact with Shopify's Admin API",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/shopify-app-session-storage-drizzle

## 2.0.7

### Patch Changes

- d2e3201: Updated `mysql2` dependencies

## 2.0.6

## 2.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-drizzle",
"version": "2.0.6",
"version": "2.0.7",
"description": "Shopify App Session Storage for Drizzle",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"@libsql/client": "^0.14.0",
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6",
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7",
"@types/better-sqlite3": "^7.6.11",
"@types/pg": "^8.11.6",
"better-sqlite3": "^11.1.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-dynamodb

## 4.0.7

## 4.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-dynamodb",
"version": "4.0.6",
"version": "4.0.7",
"description": "Shopify App Session Storage for DynamoDB",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6"
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-kv

## 4.0.7

## 4.0.6

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

## 4.0.7

## 4.0.6

## 4.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-memory",
"version": "4.0.6",
"version": "4.0.7",
"description": "Shopify App Session Storage for Memory",
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,7 +47,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6"
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-mongodb

## 4.0.7

## 4.0.6

## 4.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-mongodb",
"version": "4.0.6",
"version": "4.0.7",
"description": "Shopify App Session Storage for MongoDB",
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,7 +50,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6"
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/shopify-app-session-storage-mysql

## 4.0.7

### Patch Changes

- d2e3201: Updated `mysql2` dependencies

## 4.0.6

## 4.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-mysql",
"version": "4.0.6",
"version": "4.0.7",
"description": "Shopify App Session Storage for MySQL",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6"
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-postgresql

## 4.0.7

## 4.0.6

## 4.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-postgresql",
"version": "4.0.6",
"version": "4.0.7",
"description": "Shopify App Session Storage for PostgreSQL",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6",
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7",
"@types/pg": "^8.11.6"
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-prisma

## 5.1.4

## 5.1.3

## 5.1.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-prisma",
"version": "5.1.3",
"version": "5.1.4",
"description": "Shopify App Session Storage for Prisma",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"@prisma/client": "^5.20.0",
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6",
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7",
"prisma": "^5.20.0"
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# @shopify/shopify-app-session-storage-redis

## 4.2.0

### Minor Changes

- 9cb261e: Fixed saving/loading online access info and associated user data for redis

<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.1.2

## 4.1.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-redis",
"version": "4.1.2",
"version": "4.2.0",
"description": "Shopify App Session Storage for Redis",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6"
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7"
},
"files": [
"dist/*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-sqlite

## 4.0.7

## 4.0.6

## 4.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-sqlite",
"version": "4.0.6",
"version": "4.0.7",
"description": "Shopify App Session Storage for SQLite",
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +51,7 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-app-session-storage-test-utils": "^3.0.6",
"@shopify/shopify-app-session-storage-test-utils": "^3.0.7",
"@types/sqlite3": "^3.1.8"
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @shopify/shopify-app-session-storage-test-utils

## 3.0.7

## 3.0.6

## 3.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/shopify-app-session-storage-test-utils",
"version": "3.0.6",
"version": "3.0.7",
"description": "Utilities for testing Shopify App Session Storage",
"repository": {
"type": "git",
Expand Down Expand Up @@ -49,8 +49,8 @@
"@shopify/shopify-app-session-storage": "^3.0.0"
},
"devDependencies": {
"@shopify/shopify-api": "^11.4.1",
"@shopify/shopify-app-session-storage": "^3.0.6"
"@shopify/shopify-api": "^11.5.0",
"@shopify/shopify-app-session-storage": "^3.0.7"
},
"files": [
"dist/*",
Expand Down
Loading

0 comments on commit 15798af

Please sign in to comment.