Skip to content

Commit 5134b01

Browse files
committed
Add support for 2024-07 API version
1 parent a64f7dd commit 5134b01

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
Note: For changes to the API, see https://shopify.dev/changelog?filter=api
44

55
## Unreleased
6+
67
- [#1320](https://github.com/Shopify/shopify-api-ruby/pull/1320) Fix sorbet type on Shop.tax_shipping field
8+
- [#1325](https://github.com/Shopify/shopify-api-ruby/pull/1325) Add support for 2024-07 API version
79

810
## 14.3.0
11+
912
- [#1312](https://github.com/Shopify/shopify-api-ruby/pull/1312) Use same leeway for `exp` and `nbf` when parsing JWT
1013
- [#1313](https://github.com/Shopify/shopify-api-ruby/pull/1313) Fix: Webhook Registry now working with response_as_struct enabled
1114
- [#1314](https://github.com/Shopify/shopify-api-ruby/pull/1314)
@@ -17,9 +20,11 @@ Note: For changes to the API, see https://shopify.dev/changelog?filter=api
1720
- `expires_at` alias for `exp` - returns the expiration time
1821

1922
## 14.2.0
23+
2024
- [#1309](https://github.com/Shopify/shopify-api-ruby/pull/1309) Add `Session#copy_attributes_from` method
2125

2226
## 14.1.0
27+
2328
- [#1071](https://github.com/Shopify/shopify-api-ruby/issues/1071) Fix FulfillmentEvent class types
2429
- Fix: InventoryItem class `harmonized_system_code` attribute type which can be either integer, string or nil
2530
- Fix: Variant class `inventory_quantity` attribute type which can be either integer, string or nil
@@ -28,17 +33,20 @@ Note: For changes to the API, see https://shopify.dev/changelog?filter=api
2833
- [1305](https://github.com/Shopify/shopify-api-ruby/pull/1305/) Adds support for the `2024-04` API version.
2934

3035
## 14.0.1
36+
3137
- [#1288](https://github.com/Shopify/shopify-api-ruby/pull/1288) Fix FeatureDeprecatedError being raised without a message.
3238
- [1290](https://github.com/Shopify/shopify-api-ruby/pull/1290) Move deprecation of `ShopifyAPI::Webhooks::Handler#handle` to version 15.0.0
3339

3440
## 14.0.0
41+
3542
- [#1274](https://github.com/Shopify/shopify-api-ruby/pull/1274) ⚠️ [Breaking] Update sorbet and rbi dependencies. Remove support for ruby 2.7. Minimum required Ruby version is 3.0
3643
- [#1282](https://github.com/Shopify/shopify-api-ruby/pull/1282) Fixes a bug where diffing attributes to update not take into account of Array changes and required ids.
3744
- [#1254](https://github.com/Shopify/shopify-api-ruby/pull/1254) Introduce token exchange API for fetching access tokens. This feature is currently unstable and cannot be used yet.
3845
- [#1268](https://github.com/Shopify/shopify-api-ruby/pull/1268) Add [new webhook handler interface](https://github.com/Shopify/shopify-api-ruby/blob/main/docs/usage/webhooks.md#create-a-webhook-handler) to provide `webhook_id ` and `api_version` information to webhook handlers.
3946
- [#1275](https://github.com/Shopify/shopify-api-ruby/pull/1275) Allow adding custom headers in REST Resource HTTP calls.
4047

4148
## 13.4.0
49+
4250
- [#1210](https://github.com/Shopify/shopify-api-ruby/pull/1246) Add context option `response_as_struct` to allow GraphQL API responses to be accessed via dot notation.
4351
- [#1257](https://github.com/Shopify/shopify-api-ruby/pull/1257) Add `api_call_limit` and `retry_request_after` to REST resources to expose rate limit information.
4452
- [#1257](https://github.com/Shopify/shopify-api-ruby/pull/1257) Added support for the 2024-01 API version. This also includes a fix for the `for_hash` option when creating resources.

lib/shopify_api/admin_versions.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module ShopifyAPI
55
module AdminVersions
66
SUPPORTED_ADMIN_VERSIONS = T.let([
77
"unstable",
8+
"2024-07",
89
"2024-04",
910
"2024-01",
1011
"2023-10",
@@ -17,7 +18,7 @@ module AdminVersions
1718
"2022-01",
1819
], T::Array[String])
1920

20-
LATEST_SUPPORTED_ADMIN_VERSION = T.let("2024-04", String)
21+
LATEST_SUPPORTED_ADMIN_VERSION = T.let("2024-07", String)
2122
end
2223

2324
SUPPORTED_ADMIN_VERSIONS = ShopifyAPI::AdminVersions::SUPPORTED_ADMIN_VERSIONS

0 commit comments

Comments
 (0)