Releases: Shopify/shopify-app-js
@shopify/shopify-app-session-storage-dynamodb@4.0.8
@shopify/shopify-app-session-storage-drizzle@2.0.8
Patch Changes
- bad62cc: Updated
tslib
dependencies
@shopify/shopify-app-remix@3.4.0
Minor Changes
-
9b217e5: Adds API to update the capped amount for a usage billing plan.
A new billing helper function has been added to update the capped amount for a usage billing plan. This function redirects to a confirmation page where the merchant can confirm the update.
await billing.updateUsageCappedAmount({ subscriptionLineItemId: 'gid://shopify/AppSubscriptionLineItem/12345?v=1&index=1', cappedAmount: { amount: 10, currencyCode: 'USD', }, });
Learn more about App Billing.
Patch Changes
-
59896e3: Updated
isbot
dependencies -
5c01460: Adding toggle parameter flag to return implied scopes from Remix API Query by returning original scopes from AuthScopes instantiation
Example:
const scopes = new AuthScopes(['read_customers', 'write_customers', 'read_products', 'write_channels']);
scopes.toArray() returns ['write_customers', 'read_products', 'write_channels']
scopes.toArray(true) returns ['read_customers', 'write_customers', 'read_products', 'write_channels'] -
Updated dependencies [50634c0]
-
Updated dependencies [59896e3]
-
Updated dependencies [2e396f3]
-
Updated dependencies [5efb3a2]
-
Updated dependencies [cd0b3e1]
-
Updated dependencies [bad62cc]
-
Updated dependencies [10f4fd0]
-
Updated dependencies [5c01460]
- @shopify/shopify-api@11.6.0
- @shopify/shopify-app-session-storage@3.0.8
- @shopify/admin-api-client@1.0.4
- @shopify/storefront-api-client@1.0.3
@shopify/shopify-app-express@5.0.8
Patch Changes
- 2e396f3: Updated
express
dependencies - 0b3526d: Updated
cookie-parser
dependencies - 5efb3a2: Updated
express
dependencies - 2faad6c: Changing common connection logs from info level to debug to avoid spam
- Updated dependencies [50634c0]
- Updated dependencies [59896e3]
- Updated dependencies [2e396f3]
- Updated dependencies [5efb3a2]
- Updated dependencies [cd0b3e1]
- Updated dependencies [bad62cc]
- Updated dependencies [10f4fd0]
- Updated dependencies [5c01460]
- @shopify/shopify-api@11.6.0
- @shopify/shopify-app-session-storage@3.0.8
- @shopify/shopify-app-session-storage-memory@4.0.8
@shopify/shopify-api@11.6.0
Minor Changes
-
50634c0: Adds API to update the capped amount for a usage billing plan.
A new billing helper function has been added to update the capped amount for a usage billing plan.
const response = await shopify.billing.updateUsageCappedAmount({ session, subscriptionLineItemId: 'gid://shopify/AppSubscriptionLineItem/1234567890', cappedAmount: { amount: 100, currencyCode: 'USD', }, }); console.log(response);
Learn more about App Billing.
-
5c01460: Adding toggle parameter flag to return implied scopes from Remix API Query by returning original scopes from AuthScopes instantiation
Example:
const scopes = new AuthScopes(['read_customers', 'write_customers', 'read_products', 'write_channels']);
scopes.toArray() returns ['write_customers', 'read_products', 'write_channels']
scopes.toArray(true) returns ['read_customers', 'write_customers', 'read_products', 'write_channels']
Patch Changes
- 59896e3: Updated
isbot
dependencies - 2e396f3: Updated
express
dependencies - 5efb3a2: Updated
express
dependencies - cd0b3e1: Updated
jose
dependencies - bad62cc: Updated
tslib
dependencies - 10f4fd0: Updated
jose
dependencies - Updated dependencies [f38dfc0]
- @shopify/graphql-client@1.2.1
- @shopify/admin-api-client@1.0.4
- @shopify/storefront-api-client@1.0.3
@shopify/graphql-client@1.2.1
Patch Changes
- f38dfc0: Improved error messages when validating store domain urls
@shopify/api-codegen-preset@1.1.2
@shopify/admin-api-client@1.0.4
Patch Changes
- Updated dependencies [f38dfc0]
- @shopify/graphql-client@1.2.1
@shopify/shopify-app-session-storage@3.0.7
@shopify/shopify-app-session-storage@3.0.7
@shopify/shopify-app-session-storage-sqlite@4.0.7
@shopify/shopify-app-session-storage-sqlite@4.0.7