Skip to content

Release v2.71.0#121

Merged
cb-alish merged 1 commit intomasterfrom
release-v2.71.0
May 4, 2026
Merged

Release v2.71.0#121
cb-alish merged 1 commit intomasterfrom
release-v2.71.0

Conversation

@cb-alish
Copy link
Copy Markdown
Collaborator

@cb-alish cb-alish commented May 4, 2026

v2.71.0 (2026-05-04)

New Resources:

New Actions:

New Attributes:

New Parameters:

Deleted Attributes:

  • alarm_triggered_at has been removed from Alert.
  • scope has been removed from Alert.
  • alert_status has been removed from AlertStatus.

New Enums:

  • within_limit and in_alarm have been added as new values enum AlarmStatus.
  • moyasar and payway have been added as new values enum Gateway.
  • absolute and percentage have been added as new values enum Mode.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values enum PaymentMethod.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values enum PaymentMethodType.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values enum Type.
  • mada has been added as a new value to enum attribute card_type in Card.
  • rate_limited has been added as a new value to enum attribute webhook_status in Event.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values to enum attribute payment_method_type in PaymentIntent.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values to enum attribute active_payment_attempt.payment_method_type in PaymentIntent.
  • mada has been added as a new value to enum attribute card.brand in PaymentSource.
  • plan_price, addon_price, charge_price, and charge have been added as new values to enum attribute entity_type in QuoteEntitlement.
  • disabled and enabled have been added as new values to enum query parameter status.is in list_applicable_alerts_for_a_subscription of Alert.
  • enabled and disabled have been added as new values to enum request body parameter status in update_an_alert of Alert.
  • disabled and enabled have been added as new values to enum query parameter status.is in list_alerts of Alert.
  • plan_price_id has been added as a new value to enum request body parameter filter_conditions.field in create_an_alert of Alert.
  • not_equals and equals have been added as new values to enum request body parameter filter_conditions.operator in create_an_alert of Alert.
  • rate_limited has been added as a new value to enum query parameter webhook_status.is in list_events of Event.
  • rate_limited has been added as a new value to enum query parameter webhook_status.is_not in list_events of Event.
  • rate_limited has been added as a new value to enum query parameter webhook_status.in in list_events of Event.
  • rate_limited has been added as a new value to enum query parameter webhook_status.not_in in list_events of Event.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values to enum request body parameter payment_method_type in update_a_payment_intent of PaymentIntent.
  • twint, go_pay, grab_pay, pay_co, after_pay, swish, and payme have been added as new values to enum request body parameter payment_method_type in create_a_payment_intent of PaymentIntent.
  • mada has been added as a new value to enum request body parameter card.brand in create_using_permanent_token of PaymentSource.

@snyk-io
Copy link
Copy Markdown

snyk-io Bot commented May 4, 2026

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

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

Copy link
Copy Markdown

@hivel-marco hivel-marco Bot left a comment

Choose a reason for hiding this comment

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

PR Complexity Score: 3.3 - Simple

View Breakdown
  • Lines Changed: 198
  • Files Changed: 10
  • Complexity Added: 10
  • Raw Score: 48.96
Overview

This PR releases Chargebee Ruby client v2.71.0, updating the gem version, metadata, and changelog. It introduces new models for QuoteEntitlement and FilterCondition, expands the Alert/AlertStatus API surface, and wires these into the Result helper. The changes align the client with newly available Chargebee API endpoints and fields for alerts and quote entitlements.

Key Changes
  • Bumps the library version from 2.70.0 to 2.71.0, including gemspec date and Gemfile.lock updates, and documents the release in CHANGELOG.md.
  • Adds the QuoteEntitlement model and exposes it via Result#quote_entitlement to support the new quote entitlements resource in API responses.
  • Adds the FilterCondition model and exposes it via Result#filter_condition, preparing the client to handle alert filter condition objects.
  • Extends the Alert model with CRUD API operations and a subscription-scoped listing endpoint (application_alerts_for_subscription), while removing deprecated attributes (alarm_triggered_at, scope).
  • Updates AlertStatus to use alarm_status instead of alert_status and adds listing operations by subscription and by alert.
Risks & Considerations
  • The renaming/removal of attributes (alarm_triggered_at, scope, alert_statusalarm_status) may break existing consumers relying on the old fields.
  • The method name application_alerts_for_subscription does not exactly match the documented API action name (list_applicable_alerts_for_a_subscription), which could be confusing for users mapping SDK functions to API docs.
  • New models (QuoteEntitlement, FilterCondition) are added without operations; their usage currently depends on responses only, so any future API evolution should ensure methods remain compatible.
  • None of the new API operations enforce parameter shapes at the client level, so incorrect usage will only be caught by server-side validation.
File-level change summary
File Change summary
CHANGELOG.md Adds the v2.71.0 release notes detailing new resources, actions, attributes, parameters, deleted attributes, and enum values.
Gemfile.lock Updates the local path gem version from 2.70.0 to 2.71.0.
VERSION Increments the version string from 2.70.0 to 2.71.0.
chargebee.gemspec Bumps gem version/date and includes new model files (filter_condition.rb, quote_entitlement.rb) in the file list.
lib/chargebee.rb Updates the ChargeBee::VERSION constant to 2.71.0.
lib/chargebee/models/alert.rb Removes deprecated attributes and adds CRUD and subscription-scoped listing operations for alerts.
lib/chargebee/models/alert_status.rb Replaces alert_status with alarm_status and adds listing operations by subscription and by alert.
lib/chargebee/models/filter_condition.rb Introduces a new FilterCondition model with field, operator, and value attributes.
lib/chargebee/models/quote_entitlement.rb Introduces a new QuoteEntitlement model representing quote entitlement metadata.
lib/chargebee/result.rb Adds accessors for quote_entitlement and filter_condition objects in API results.

@cb-alish cb-alish merged commit 0708107 into master May 4, 2026
9 checks passed
@cb-alish cb-alish deleted the release-v2.71.0 branch May 4, 2026 07:20
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