Release v4.25.0 - #138
Merged
Merged
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (64)
Comment |
✅ 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. |
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 `@src/Responses/CreditUnitResponse/ListCreditUnitResponseListObject.php`:
- Around line 8-12: Align ListCreditUnitResponseListObject::__construct and its
credit_unit property with ListCreditUnitResponse::from() by accepting the
missing-item null case, or explicitly reject missing credit_unit values before
constructing the object. Preserve the existing CreditUnit behavior for present
items and ensure response parsing no longer triggers a TypeError.
🪄 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: Pro Plus
Run ID: 059b4261-9e29-444f-ae93-43b495ca8bb6
📒 Files selected for processing (64)
CHANGELOG.mdVERSIONsrc/Actions/AlertActions.phpsrc/Actions/Contracts/AlertActionsInterface.phpsrc/Actions/Contracts/CouponActionsInterface.phpsrc/Actions/Contracts/CreditUnitActionsInterface.phpsrc/Actions/Contracts/EntitlementActionsInterface.phpsrc/Actions/Contracts/EstimateActionsInterface.phpsrc/Actions/Contracts/ExportActionsInterface.phpsrc/Actions/Contracts/GrantBlockActionsInterface.phpsrc/Actions/Contracts/InvoiceActionsInterface.phpsrc/Actions/Contracts/ItemActionsInterface.phpsrc/Actions/Contracts/ItemFamilyActionsInterface.phpsrc/Actions/Contracts/ItemPriceActionsInterface.phpsrc/Actions/Contracts/LedgerOperationActionsInterface.phpsrc/Actions/Contracts/MeterActionsInterface.phpsrc/Actions/Contracts/PriceVariantActionsInterface.phpsrc/Actions/Contracts/RampActionsInterface.phpsrc/Actions/Contracts/SubscriptionActionsInterface.phpsrc/Actions/CouponActions.phpsrc/Actions/CreditUnitActions.phpsrc/Actions/EntitlementActions.phpsrc/Actions/EstimateActions.phpsrc/Actions/ExportActions.phpsrc/Actions/GrantBlockActions.phpsrc/Actions/InvoiceActions.phpsrc/Actions/ItemActions.phpsrc/Actions/ItemFamilyActions.phpsrc/Actions/ItemPriceActions.phpsrc/Actions/LedgerOperationActions.phpsrc/Actions/MeterActions.phpsrc/Actions/PriceVariantActions.phpsrc/Actions/RampActions.phpsrc/Actions/SubscriptionActions.phpsrc/ChargebeeClient.phpsrc/Enums/EnabledEvents.phpsrc/Enums/EventType.phpsrc/Enums/PaymentMethod.phpsrc/Enums/PaymentMethodType.phpsrc/Enums/Type.phpsrc/Resources/Alert/Alert.phpsrc/Resources/Content/Content.phpsrc/Resources/CreditUnit/CreditUnit.phpsrc/Resources/CreditUnit/Enums/Status.phpsrc/Resources/GrantBlock/Enums/GrantSource.phpsrc/Resources/GrantBlock/GrantBlock.phpsrc/Resources/LedgerAccountBalance/LedgerAccountBalance.phpsrc/Resources/LedgerEntry/Enums/AccountType.phpsrc/Resources/LedgerEntry/Enums/UnitType.phpsrc/Resources/LedgerEntry/LedgerEntry.phpsrc/Resources/LedgerOperation/LedgerOperation.phpsrc/Resources/PaymentIntent/Enums/PaymentMethodType.phpsrc/Responses/CreditUnitResponse/ArchiveCreditUnitResponse.phpsrc/Responses/CreditUnitResponse/CreateCreditUnitResponse.phpsrc/Responses/CreditUnitResponse/ListCreditUnitResponse.phpsrc/Responses/CreditUnitResponse/ListCreditUnitResponseListObject.phpsrc/Responses/CreditUnitResponse/ReactivateCreditUnitResponse.phpsrc/Responses/CreditUnitResponse/UpdateCreditUnitResponse.phpsrc/Responses/LedgerOperationResponse/AllocateLedgerOperationResponse.phpsrc/Responses/LedgerOperationResponse/AuthorizeLedgerOperationResponse.phpsrc/Responses/LedgerOperationResponse/CaptureAuthorizationLedgerOperationResponse.phpsrc/Responses/LedgerOperationResponse/CaptureLedgerOperationResponse.phpsrc/Responses/LedgerOperationResponse/ReleaseAuthorizationLedgerOperationResponse.phpsrc/Version.php
cb-karthikp
approved these changes
Jul 30, 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.
v4.25.0 (2026-07-30)
New Resources:
CreditUnithas been added.LedgerEntryhas been added.New Actions:
allocatehas been added toLedgerOperation.New Attributes:
unit_idhas been added toAlert.subscription_idhas been added toGrantBlock.modified_athas been added toGrantBlock.resource_versionhas been added toGrantBlock.created_athas been added toLedgerAccountBalance.resource_versionhas been added toLedgerAccountBalance.New Parameters:
account_typehas been added as query parameter tolist_grant_blocksinGrantBlock.unit_idhas been added as request body parameter tocreate_an_alertinAlert.include_cancellation_day_in_billinghas been added as request body parameter tocancel_subscription_for_items_estimateinEstimate.subscription_idhas been added as request body parameter toallocateinLedgerOperation.unit_idhas been added as request body parameter toallocateinLedgerOperation.amounthas been added as request body parameter toallocateinLedgerOperation.expires_athas been added as request body parameter toallocateinLedgerOperation.metadatahas been added as request body parameter toallocateinLedgerOperation.include_cancellation_day_in_billinghas been added as request body parameter tocancel_subscription_for_itemsinSubscription.New Events:
grant_blocks_createdhas been added.ledger_updatedhas been added.ledger_account_balance_updatedhas been added.grant_blocks_updatedhas been added.New Enums:
ledger_account_balance_updated,grant_blocks_created,grant_blocks_updated, andledger_updatedhave been added as new values enumEventType.dana,touch_n_go,tamara, andqpayhave been added as new values enumPaymentMethod.dana,touch_n_go,tamara, andqpayhave been added as new values enumPaymentMethodType.dana,touch_n_go,tamara,qpay,credit_balance_dropped,credit,debit,hold, andunholdhave been added as new values enumType.activeandarchivedhave been added as new values to enum attributestatusinCreditUnit.grant_renewalandsubscription_renewedhave been added as new values to enum attributegrant_sourceinGrantBlock.provisionedandoverdrafthave been added as new values to enum attributeaccount_typeinLedgerEntry.credit_unithas been added as a new value to enum attributeunit_typeinLedgerEntry.dana,touch_n_go,tamara, andqpayhave been added as new values to enum attributepayment_method_typeinPaymentIntent.dana,touch_n_go,tamara, andqpayhave been added as new values to enum attributeactive_payment_attempt.payment_method_typeinPaymentIntent.archivedandactivehave been added as new values to enum query parameterstatus.ininlist_credit_unitsofCreditUnit.archivedandactivehave been added as new values to enum query parameterstatus.isinlist_credit_unitsofCreditUnit.provisionedandoverdrafthave been added as new values to enum query parameteraccount_type.isinlist_grant_blocksofGrantBlock.dana,touch_n_go,tamara, andqpayhave been added as new values to enum request body parameterpayment_method_typeinupdate_a_payment_intentofPaymentIntent.dana,touch_n_go,tamara, andqpayhave been added as new values to enum request body parameterpayment_method_typeincreate_a_payment_intentofPaymentIntent.Release v4.25.0 adds CreditUnit and LedgerEntry resources, credit unit actions, ledger operation allocation, expanded ledger response data, new resource fields and request filters, four webhook events, and numerous enum values. Documentation and version metadata are updated accordingly.