|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 17.4.0-beta.1 - 2025-05-29 |
| 4 | +This release changes the pinned API version to `2025-05-28.preview`. |
| 5 | + |
| 6 | +* [#1864](https://github.com/stripe/stripe-php/pull/1864) Update generated code for beta |
| 7 | + ### Breaking changes |
| 8 | + * Remove support for deprecated previews |
| 9 | + * Remove support for resources `Billing.MeterErrorReport`, `GiftCards.Card`, `GiftCards.Transaction`, and `Privacy.RedactionJobRootObjects` |
| 10 | + * Remove support for `all`, `create`, `retrieve`, `update`, and `validate` methods on resource `GiftCards.Card` |
| 11 | + * Remove support for `all`, `cancel`, `confirm`, `create`, `retrieve`, and `update` methods on resource `GiftCards.Transaction` |
| 12 | + * Remove support for `provisioning` on `Product` |
| 13 | + * Remove support for snapshot event `BILLING_METER_ERROR_REPORT_TRIGGERED` with resource `Billing.MeterErrorReport` |
| 14 | + * Remove support for error codes `gift_card_balance_insufficient`, `gift_card_code_exists`, and `gift_card_inactive` on `QuotePreviewInvoice.last_finalization_error` |
| 15 | + * Remove support for `amount_remaining` and `credits` on `Order` |
| 16 | + * Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)` |
| 17 | + * Remove support for `async_workflows` on `PaymentIntent` |
| 18 | + * Change type of `Privacy.RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects` |
| 19 | + * Change type of `Privacy.RedactionJob.status` from `string` to `enum` |
| 20 | + * Change type of `Privacy.RedactionJob.validation_behavior` from `string` to `enum('error'|'fix')` |
| 21 | + * Change type of `Privacy.RedactionJobValidationError.code` from `string` to `enum` |
| 22 | + * Change type of `Privacy.RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject` |
| 23 | + * Remove support for values `credits_attributed_to_debits` and `legacy_prorations` from enums `Quote.subscription_data.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` |
| 24 | + * Remove support for `status_details` and `status` on `Tax.Association` |
| 25 | + |
| 26 | + ### Other changes |
| 27 | + * Add support for `migrate` method on resource `Subscription` |
| 28 | + * Add support for `institution` on `FinancialConnections.Account` |
| 29 | + * Add support for `countries` on `FinancialConnections.Institution` |
| 30 | + * Add support for `hooks` on `PaymentIntent` |
| 31 | + * Add support for `livemode` on `Privacy.RedactionJob` |
| 32 | + * Add support for new values `classic` and `flexible` on enums `Quote.subscription_data.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` |
| 33 | + * Add support for `billing_mode_details` on `Subscription` |
| 34 | + * Add support for `tax_transaction_attempts` on `Tax.Association` |
| 35 | + * Add support for error code `forwarding_api_upstream_error` on `QuotePreviewInvoice.last_finalization_error` |
| 36 | + |
3 | 37 | ## 17.3.0 - 2025-05-29
|
4 | 38 | This release changes the pinned API version to `2025-05-28.basil`.
|
5 | 39 |
|
|
23 | 57 | ## 17.3.0-beta.1 - 2025-04-30
|
24 | 58 | * [#1859](https://github.com/stripe/stripe-php/pull/1859) Update generated code for beta
|
25 | 59 | This release changes the pinned API version to `2025-04-30.preview`.
|
26 |
| - |
| 60 | + |
27 | 61 | * Add support for new value `balance_settings.updated` on enum `Event.type`
|
28 | 62 | * Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enum `QuotePreviewInvoice.customer_tax_ids[].type`
|
29 | 63 | * Add support for `billing_mode` on `QuotePreviewSubscriptionSchedule`, `SubscriptionSchedule`, and `Subscription`
|
|
66 | 100 |
|
67 | 101 | ## 17.2.0-beta.3 - 2025-04-10
|
68 | 102 | * [#1849](https://github.com/stripe/stripe-php/pull/1849) Update generated code for beta
|
69 |
| - |
70 |
| - ### Breaking changes |
71 |
| - * Change type of `V2.MoneyManagement.ReceivedDebit.status_transitions` from `an object` to `nullable(an object)` |
72 |
| - * Remove support for values `bank_accounts.local_uk`, `bank_accounts.wire_uk`, `cards_uk`, and `crypto_wallets_v2` from enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability` |
73 |
| - |
74 |
| - ### Additions |
75 |
| - * Add support for new resources `Privacy.RedactionJobRootObjects`, `Privacy.RedactionJobValidationError`, and `Privacy.RedactionJob` |
76 |
| - * Add support for `all`, `cancel`, `create`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob` |
77 |
| - * Add support for `all` and `retrieve` methods on resource `RedactionJobValidationError` |
78 |
| - * Add support for new value `tax_id_prohibited` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `QuotePreviewInvoice.last_finalization_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` |
79 |
| - * Add support for new value `fixed_term_loan` on enum `Capital.FinancingOffer.type` |
80 |
| - * Add support for `wallet_options` on `Checkout.Session` |
81 |
| - * Add support for new values `privacy.redaction_job.canceled`, `privacy.redaction_job.created`, `privacy.redaction_job.ready`, `privacy.redaction_job.succeeded`, and `privacy.redaction_job.validation_error` on enum `Event.type` |
82 |
| - * Add support for `klarna` on `PaymentMethodDomain` |
83 |
| - * Change type of `Tax.CalculationLineItem.reference` from `nullable(string)` to `string` |
| 103 | + |
| 104 | + ### Breaking changes |
| 105 | + * Change type of `V2.MoneyManagement.ReceivedDebit.status_transitions` from `an object` to `nullable(an object)` |
| 106 | + * Remove support for values `bank_accounts.local_uk`, `bank_accounts.wire_uk`, `cards_uk`, and `crypto_wallets_v2` from enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability` |
| 107 | + |
| 108 | + ### Additions |
| 109 | + * Add support for new resources `Privacy.RedactionJobRootObjects`, `Privacy.RedactionJobValidationError`, and `Privacy.RedactionJob` |
| 110 | + * Add support for `all`, `cancel`, `create`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob` |
| 111 | + * Add support for `all` and `retrieve` methods on resource `RedactionJobValidationError` |
| 112 | + * Add support for new value `tax_id_prohibited` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `QuotePreviewInvoice.last_finalization_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` |
| 113 | + * Add support for new value `fixed_term_loan` on enum `Capital.FinancingOffer.type` |
| 114 | + * Add support for `wallet_options` on `Checkout.Session` |
| 115 | + * Add support for new values `privacy.redaction_job.canceled`, `privacy.redaction_job.created`, `privacy.redaction_job.ready`, `privacy.redaction_job.succeeded`, and `privacy.redaction_job.validation_error` on enum `Event.type` |
| 116 | + * Add support for `klarna` on `PaymentMethodDomain` |
| 117 | + * Change type of `Tax.CalculationLineItem.reference` from `nullable(string)` to `string` |
84 | 118 | * [#1851](https://github.com/stripe/stripe-php/pull/1851) Handle external_account field
|
85 | 119 | - Changes `external_account` field in `externalAccounts.create` from a `string` to a union type.
|
86 | 120 | * [#1850](https://github.com/stripe/stripe-php/pull/1850) Xavdid/merge php beta
|
|
0 commit comments