Release v3.26.0#128
Merged
Merged
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
WalkthroughChargebee Python v3.26.0 adds async, meter, metered-feature, and column-definition resources; expands model fields, enums, filters, and request metadata; normalizes operation model declarations; and updates package version metadata. ChangesAPI v3.26.0
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Client
participant Chargebee
participant Meter
participant MeteredFeature
participant RequestAPI
Client->>Chargebee: initialize SDK
Chargebee->>Meter: expose meter resource
Chargebee->>MeteredFeature: expose metered feature resource
Client->>Meter: list meters
Meter->>RequestAPI: send list request
RequestAPI-->>Meter: return paginated meter response
Client->>MeteredFeature: create or change feature
MeteredFeature->>RequestAPI: send idempotent operation request
RequestAPI-->>MeteredFeature: return typed operation response
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@chargebee/models/alert_status/operations.py`:
- Line 39: Restore the exact camelCase operation identifiers in the alert-status
operations, updating both subscription and alert variants from snake_case to
alertStatusesForSubscription and alertStatusesForAlert. Preserve these
identifiers when forwarding requests into telemetry context.
🪄 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: ab52d24f-36db-4fdc-990f-98fcc92af8f4
📒 Files selected for processing (107)
CHANGELOG.mdVERSIONchargebee/main.pychargebee/models/__init__.pychargebee/models/addon/operations.pychargebee/models/address/operations.pychargebee/models/alert/operations.pychargebee/models/alert/responses.pychargebee/models/alert_status/operations.pychargebee/models/async_response/__init__.pychargebee/models/async_response/operations.pychargebee/models/async_response/responses.pychargebee/models/async_response_list/__init__.pychargebee/models/async_response_list/operations.pychargebee/models/async_response_list/responses.pychargebee/models/attached_item/operations.pychargebee/models/business_entity/operations.pychargebee/models/card/operations.pychargebee/models/column_definition/__init__.pychargebee/models/column_definition/operations.pychargebee/models/column_definition/responses.pychargebee/models/comment/operations.pychargebee/models/configuration/operations.pychargebee/models/coupon/operations.pychargebee/models/coupon_code/operations.pychargebee/models/coupon_set/operations.pychargebee/models/credit_note/operations.pychargebee/models/credit_note/responses.pychargebee/models/credit_note_estimate/operations.pychargebee/models/credit_note_estimate/responses.pychargebee/models/currency/operations.pychargebee/models/customer/operations.pychargebee/models/customer_entitlement/operations.pychargebee/models/differential_price/operations.pychargebee/models/entitlement/operations.pychargebee/models/entitlement_override/operations.pychargebee/models/enums.pychargebee/models/estimate/operations.pychargebee/models/event/operations.pychargebee/models/export/operations.pychargebee/models/feature/operations.pychargebee/models/feature/responses.pychargebee/models/gift/operations.pychargebee/models/grant_block/operations.pychargebee/models/grant_block/responses.pychargebee/models/hosted_page/operations.pychargebee/models/in_app_subscription/operations.pychargebee/models/invoice/operations.pychargebee/models/invoice/responses.pychargebee/models/invoice_estimate/operations.pychargebee/models/invoice_estimate/responses.pychargebee/models/item/operations.pychargebee/models/item_entitlement/operations.pychargebee/models/item_family/operations.pychargebee/models/item_price/operations.pychargebee/models/ledger_account_balance/operations.pychargebee/models/ledger_operation/operations.pychargebee/models/ledger_operation/responses.pychargebee/models/meter/__init__.pychargebee/models/meter/operations.pychargebee/models/meter/responses.pychargebee/models/metered_feature/__init__.pychargebee/models/metered_feature/operations.pychargebee/models/metered_feature/responses.pychargebee/models/offer_event/operations.pychargebee/models/offer_fulfillment/operations.pychargebee/models/omnichannel_one_time_order/operations.pychargebee/models/omnichannel_subscription/operations.pychargebee/models/omnichannel_subscription_item/operations.pychargebee/models/order/operations.pychargebee/models/payment_intent/operations.pychargebee/models/payment_intent/responses.pychargebee/models/payment_schedule_scheme/operations.pychargebee/models/payment_source/operations.pychargebee/models/payment_voucher/operations.pychargebee/models/personalized_offer/operations.pychargebee/models/plan/operations.pychargebee/models/portal_session/operations.pychargebee/models/price_variant/operations.pychargebee/models/pricing_page_session/operations.pychargebee/models/promotional_credit/operations.pychargebee/models/promotional_grant/operations.pychargebee/models/promotional_grant/responses.pychargebee/models/purchase/operations.pychargebee/models/quote/operations.pychargebee/models/quote/responses.pychargebee/models/quote_line_group/operations.pychargebee/models/quote_line_group/responses.pychargebee/models/quoted_charge/operations.pychargebee/models/quoted_charge/responses.pychargebee/models/ramp/operations.pychargebee/models/ramp/responses.pychargebee/models/recorded_purchase/operations.pychargebee/models/resource_migration/operations.pychargebee/models/rule/operations.pychargebee/models/site_migration_detail/operations.pychargebee/models/subscription/operations.pychargebee/models/subscription_entitlement/operations.pychargebee/models/time_machine/operations.pychargebee/models/transaction/operations.pychargebee/models/unbilled_charge/operations.pychargebee/models/usage/operations.pychargebee/models/usage_event/operations.pychargebee/models/usage_file/operations.pychargebee/models/virtual_bank_account/operations.pychargebee/models/webhook_endpoint/operations.pychargebee/version.py
💤 Files with no reviewable changes (52)
- chargebee/models/subscription_entitlement/operations.py
- chargebee/models/webhook_endpoint/operations.py
- chargebee/models/configuration/operations.py
- chargebee/models/usage_event/operations.py
- chargebee/models/coupon_code/operations.py
- chargebee/models/omnichannel_subscription_item/operations.py
- chargebee/models/item/operations.py
- chargebee/models/unbilled_charge/operations.py
- chargebee/models/in_app_subscription/operations.py
- chargebee/models/coupon_set/operations.py
- chargebee/models/addon/operations.py
- chargebee/models/offer_fulfillment/operations.py
- chargebee/models/purchase/operations.py
- chargebee/models/business_entity/operations.py
- chargebee/models/customer/operations.py
- chargebee/models/item_entitlement/operations.py
- chargebee/models/offer_event/operations.py
- chargebee/models/entitlement/operations.py
- chargebee/models/order/operations.py
- chargebee/models/usage/operations.py
- chargebee/models/rule/operations.py
- chargebee/models/plan/operations.py
- chargebee/models/resource_migration/operations.py
- chargebee/models/comment/operations.py
- chargebee/models/payment_voucher/operations.py
- chargebee/models/item_family/operations.py
- chargebee/models/omnichannel_subscription/operations.py
- chargebee/models/pricing_page_session/operations.py
- chargebee/models/coupon/operations.py
- chargebee/models/currency/operations.py
- chargebee/models/gift/operations.py
- chargebee/models/differential_price/operations.py
- chargebee/models/portal_session/operations.py
- chargebee/models/hosted_page/operations.py
- chargebee/models/address/operations.py
- chargebee/models/virtual_bank_account/operations.py
- chargebee/models/price_variant/operations.py
- chargebee/models/payment_source/operations.py
- chargebee/models/attached_item/operations.py
- chargebee/models/personalized_offer/operations.py
- chargebee/models/payment_schedule_scheme/operations.py
- chargebee/models/promotional_credit/operations.py
- chargebee/models/card/operations.py
- chargebee/models/event/operations.py
- chargebee/models/omnichannel_one_time_order/operations.py
- chargebee/models/transaction/operations.py
- chargebee/models/time_machine/operations.py
- chargebee/models/customer_entitlement/operations.py
- chargebee/models/site_migration_detail/operations.py
- chargebee/models/item_price/operations.py
- chargebee/models/entitlement_override/operations.py
- chargebee/models/usage_file/operations.py
cb-karthikp
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v3.26.0 (2026-07-21)
New Resources:
AsyncResponsehas been added.AsyncResponseListhas been added.ColumnDefinitionhas been added.Meterhas been added.MeteredFeaturehas been added.New Attributes:
currency_codehas been added toAlert.thresholdhas been added toAlert.filter_conditionshas been added toAlert.exchange_rateshas been added toCreditNote.meteredhas been added toFeature.exchange_rateshas been added toInvoice.payment_intent_metadatahas been added toPaymentIntent.New Parameters:
meteredhas been added as query parameter tolist_featuresinFeature.decommissionedhas been added as query parameter tolist_subscriptionsinSubscription.currency_codehas been added as request body parameter tocreate_an_alertinAlert.line_items.proration_modehas been added as request body parameter toimport_credit_noteinCreditNote.item_prices.descriptionhas been added as request body parameter tocreate_invoice_for_items_estimateinEstimate.item_prices.entity_descriptionhas been added as request body parameter tocreate_invoice_for_items_estimateinEstimate.charges.entity_descriptionhas been added as request body parameter tocreate_invoice_for_items_estimateinEstimate.subscription.decommissionedhas been added as request body parameter toexport_subscriptionsinExport.item_prices.descriptionhas been added as request body parameter tocreate_invoice_for_items_and_one-time_chargesinInvoice.item_prices.entity_descriptionhas been added as request body parameter tocreate_invoice_for_items_and_one-time_chargesinInvoice.charges.entity_descriptionhas been added as request body parameter tocreate_invoice_for_items_and_one-time_chargesinInvoice.create_pending_invoicehas been added as request body parameter tocreate_invoice_for_items_and_one-time_chargesinInvoice.line_items.proration_modehas been added as request body parameter toimport_invoiceinInvoice.paid_athas been added as request body parameter toimport_invoiceinInvoice.discounts_to_add.quantityhas been added as request body parameter tocreate_a_rampinRamp.discounts_to_add.quantityhas been added as request body parameter toupdate_a_subscription_rampinRamp.customer.emailhas been added as request body parameter torecord_a_purchaseinRecordedPurchase.customer.first_namehas been added as request body parameter torecord_a_purchaseinRecordedPurchase.customer.last_namehas been added as request body parameter torecord_a_purchaseinRecordedPurchase.Parameter Updates:
metered_feature_idhas been changed from required to optional increate_an_alertofAlert.New Events:
payment_source_business_entity_changedhas been added.Deleted Attributes:
start_balancehas been removed fromLedgerOperation.end_balancehas been removed fromLedgerOperation.New Enums:
real_time_paymentshas been added as a new value enumDunningType.payment_source_business_entity_changedhas been added as a new value enumEventType.paynow,bizum, andpromptpayhave been added as new values enumPaymentMethod.paynow,bizum, andpromptpayhave been added as new values enumPaymentMethodType.active,archived, anddeletedhave been added as new values enumStatus.zero_rated,region_non_taxable,product_exempt,high_value_physical_goods,zero_value_item, andtax_not_configured_external_providerhave been added as new values enumTaxOverrideReason.paynow,bizum,promptpay,simple,compound, andspend_exceededhave been added as new values enumType.successandfailedhave been added as new values to enum attributestatusinAsyncResponse.numberandstringhave been added as new values to enum attributedata_typeinColumnDefinition.simpleandcompoundhave been added as new values to enum attributetypeinMeter.active,archived, anddeletedhave been added as new values to enum attributestatusinMeter.paynow,bizum, andpromptpayhave been added as new values to enum attributepayment_method_typeinPaymentIntent.paynow,bizum, andpromptpayhave been added as new values to enum attributeactive_payment_attempt.payment_method_typeinPaymentIntent.cb_js,components_fields,checkout_v3,paynow_v3,portal_v3,gift_v3,checkout_v4,payment_component,pc_inapp_v4, andpc_fpc_v4have been added as new values to enum attributepayment_intent_metadata.sourceinPaymentIntent.adjusted_term,service_period_revision,delta, andresethave been added as new values to enum request body parameterline_items.proration_modeinimport_credit_noteofCreditNote.trueandfalsehave been added as new values to enum query parametermetered.isinlist_featuresofFeature.adjusted_term,service_period_revision,delta, andresethave been added as new values to enum request body parameterline_items.proration_modeinimport_invoiceofInvoice.updated_at,name,created_at, andidhave been added as new values to enum query parametersort_by.ascinlist_all_available_metersofMeter.updated_at,name,created_at, andidhave been added as new values to enum query parametersort_by.descinlist_all_available_metersofMeter.numberandstringhave been added as new values to enum request body parametercolumn_definitions.data_typeincreate_a_metered_featureofMeteredFeature.paynow,bizum, andpromptpayhave been added as new values to enum request body parameterpayment_method_typeinupdate_a_payment_intentofPaymentIntent.paynow,bizum, andpromptpayhave been added as new values to enum request body parameterpayment_method_typeincreate_a_payment_intentofPaymentIntent.trueandfalsehave been added as new values to enum query parameterdecommissioned.isinlist_subscriptionsofSubscription.Released v3.26.0 with new async response, column definition, meter, and metered feature resources. Expanded API fields, parameters, proration and exchange-rate support, payment methods, tax reasons, statuses, webhook events, and filtering options. Updated request metadata and made selected parameters optional while removing deprecated ledger balance fields.