Skip to content

Release v3.29.0#127

Merged
cb-alish merged 3 commits into
masterfrom
release-v3.29.0
Jul 21, 2026
Merged

Release v3.29.0#127
cb-alish merged 3 commits into
masterfrom
release-v3.29.0

Conversation

@cb-alish

@cb-alish cb-alish commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

v3.29.0 (2026-07-21)

New Resources:

New Attributes:

New Parameters:

Parameter Updates:

New Events:

Deleted Attributes:

New Enums:

  • real_time_payments has been added as a new value enum DunningType.
  • payment_source_business_entity_changed has been added as a new value enum EventType.
  • paynow, bizum, and promptpay have been added as new values enum PaymentMethod.
  • paynow, bizum, and promptpay have been added as new values enum PaymentMethodType.
  • active, archived, and deleted have been added as new values enum Status.
  • zero_rated, region_non_taxable, product_exempt, high_value_physical_goods, zero_value_item, and tax_not_configured_external_provider have been added as new values enum TaxOverrideReason.
  • paynow, bizum, promptpay, simple, compound, and spend_exceeded have been added as new values enum Type.
  • success and failed have been added as new values to enum attribute status in AsyncResponse.
  • number and string have been added as new values to enum attribute data_type in ColumnDefinition.
  • simple and compound have been added as new values to enum attribute type in Meter.
  • active, archived, and deleted have been added as new values to enum attribute status in Meter.
  • paynow, bizum, and promptpay have been added as new values to enum attribute payment_method_type in PaymentIntent.
  • paynow, bizum, and promptpay have been added as new values to enum attribute active_payment_attempt.payment_method_type in PaymentIntent.
  • cb_js, components_fields, checkout_v3, paynow_v3, portal_v3, gift_v3, checkout_v4, payment_component, pc_inapp_v4, and pc_fpc_v4 have been added as new values to enum attribute payment_intent_metadata.source in PaymentIntent.
  • adjusted_term, service_period_revision, delta, and reset have been added as new values to enum request body parameter line_items.proration_mode in import_credit_note of CreditNote.
  • true and false have been added as new values to enum query parameter metered.is in list_features of Feature.
  • adjusted_term, service_period_revision, delta, and reset have been added as new values to enum request body parameter line_items.proration_mode in import_invoice of Invoice.
  • updated_at, name, created_at, and id have been added as new values to enum query parameter sort_by.asc in list_all_available_meters of Meter.
  • updated_at, name, created_at, and id have been added as new values to enum query parameter sort_by.desc in list_all_available_meters of Meter.
  • number and string have been added as new values to enum request body parameter column_definitions.data_type in create_a_metered_feature of MeteredFeature.
  • paynow, bizum, and promptpay have been added as new values to enum request body parameter payment_method_type in update_a_payment_intent of PaymentIntent.
  • paynow, bizum, and promptpay have been added as new values to enum request body parameter payment_method_type in create_a_payment_intent of PaymentIntent.
  • true and false have been added as new values to enum query parameter decommissioned.is in list_subscriptions of Subscription.

Released v3.29.0 with new AsyncResponse, AsyncResponseList, ColumnDefinition, Meter, and MeteredFeature resources, expanded request/response typings and enum values (including payment-method and proration support), added webhook typing for payment_source_business_entity_changed, and removed LedgerOperation start/end balances; also adjusted telemetry error handling.

cb-alish and others added 2 commits July 21, 2026 12:00
Co-authored-by: Cursor <cursoragent@cursor.com>
@snyk-io

snyk-io Bot commented Jul 21, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues
Secrets 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 722bac42-469f-42a7-81bd-9dedb80af6e1

📥 Commits

Reviewing files that changed from the base of the PR and between 535e4c7 and cdcb664.

📒 Files selected for processing (23)
  • src/schema/alert.schema.ts
  • src/schema/credit_note.schema.ts
  • src/schema/customer.schema.ts
  • src/schema/estimate.schema.ts
  • src/schema/event.schema.ts
  • src/schema/export.schema.ts
  • src/schema/feature.schema.ts
  • src/schema/gift.schema.ts
  • src/schema/invoice.schema.ts
  • src/schema/item.schema.ts
  • src/schema/item_family.schema.ts
  • src/schema/item_price.schema.ts
  • src/schema/meter.schema.ts
  • src/schema/omnichannel_subscription.schema.ts
  • src/schema/payment_intent.schema.ts
  • src/schema/payment_source.schema.ts
  • src/schema/price_variant.schema.ts
  • src/schema/purchase.schema.ts
  • src/schema/ramp.schema.ts
  • src/schema/recorded_purchase.schema.ts
  • src/schema/subscription.schema.ts
  • src/schema/transaction.schema.ts
  • src/schema/webhook_endpoint.schema.ts
💤 Files with no reviewable changes (1)
  • src/schema/feature.schema.ts

Walkthrough

The 3.29.0 release adds metering resources and endpoints, expands webhook and resource typings, updates API enums and parameters, removes deprecated attributes, changes telemetry error mapping, and synchronizes package version metadata.

Changes

API resources and release wiring

Layer / File(s) Summary
New resources and endpoint wiring
types/resources/AsyncResponse*.d.ts, types/resources/ColumnDefinition.d.ts, types/resources/Meter*.d.ts, src/resources/api_endpoints.ts, types/index.d.ts
Adds async response, column definition, meter, and metered feature declarations, endpoint registrations, and public Chargebee resource properties.
Release metadata
VERSION, package.json, src/environment.ts, CHANGELOG.md
Updates project and client versions to 3.29.0 and documents the API surface changes.

Webhook and type contracts

Layer / File(s) Summary
Webhook event contract
src/resources/webhook/*, src/schema/event.schema.ts, src/schema/webhook_endpoint.schema.ts, types/resources/WebhookEvent.d.ts, types/resources/Event.d.ts, types/core.d.ts
Adds the payment_source_business_entity_changed event and its typed payload mapping, filters, and endpoint configuration support.
Shared enum and resource type updates
src/schema/*.schema.ts, types/core.d.ts, types/resources/*.d.ts
Expands resource fields, request parameters, payment method unions, proration modes, metadata shapes, filters, and shared enums; removes obsolete ledger and grant fields.

Telemetry error attributes

Layer / File(s) Summary
Telemetry error attributes
src/telemetry/TelemetryAdapter.ts, test/requestWrapper.test.ts
Uses Chargebee API error types for telemetry and updates the failed-request expectation.

Estimated code review effort: 3 (Moderate) | ~25 minutes

🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/resources/webhook/content.ts`:
- Around line 801-805: Update the PaymentSourceBusinessEntityChangedContent
interface to use the webhook payload’s snake_case property names, changing
BusinessEntityTransfer to business_entity_transfer and PaymentSource to
payment_source while preserving their existing Chargebee types.

In `@src/telemetry/TelemetryAdapter.ts`:
- Around line 168-181: Update the error-normalization logic in TelemetryAdapter
so the Error instance check occurs before the null/object-type guard. Return `{
message: err.message }` immediately for native Error instances, then apply the
existing object extraction only to non-Error objects and preserve the current
undefined behavior for null and non-object values.

In `@types/resources/MeteredFeature.d.ts`:
- Around line 9-10: Update the type and status properties in MeteredFeature to
derive their types from Meter: use Meter['type'] for type and
NonNullable<Meter['status']> for status, replacing the broader TypeEnum and
StatusEnum references.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: da1a3574-12e1-46ee-ac1b-9ebf66574e6c

📥 Commits

Reviewing files that changed from the base of the PR and between 6d7e86b and 535e4c7.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (42)
  • CHANGELOG.md
  • VERSION
  • package.json
  • src/chargebee.cjs.ts
  • src/environment.ts
  • src/resources/api_endpoints.ts
  • src/resources/webhook/content.ts
  • src/resources/webhook/eventType.ts
  • src/telemetry/TelemetryAdapter.ts
  • test/requestWrapper.test.ts
  • types/core.d.ts
  • types/index.d.ts
  • types/resources/Alert.d.ts
  • types/resources/AsyncResponse.d.ts
  • types/resources/AsyncResponseList.d.ts
  • types/resources/ColumnDefinition.d.ts
  • types/resources/Content.d.ts
  • types/resources/CreditNote.d.ts
  • types/resources/CreditNoteEstimate.d.ts
  • types/resources/Customer.d.ts
  • types/resources/Estimate.d.ts
  • types/resources/Event.d.ts
  • types/resources/Export.d.ts
  • types/resources/Feature.d.ts
  • types/resources/Gift.d.ts
  • types/resources/GrantBlock.d.ts
  • types/resources/Invoice.d.ts
  • types/resources/InvoiceEstimate.d.ts
  • types/resources/LedgerOperation.d.ts
  • types/resources/Meter.d.ts
  • types/resources/MeteredFeature.d.ts
  • types/resources/PaymentIntent.d.ts
  • types/resources/PaymentSource.d.ts
  • types/resources/PromotionalGrant.d.ts
  • types/resources/Purchase.d.ts
  • types/resources/Quote.d.ts
  • types/resources/QuoteLineGroup.d.ts
  • types/resources/QuotedCharge.d.ts
  • types/resources/Ramp.d.ts
  • types/resources/RecordedPurchase.d.ts
  • types/resources/Subscription.d.ts
  • types/resources/WebhookEvent.d.ts

Comment thread src/resources/webhook/content.ts
Comment thread src/telemetry/TelemetryAdapter.ts
Comment thread types/resources/MeteredFeature.d.ts
@cb-alish
cb-alish merged commit 080a355 into master Jul 21, 2026
9 checks passed
@cb-alish
cb-alish deleted the release-v3.29.0 branch July 21, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants