Skip to content

Commit b49cae1

Browse files
committed
Bump version to 12.3.0b1
1 parent 78244ef commit b49cae1

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# Changelog
22

3+
## 12.3.0b1 - 2025-05-29
4+
This release changes the pinned API version to `2025-05-28.preview`.
5+
6+
* [#1509](https://github.com/stripe/stripe-python/pull/1509) Update generated code for beta
7+
### Breaking changes
8+
* Remove support for deprecated previews
9+
* Remove support for resources `billing.MeterErrorReport`, `gift_cards.Card`, `gift_cards.Transaction`, and `privacy.RedactionJobRootObjects`
10+
* Remove support for `create`, `list`, `modify`, `retrieve`, and `validate` methods on resource `gift_cards.Card`
11+
* Remove support for `cancel`, `confirm`, `create`, `list`, `modify`, and `retrieve` methods on resource `gift_cards.Transaction`
12+
* Remove support for `provisioning` on `Product.CreateParams` and `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.LastFinalizationError` and `StripeError`
15+
* Remove support for values `credits_attributed_to_debits` and `legacy_prorations` from enums `Invoice.CreatePreviewParamsScheduleDetail.billing_mode`, `Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode`, `Quote.CreateParamsSubscriptionDatum.billing_mode`, `Quote.SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.CreateParams.billing_mode`, `Subscription.billing_mode`, `SubscriptionSchedule.CreateParams.billing_mode`, `SubscriptionSchedule.billing_mode`, and `checkout.Session.CreateParamsSubscriptionDatum.billing_mode`
16+
* Change type of `checkout.Session.ModifyParamsLineItem.quantity` from `emptyable(longInteger)` to `longInteger`
17+
* Change `CreditNote.post_payment_amount` to be required
18+
* Change `CreditNote.pre_payment_amount` to be required
19+
* Remove support for `credits` on `Order.CreateParams`, `Order.ModifyParams`, and `Order`
20+
* Remove support for `amount_remaining` on `Order`
21+
* Remove support for `amount_credit` on `Order.TotalDetail`
22+
* Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)`
23+
* Remove support for `async_workflows` on `PaymentIntent.CaptureParams`, `PaymentIntent.ConfirmParams`, `PaymentIntent.CreateParams`, `PaymentIntent.DecrementAuthorizationParams`, `PaymentIntent.IncrementAuthorizationParams`, `PaymentIntent.ModifyParams`, and `PaymentIntent`
24+
* Change type of `PaymentRecord.ReportPaymentAttemptCanceledParams.metadata`, `PaymentRecord.ReportPaymentAttemptFailedParams.metadata`, `PaymentRecord.ReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecord.ReportPaymentAttemptParams.metadata`, and `PaymentRecord.ReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
25+
* Change type of `Privacy.RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects`
26+
* Change type of `Privacy.RedactionJob.status` from `string` to `enum`
27+
* Change type of `Privacy.RedactionJob.validation_behavior` from `string` to `enum('error'|'fix')`
28+
* Change type of `Privacy.RedactionJobValidationError.code` from `string` to `enum`
29+
* Change type of `Privacy.RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
30+
* Remove support for `status_details` and `status` on `Tax.Association`
31+
32+
### Other changes
33+
* Add support for `migrate` method on resource `Subscription`
34+
* Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge.CaptureParamsPaymentDetailCarRental`, `Charge.ModifyParamsPaymentDetailCarRental`, `PaymentIntent.CaptureParamsPaymentDetailCarRental`, `PaymentIntent.ConfirmParamsPaymentDetailCarRental`, `PaymentIntent.CreateParamsPaymentDetailCarRental`, `PaymentIntent.ModifyParamsPaymentDetailCarRental`, and `PaymentIntent.PaymentDetail.CarRental`
35+
* Add support for `driver_identification_number` and `driver_tax_number` on `Charge.CaptureParamsPaymentDetailCarRentalDriver`, `Charge.ModifyParamsPaymentDetailCarRentalDriver`, `PaymentIntent.CaptureParamsPaymentDetailCarRentalDriver`, `PaymentIntent.ConfirmParamsPaymentDetailCarRentalDriver`, `PaymentIntent.CreateParamsPaymentDetailCarRentalDriver`, `PaymentIntent.ModifyParamsPaymentDetailCarRentalDriver`, and `PaymentIntent.PaymentDetail.CarRental.Driver`
36+
* Add support for new values `classic` and `flexible` on enums `Invoice.CreatePreviewParamsScheduleDetail.billing_mode`, `Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode`, `Quote.CreateParamsSubscriptionDatum.billing_mode`, `Quote.SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.CreateParams.billing_mode`, `Subscription.billing_mode`, `SubscriptionSchedule.CreateParams.billing_mode`, `SubscriptionSchedule.billing_mode`, and `checkout.Session.CreateParamsSubscriptionDatum.billing_mode`
37+
* Add support for `institution` on `FinancialConnections.Account`
38+
* Add support for `countries` on `FinancialConnections.Institution`
39+
* Change type of `Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at`, `Subscription.CreateParams.cancel_at`, and `Subscription.ModifyParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
40+
* Add support for `location` and `reader` on `PaymentAttemptRecord.PaymentMethodDetail.Affirm`, `PaymentAttemptRecord.PaymentMethodDetail.WechatPay`, `PaymentRecord.PaymentMethodDetail.Affirm`, and `PaymentRecord.PaymentMethodDetail.WechatPay`
41+
* Add support for `hooks` on `PaymentIntent.CaptureParams`, `PaymentIntent.ConfirmParams`, `PaymentIntent.CreateParams`, `PaymentIntent.DecrementAuthorizationParams`, `PaymentIntent.IncrementAuthorizationParams`, `PaymentIntent.ModifyParams`, and `PaymentIntent`
42+
* Add support for `card_present` on `PaymentIntentAmountDetailsLineItem.PaymentMethodOption`
43+
* Add support for `livemode` on `Privacy.RedactionJob`
44+
* Add support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.DefaultSetting`, `QuotePreviewSubscriptionSchedule.Phase.Item`, and `QuotePreviewSubscriptionSchedule.Phase`
45+
* Add support for `billing_mode_details` on `Subscription`
46+
* Add support for `tax_transaction_attempts` on `Tax.Association`
47+
* Add support for `confirm_config` on `Terminal.Reader.Action.ConfirmPaymentIntent` and `terminal.Reader.ConfirmPaymentIntentParams`
48+
* Add support for error code `forwarding_api_upstream_error` on `QuotePreviewInvoice.LastFinalizationError`
49+
50+
351
## 12.2.0 - 2025-05-29
452
This release changes the pinned API version to `2025-05-28.basil`.
553

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.2.0b1
1+
12.3.0b1

stripe/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "12.2.0b1"
1+
VERSION = "12.3.0b1"

0 commit comments

Comments
 (0)