Skip to content

Releases: chargebee/chargebee-node

v3.25.0

08 Jun 06:45
1a10ac8

Choose a tag to compare

v3.25.0 (2026-06-08)

New Attributes:

New Parameters:

Parameter Updates:

New Events:

Deleted Resources:

  • QuoteEntitlement has been removed.

Deleted Attributes:

  • entity_id has been removed from QuoteEntitlement.
  • entity_type has been removed from QuoteEntitlement.
  • feature_id has been removed from QuoteEntitlement.
  • value has been removed from QuoteEntitlement.
  • is_enabled has been removed from QuoteEntitlement.
  • start_date has been removed from QuoteEntitlement.
  • end_date has been removed from QuoteEntitlement.
  • created_at has been removed from QuoteEntitlement.
  • modified_at has been removed from QuoteEntitlement.

Deleted Parameters:

New Enums:

  • omnichannel_subscription_item_updated and omnichannel_subscription_item_recovered have been added as new values enum EventType.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values enum PaymentMethod.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values enum PaymentMethodType.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values enum Type.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values to enum attribute payment_method_type in PaymentIntent.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values to enum attribute active_payment_attempt.payment_method_type in PaymentIntent.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values to enum request body parameter payment_method_type in update_a_payment_intent of PaymentIntent.
  • klarna, alipay_hk, paypay, gcash, and south_korean_cards have been added as new values to enum request body parameter payment_method_type in create_a_payment_intent of PaymentIntent.

v3.24.1

03 Jun 07:33
9ec5d72

Choose a tag to compare

v3.24.1 (2026-06-03)


Bug Fixes:

  • Fixed Content-Length header 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-declared Content-Length and were rejected by Node's fetch/undici (≥ 7.26.0) with Request body length does not match content-length header. The header is now computed via Buffer.byteLength(data, 'utf8'). Resolves #119

Tests:

  • ASCII form-urlencoded body — Content-Length matches the UTF-8 byte length of the serialized body.
  • Multi-byte JSON body — Content-Length matches the UTF-8 byte length and is greater than the JS character count, ensuring the regression cannot return.

v3.25.0-beta.1

14 May 06:43

Choose a tag to compare

v3.25.0-beta.1 Pre-release
Pre-release

v3.25.0-beta.1 (2026-05-14)


Experimental

  • Zod-backed request validation (beta) — Enable enableValidation on the client to validate outgoing request payloads against generated Zod schemas before each API call; invalid payloads raise ChargebeeZodValidationError with the original ZodError for inspection.
  • Runtime dependency — Added zod (v4) as a dependency to support the above.

v3.24.0

04 May 07:10
757fbe5

Choose a tag to compare

v3.24.0 (2026-05-04)

New Resources:

New Actions:

New Attributes:

New Parameters:

Read more

v3.23.1

22 Apr 06:19
b22cf83

Choose a tag to compare

v3.23.1 (2026-04-22)


Bug Fixes

  • Fixed missing webhook exports (WebhookEventType, WebhookContentType, basicAuthValidator, and webhook error classes) from worker entrypoints, causing a SyntaxError in Bun and other runtimes that resolve to the worker bundle.

v3.23.0

27 Mar 06:16
567398c

Choose a tag to compare

v3.23.0 (2026-03-27)

New Resources:

New Actions:

New Attributes:

New Parameters:

New Events:

New Enums:

v3.22.1

09 Mar 09:49
40c9de6

Choose a tag to compare

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

02 Mar 09:42
19290e5

Choose a tag to compare

v3.22.0 (2026-03-02)

New Resources:

New Attributes:

New Parameters:

New Enums:

v3.21.1

20 Feb 11:46
ddd6f6e

Choose a tag to compare

v3.21.1 (2026-02-20)


Core Changes:

  • Added new core utility method.

v3.21.0

11 Feb 10:47
58b7f23

Choose a tag to compare

v3.21.0 (2026-02-11)


🚀 New Feature

  • Added webhook handler support. Refer to the README.md for more details.