Node.js SDK changes
3.56.1
Released: 2024-12-25
- Added: offline mode
3.56.0
Released: 2024-12-17
Coupon discount changes:
- Added:
SubscriptionCouponDiscountInput.amounts_off
- Added:
SubscriptionCouponDiscountInput.description
- Added:
SubscriptionCouponDiscountInput.duration_in_months
- Added:
SubscriptionCouponDiscountInput.name
- Added:
SubscriptionCouponDiscountInput.percent_off
Usage history changes:
- Added:
getUsageHistoryV2
- π‘ Deprecated:
fetchUsageHistory
(please usegetUsageHistoryV2
instead) - Changed:
- Input Object
- New field -
groupBy
list of dimensions to group usage history by.
- New field -
- Output Object
result[i].date
renamed toseries[0].point[i].timestamp
result[i].value
renamed toseries[0].point[i].value
result[i].isResetPoint
renamed toseries[0].point[i].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
- New field
markers
- array of markers for usage reset reason (periodic change / plan transition)
- Input Object
3.55.0
Released: 2024-12-08
- Added: ability to override prices when there's a scheduled update in place
3.54.0
Released: 2024-12-02
- Added:
provisionSubscription.priceOverrides
- Added:
applySubscription.priceOverrides
3.51.0
Released: 2024-11-21
- Added: support for price localization in fixed fee coupons
3.50.2
Released: 2024-11-20
- Added:
delegateSubscriptionToCustomer()
- Added:
transferSubscriptionToResource()
- π‘ Deprecated:
transferSubscription()
method (please usetransferSubscriptionToResource()
instead)
3.50.1
released: 2024-10-16
- Fixed: when access to entitlement was denied due to the reaching of a budget cap,
getMeteredEntitlements
returnedAccessDeniedReason.UNSPECIFIED
instead ofAccessDeniedReason.BudgetExceeded
.
3.50.0
Released: 2024-10-14
- Added: ability to estimate the subscription cost when the payment of the subscription is delegated to a different customer using:
previewSubscription.payingCustomerId
,estimateSubscription.payingCustomerId
estimateSubscriptionUpdate.payingCustomerId
3.48.0
Released: 2024-10-08
- Added: ability to more easily determine the usage period of metered entitlements using:
Entitlement.usagePeriodStart
Entitlement.usagePeriodEnd
- π‘ Deprecated:
Entitlement.nextResetDate
field
3.45.0
Released: 2024-09-02
- Added: ability to delegate payment of a provisioned subscription to a different customer using:
provisionSubscription.payingCustomerId
applySubscription.payingCustomerId
SlimSubscriptionFragmentV2Fragment.payingCustomer
FullSubscription.payingCustomer
3.44.0
Released: 2024-08-27
- Added: ability to apply a coupon to a subscription using the Stigg coupon ID using:
provisionSubscription.appliedCoupon
applySubscription.appliedCoupon
updateSubscription.appliedCoupon
previewSubscription.appliedCoupon
estimateSubscription.appliedCoupon
estimateSubscriptionUpdate.appliedCoupon
3.38.0
Released: 2024-07-01
- Changed:
UpdateSubscription.subscriptionEntitlements
does not require the full list of entitlements when only needing to add or update specific entitlements
3.36.0
Released: 2024-06-24
- Bug fixes
3.35.0
Released: 2024-06-20
- Bug fixes
3.33.0
Released: 2024-06-20
- Added: ability to get the list of active subscriptions from Edge using
getActiveSubscriptionsList()
3.32.0
Released: 2024-06-18
- Added: ability to get the details of a specific subscription using
getSubscription()
3.23.0
Released: 2024-05-02
- Added: ability to ignore customer and subscriptions that have been updated since the last import by passing
ImportCustomer.updatedAt
andImportSubscriptionInput.updatedAt
3.11.0
Released: 2024-03-17
- Added: ability to provision backdated subscriptions using
SubscriptionBillingInfo.isBackdated
3.9.0
Released: 2024-03-07
- Added: ability to determine the billing period of a specific price using
Price.billingCadence
3.7.1
Released: 2024-03-01
- Added: ability to determine customer's AWS Marketplace ID using
SlimCustomer.awsMarketplaceCustomerId
3.3.0
Released: 2024-01-30
- Added: ability to remove a payment method from a customer using
detachCustomerPaymentMehod()
3.1.0
Released: 2024-01-25
- Added: ability to get plans that are not visible to customers using
GetPaywall.includeHiddenPlans
Updated 27 days ago