Releases: chargebee/chargebee-node
Releases · chargebee/chargebee-node
v3.25.0
v3.25.0 (2026-06-08)
New Attributes:
purchased_athas been added toOmnichannelSubscription.updated_athas been added toOmnichannelSubscription.updated_athas been added toOmnichannelSubscriptionItem.
New Parameters:
customer_id.inhas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.customer_id.not_inhas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.idhas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.id_at_sourcehas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.updated_athas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.purchased_athas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.gift_receiverhas been added as request body parameter toupdate_a_giftinGift.layouthas been added as request body parameter tocheckout_gift_subscription_for_itemsinHostedPage.
Parameter Updates:
scheduled_athas been changed from required to optional inupdate_a_giftofGift.
New Events:
omnichannel_subscription_item_updatedhas been added.omnichannel_subscription_item_recoveredhas been added.
Deleted Resources:
- QuoteEntitlement has been removed.
Deleted Attributes:
entity_idhas been removed fromQuoteEntitlement.entity_typehas been removed fromQuoteEntitlement.feature_idhas been removed fromQuoteEntitlement.valuehas been removed fromQuoteEntitlement.is_enabledhas been removed fromQuoteEntitlement.start_datehas been removed fromQuoteEntitlement.end_datehas been removed fromQuoteEntitlement.created_athas been removed fromQuoteEntitlement.modified_athas been removed fromQuoteEntitlement.
Deleted Parameters:
excludehas been removed as query parameter fromlist_invoicesinInvoice.
New Enums:
omnichannel_subscription_item_updatedandomnichannel_subscription_item_recoveredhave been added as new values enumEventType.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values enumPaymentMethod.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values enumPaymentMethodType.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values enumType.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values to enum attributepayment_method_typeinPaymentIntent.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values to enum attributeactive_payment_attempt.payment_method_typeinPaymentIntent.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values to enum request body parameterpayment_method_typeinupdate_a_payment_intentofPaymentIntent.klarna,alipay_hk,paypay,gcash, andsouth_korean_cardshave been added as new values to enum request body parameterpayment_method_typeincreate_a_payment_intentofPaymentIntent.
v3.24.1
v3.24.1 (2026-06-03)
Bug Fixes:
- Fixed
Content-Lengthheader being computed from the JavaScript string length (UTF-16 code units) instead of the UTF-8 byte length. Requests with non-ASCII payloads (e.g. accented characters, CJK, emoji) under-declaredContent-Lengthand were rejected by Node'sfetch/undici (≥ 7.26.0) withRequest body length does not match content-length header. The header is now computed viaBuffer.byteLength(data, 'utf8'). Resolves #119
Tests:
- ASCII form-urlencoded body —
Content-Lengthmatches the UTF-8 byte length of the serialized body. - Multi-byte JSON body —
Content-Lengthmatches the UTF-8 byte length and is greater than the JS character count, ensuring the regression cannot return.
v3.25.0-beta.1
v3.25.0-beta.1 (2026-05-14)
Experimental
- Zod-backed request validation (beta) — Enable
enableValidationon the client to validate outgoing request payloads against generated Zod schemas before each API call; invalid payloads raiseChargebeeZodValidationErrorwith the originalZodErrorfor inspection. - Runtime dependency — Added
zod(v4) as a dependency to support the above.
v3.24.0
v3.24.0 (2026-05-04)
New Resources:
QuoteEntitlementhas been added.
New Actions:
list_applicable_alerts_for_a_subscriptionhas been added toAlert.retrieve_an_alerthas been added toAlert.update_an_alerthas been added toAlert.delete_an_alerthas been added toAlert.list_alertshas been added toAlert.create_an_alerthas been added toAlert.list_alert_statuses_for_a_subscriptionhas been added toAlertStatus.list_alert_statuses_for_an_alerthas been added toAlertStatus.
New Attributes:
alarm_statushas been added toAlertStatus.
New Parameters:
limithas been added as query parameter tolist_applicable_alerts_for_a_subscriptioninAlert.offsethas been added as query parameter tolist_applicable_alerts_for_a_subscriptioninAlert.statushas been added as query parameter tolist_applicable_alerts_for_a_subscriptioninAlert.typehas been added as query parameter tolist_applicable_alerts_for_a_subscriptioninAlert.limithas been added as query parameter tolist_alertsinAlert.offsethas been added as query parameter tolist_alertsinAlert.idhas been added as query parameter tolist_alertsinAlert.typehas been added as query parameter tolist_alertsinAlert.subscription_idhas been added as query parameter tolist_alertsinAlert.statushas been added as query parameter tolist_alertsinAlert.limithas been added as query parameter tolist_alert_statuses_for_a_subscriptioninAlertStatus.offsethas been added as query parameter tolist_alert_statuses_for_a_subscriptioninAlertStatus.alarm_statushas been added as query parameter tolist_alert_statuses_for_a_subscriptioninAlertStatus.alert_idhas been added as query parameter tolist_alert_statuses_for_a_subscriptioninAlertStatus.limithas been added as query parameter tolist_alert_statuses_for_an_alertinAlertStatus.offsethas been added as query parameter tolist_alert_statuses_for_an_alertinAlertStatus.alarm_statushas been added as query parameter tolist_alert_statuses_for_an_alertinAlertStatus.excludehas been added as query parameter tolist_invoicesinInvoice.thresholdhas been added as request body parameter toupdate_an_alertinAlert.statushas been added as request body parameter toupdate_an_alertinAlert.thresholdhas been added as request body parameter tocreate_an_alertinAlert.filter_conditionshas been added as request body parameter tocreate_an_alertinAlert.typehas been added as request body parameter tocreate_an_alertinAlert.namehas been added as request body parameter tocreate_an_alertinAlert.descriptionhas been added as request body parameter tocreate_an_alertinAlert.metered_feature_idhas been added as request body parameter tocreate_an_alertinAlert.subscription_idhas been added as request body parameter to [create_an_alert](https://apidocs.chargebee.com/docs/a...
v3.23.1
v3.23.1 (2026-04-22)
Bug Fixes
- Fixed missing webhook exports (
WebhookEventType,WebhookContentType,basicAuthValidator, and webhook error classes) from worker entrypoints, causing aSyntaxErrorin Bun and other runtimes that resolve to the worker bundle.
v3.23.0
v3.23.0 (2026-03-27)
New Resources:
Alerthas been added.AlertStatushas been added.CpqQuoteSignaturehas been added.
New Actions:
update_a_quote_signature_statushas been added toQuote.update_a_quote_signaturehas been added toQuote.retrieve_a_quote_signature_signed_pdfhas been added toQuote.retrieve_a_quote_signaturehas been added toQuote.create_a_quote_signaturehas been added toQuote.refresh_a_quote_signature_linkhas been added toQuote.
New Attributes:
reference_idhas been added toEinvoice.provider_referenceshas been added toEinvoice.created_athas been added toUnbilledCharge.
New Parameters:
include_usage_chargeshas been added as query parameter toupcoming_invoices_estimateinEstimate.business_entity_idhas been added as request body parameter tomanage_payment_sourcesinHostedPage.cpq_quote_signaturehas been added as request body parameter toupdate_a_quote_signature_statusinQuote.gateway_account_idhas been added as request body parameter tocreate_a_virtual_bank_accountinVirtualBankAccount.gateway_account_idhas been added as request body parameter tocreate_a_virtual_bank_account_using_permanent_tokeninVirtualBankAccount.
New Events:
alert_status_changedhas been added.
New Enums:
alert_statushas been added as a new value enumEntityType.alert_status_changedhas been added as a new value enumEventType.pixhas been added as a new value enumPaymentMethod.pixhas been added as a new value enumPaymentMethodType.pixandusage_exceededhave been added as new values enumType.enabledanddisabledhave been added as new values to enum attributestatusinAlert.globalandsubscriptionhave been added as new values to enum attributescopeinAlert.draft,active,signed,expired,cancelled, anddeclinedhave been added as new values to enum attributestatusinCpqQuoteSignature.esign_and_pay,esign, andpayhave been added as new values to enum attributecustomer_acceptance_methodinCpqQuoteSignature.consolidatedanddetailedhave been added as new values to enum attributequote_typeinCpqQuoteSignature.pixhas been added as a new value to enum attributepayment_method_typeinPaymentIntent.pixhas been added as a new value to enum attributeactive_payment_attempt.payment_method_typeinPaymentIntent.pixhas been added as a new value to enum request body parameterpayment_method_typeinupdate_a_payment_intentofPaymentIntent.pixhas been added as a new value to enum request body parameterpayment_method_typeincreate_a_payment_intentofPaymentIntent.expired,declined,draft,active,signed, andcancelledhave been added as new values to enum request body parametercpq_quote_signature.statusinupdate_a_quote_signature_statusofQuote.
v3.22.1
v3.22.1 (2026-03-09)
Bug Fixes:
- Fixed GET requests incorrectly sending a request body. Parameters are now only serialized into the request body for non-GET requests.
Tests:
- GET list request — body must be empty.
- GET retrieve request — body must be empty.
- GET with params — params go into the query string, not the body.
- POST request — body is correctly populated with encoded params.
v3.22.0
v3.22.0 (2026-03-02)
New Resources:
UsageChargehas been added.UsageSummaryhas been added.
New Attributes:
free_periodhas been added toQuotedSubscription.free_period_unithas been added toQuotedSubscription.
New Parameters:
net_term_dayshas been added as request body parameter tocreate_invoice_for_items_and_one-time_chargesinInvoice.contract_termhas been added as request body parameter tocreate_pricing_page_for_existing_subscriptioninPricingPageSession.contract_termhas been added as request body parameter tocreate_pricing_page_for_new_subscriptioninPricingPageSession.subscription.free_periodhas been added as request body parameter tocreate_a_quote_for_a_new_subscription_itemsinQuote.subscription.free_period_unithas been added as request body parameter tocreate_a_quote_for_a_new_subscription_itemsinQuote.subscription.free_periodhas been added as request body parameter toedit_create_subscription_quote_for_itemsinQuote.subscription.free_period_unithas been added as request body parameter toedit_create_subscription_quote_for_itemsinQuote.
New Enums:
month,week,day,hour, andminutehave been added as new values enumWindowSize.cancel,renew_once,renew, andevergreenhave been added as new values to enum request body parametercontract_term.action_at_term_endincreate_pricing_page_for_existing_subscriptionofPricingPageSession.cancel,renew_once,renew, andevergreenhave been added as new values to enum request body parametercontract_term.action_at_term_endincreate_pricing_page_for_new_subscriptionofPricingPageSession.