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

Commit

Permalink
Add 2023-04 version, remove deprecated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomarg committed Apr 4, 2023
1 parent c429e61 commit 8acc71d
Show file tree
Hide file tree
Showing 300 changed files with 9 additions and 49,742 deletions.
7 changes: 7 additions & 0 deletions .changeset/itchy-boxes-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@shopify/shopify-api': major
---

Adding support for 2023-04 API version.

⚠️ [Breaking] Removing support for 2022-04 and 2022-07 API versions.
5 changes: 2 additions & 3 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ export enum LogSeverity {
}

export enum ApiVersion {
January22 = '2022-01',
April22 = '2022-04',
July22 = '2022-07',
October22 = '2022-10',
January23 = '2023-01',
April23 = '2023-04',
Unstable = 'unstable',
}

export const LIBRARY_NAME = 'Shopify API Library';
export const LATEST_API_VERSION = ApiVersion.January23;
export const LATEST_API_VERSION = ApiVersion.April23;

/* eslint-disable @shopify/typescript/prefer-pascal-case-enums */
export enum ShopifyHeader {
Expand Down
108 changes: 0 additions & 108 deletions rest/admin/2022-01/abandoned_checkout.ts

This file was deleted.

44 changes: 0 additions & 44 deletions rest/admin/2022-01/access_scope.ts

This file was deleted.

65 changes: 0 additions & 65 deletions rest/admin/2022-01/android_pay_key.ts

This file was deleted.

93 changes: 0 additions & 93 deletions rest/admin/2022-01/apple_pay_certificate.ts

This file was deleted.

Loading

0 comments on commit 8acc71d

Please sign in to comment.