From a1789f245822541ef6c3938a860c5b1ab27aa639 Mon Sep 17 00:00:00 2001 From: cb-alish Date: Fri, 6 Feb 2026 12:39:13 +0530 Subject: [PATCH] Releasing v2.68.0 --- CHANGELOG.md | 43 ++++++++++++++++++++ Gemfile.lock | 4 +- VERSION | 2 +- chargebee.gemspec | 2 +- lib/chargebee.rb | 2 +- lib/chargebee/models/entitlement_override.rb | 4 +- lib/chargebee/models/subscription.rb | 2 +- 7 files changed, 51 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c2246..5598bf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +### v2.68.0 (2026-02-06) +* * * +### New Attributes: +- [`subscription_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#subscription_id) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#is_enabled) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/subscription-object#decommissioned) has been added to [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions). + + +### New Parameters: +- [`omnichannel_subscription_item`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#omnichannel_subscription_item) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions). +- [`entitlement_overrides.entity_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_id) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`entitlement_overrides.entity_type`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_type) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`entitlement_overrides.is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_is_enabled) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides). +- [`payment_method_save_policy`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now#payment_method_save_policy) has been added as request body parameter to [`collect_now`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages). +- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items#decommissioned) has been added as request body parameter to [`cancel_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions). + + +### Parameter Updates: +- [`pricing_page`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription#pricing_page) has been changed from required to optional in [`create_pricing_page_for_existing_subscription`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription) of [`PricingPageSession`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions). + + +### New Events: +- [`payment_due_reminder`](https://apidocs.chargebee.com/docs/api/events/webhook/payment_due_reminder) has been added. + + +### New Enums: +- `charge` has been added as a new value enum `EntityType`. +- `payment_due_reminder` has been added as a new value enum `EventType`. +- `tempus` has been added as a new value enum `Gateway`. +- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethod`. +- `always`, `ask`, and `never` have been added as new values enum `PaymentMethodSavePolicy`. +- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethodType`. +- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `Type`. +- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/credit_notes/credit-note-object#einvoice_status) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes). +- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#status) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices). +- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/invoices/invoice-object#einvoice_status) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). +- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents). + + + ### v3.67.0 (2026-01-16) * * * diff --git a/Gemfile.lock b/Gemfile.lock index d21f531..9e4f2f8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - chargebee (2.67.0) + chargebee (2.68.0) cgi (>= 0.1.0, < 1.0.0) GEM @@ -10,7 +10,7 @@ GEM addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) bigdecimal (3.2.2) - cgi (0.3.2) + cgi (0.5.1) crack (1.0.0) bigdecimal rexml diff --git a/VERSION b/VERSION index 26be351..0f1ddc8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.67.0 \ No newline at end of file +2.68.0 diff --git a/chargebee.gemspec b/chargebee.gemspec index 46baf6f..f72c59b 100644 --- a/chargebee.gemspec +++ b/chargebee.gemspec @@ -4,7 +4,7 @@ Gem::Specification.new do |s| s.rubygems_version = '1.3.5' s.required_ruby_version = '>= 1.9.3' s.name = 'chargebee' - s.version = '2.67.0' + s.version = '2.68.0' s.date = '2026-01-16' s.summary = "Ruby client for Chargebee API." s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com." diff --git a/lib/chargebee.rb b/lib/chargebee.rb index 0ca3ad9..d63655e 100644 --- a/lib/chargebee.rb +++ b/lib/chargebee.rb @@ -100,7 +100,7 @@ module ChargeBee - VERSION = '2.67.0' + VERSION = '2.68.0' @@default_env = nil @@verify_ca_certs = true diff --git a/lib/chargebee/models/entitlement_override.rb b/lib/chargebee/models/entitlement_override.rb index 5d76c72..0de6601 100644 --- a/lib/chargebee/models/entitlement_override.rb +++ b/lib/chargebee/models/entitlement_override.rb @@ -1,8 +1,8 @@ module ChargeBee class EntitlementOverride < Model - attr_accessor :id, :entity_id, :entity_type, :feature_id, :feature_name, :value, :name, :expires_at, - :effective_from, :schedule_status + attr_accessor :id, :subscription_id, :entity_id, :entity_type, :feature_id, :feature_name, :value, + :name, :expires_at, :effective_from, :is_enabled, :schedule_status # OPERATIONS #----------- diff --git a/lib/chargebee/models/subscription.rb b/lib/chargebee/models/subscription.rb index f81985a..5483a62 100644 --- a/lib/chargebee/models/subscription.rb +++ b/lib/chargebee/models/subscription.rb @@ -62,7 +62,7 @@ class Discount < Model :addons, :event_based_addons, :charged_event_based_addons, :coupon, :coupons, :shipping_address, :referral_info, :billing_override, :invoice_notes, :meta_data, :deleted, :changes_scheduled_at, :contract_term, :cancel_reason_code, :free_period, :free_period_unit, :create_pending_invoices, - :auto_close_invoices, :discounts, :business_entity_id, :metadata + :auto_close_invoices, :discounts, :business_entity_id, :decommissioned, :metadata def metadata warn "[DEPRECATION] `metadata` is deprecated please use meta_data instead." @metadata