Skip to content

Commit

Permalink
Fixing changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomarg committed Oct 13, 2023
1 parent 479c309 commit 45b8ce7
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 24 deletions.
39 changes: 37 additions & 2 deletions packages/shopify-app-express/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,50 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.

This upgrade does not require any code changes.

#### Changes to the `ShopifyApp` type

Previously, the `ShopifyApp` type accepted 2 generic types: the REST resources and the session storage class.
In v3, that type accepts 1 generic: the params given to the `shopifyApp()` function, which contains both of the previous types, and more.

Apps shouldn't need to use that type directly since `shopifyApp()` is able to extract the types from the parameters it's given.
If you need to explicitly set those generics, you'll need to use the `AppConfigParams` type.

<details>
<summary>See an example</summary>

Before:

```ts
import {ShopifyApp} from '@shopify/shopify-app-express';
import {restResources} from '@shopify/shopify-api/rest/admin/2023-10';
import {MemorySessionStorage} from '@shopify/shopify-app-session-storage-memory';

const myVariable: ShopifyApp<typeof restResources, MemorySessionStorage>;
```

After:

```ts
import {ShopifyApp, AppConfigParams} from '@shopify/shopify-app-express';
import {restResources} from '@shopify/shopify-api/rest/admin/2023-10';
import {MemorySessionStorage} from '@shopify/shopify-app-session-storage-memory';

const myVariable: ShopifyApp<
AppConfigParams<typeof restResources, MemorySessionStorage>
>;
```

</details>

### Patch Changes

- a69d6fc: Updating dependency on @shopify/shopify-api to v.8.0.1
Expand Down
1 change: 1 addition & 0 deletions packages/shopify-app-express/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export * from './types';
export * from './auth/types';
export * from './middlewares/types';
export * from './webhooks/types';
export {AppConfigParams} from './config-types';

type DefaultedConfigs<Params extends Partial<ApiConfigParams> | undefined> =
ApiConfigParams & Params;
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-dynamodb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-kv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-memory/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-mysql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-postgresql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-prisma/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-redis/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage-sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/shopify-app-session-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Major Changes

- f837060: ### Removed support for Node 14
- f837060: **Removed support for Node 14**

Node 14 has reached it's [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Node 14 has reached its [EOL](https://endoflife.date/nodejs), and dependencies to this package no longer work on Node 14.
Because of that, we can no longer support that version.

If your app is running on Node 14, you'll need to update to a more recent version before upgrading this package.
Expand Down

0 comments on commit 45b8ce7

Please sign in to comment.