Skip to content

Update generated code for beta - #1964

Merged
stripe-openapi[bot] merged 5 commits into
betafrom
latest-codegen-beta
Nov 19, 2026
Merged

stripe-openapi[bot] merged 5 commits into
betafrom
latest-codegen-beta

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Codegen for openapi v2602 and v2 openapi f3581f76eec818aa658fd9635eaf0107d13e3441.

Changelog

  • ⚠️ Remove support for resource v2.billing.Cadence
  • Add support for create and refill test helper methods on resource capital.FinancingOffer
  • ⚠️ Remove support for cancel, create, list, modify, and retrieve methods on resource v2.billing.Cadence
  • Add support for export_tax_transactions, product_tax_code_selector, and tax_threshold_monitoring on AccountSession.Component
  • Add support for custom on CouponCreateParams and Coupon
  • Add support for type on CouponCreateParams and CustomerCreateCustomerBalanceTransactionParams
  • Add support for new value custom on enum Coupon.type
  • Add support for applied_to_invoice on CustomerCreateCustomerBalanceTransactionParams
  • Add support for customer_balance on Invoice and QuotePreviewInvoice
  • ⚠️ Change type of PaymentIntent.NextAction.VerifyWithMicrodeposit.arrival_date and SetupIntent.NextAction.VerifyWithMicrodeposit.arrival_date from DateTime to nullable(DateTime)
  • Add support for connect, data_export, event_destination, radar, and user_access on V2.Iam.ActivityLog.Detail
  • Add support for new values app, connect, data_export, event_destination, radar, and user_access on enum V2.Iam.ActivityLog.Detail.type
  • Add support for new values apps.install, v2.core.event_destination, and webhook_endpoint on enum V2.Iam.ActivityLog.RelatedObject.type
  • Add support for new values app_installed, app_uninstalled, application_authorized, application_created, application_deauthorized, connect_express_branding_updated, connect_oauth_disabled, connect_oauth_enabled, connect_settings_updated, connect_site_link_updated, data_export_requested, event_destination_added, event_destination_removed, event_destination_updated, payout_schedule_updated, radar_adaptive_3ds_disabled, radar_dynamic_risk_thresholds_disabled, radar_early_fraud_warning_disabled, radar_for_setup_intents_disabled, radar_fraud_dispute_protection_disabled, radar_rule_added, radar_rule_disabled, radar_rule_enabled, radar_rule_removed, radar_rule_updated, and user_access_started on enum V2.Iam.ActivityLog.type
  • Add support for apple_pay on V2.MoneyManagement.PayoutMethod and v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatum
  • Add support for new value apple_pay on enums V2.MoneyManagement.PayoutMethod.type, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatum.type, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatum.type
  • Add support for network and originating_bank_account on V2.MoneyManagement.ReceivedDebit.BankTransfer
  • Add support for created on v2.money_management.ReceivedDebitListParams
  • Add support for logs_from on v2.iam.ActivityLogListParams
  • Add support for new values app, connect, data_export, event_destination, radar, and user_access on enum v2.iam.ActivityLogListParams.action_groups
  • Add support for new values app_installed, app_uninstalled, application_authorized, application_created, application_deauthorized, connect_express_branding_updated, connect_oauth_disabled, connect_oauth_enabled, connect_settings_updated, connect_site_link_updated, data_export_requested, event_destination_added, event_destination_removed, event_destination_updated, payout_schedule_updated, radar_adaptive_3ds_disabled, radar_dynamic_risk_thresholds_disabled, radar_early_fraud_warning_disabled, radar_for_setup_intents_disabled, radar_fraud_dispute_protection_disabled, radar_rule_added, radar_rule_disabled, radar_rule_enabled, radar_rule_removed, radar_rule_updated, and user_access_started on enum v2.iam.ActivityLogListParams.actions
  • Add support for severity on EventsV2CoreHealthEventGenerationFailureResolvedEvent
  • Add support for error code inactive_api_operation_confirmation_required on QuotePreviewInvoice.LastFinalizationError

@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner November 2, 2026 23:05
@stripe-openapi
stripe-openapi Bot requested review from mark-kogan-stripe and removed request for a team November 2, 2026 23:05
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch from c9f4d67 to ce64b85 Compare November 2, 2026 23:06
@stripe-openapi
stripe-openapi Bot removed the request for review from mark-kogan-stripe November 2, 2026 23:06
@stripe-openapi
stripe-openapi Bot enabled auto-merge November 2, 2026 23:06
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch 24 times, most recently from 562e377 to 92c3180 Compare November 10, 2026 19:56
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch from dcfeec2 to ce72716 Compare November 12, 2026 18:39
* fix: make PycurlClient timeouts configurable

PycurlClient hardcoded CONNECTTIMEOUT=30 and TIMEOUT=80 on every request,
unlike RequestsClient, HTTPXClient and AIOHTTPClient, which accept a
`timeout` constructor argument. Add keyword-only `timeout` and
`connect_timeout` arguments (defaults 80 and 30) after the existing
parameters so positional callers are unaffected.

Fixes #1962

* Remove unnecessary PycurlClient constructor docstring
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch 2 times, most recently from 91b8332 to 5c838ff Compare November 13, 2026 22:47
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch 10 times, most recently from 792b5c8 to 93cf539 Compare November 16, 2026 23:54
* Replace httpx with httpx2 for async requests

httpx, which backs HTTPXClient and the default async client, is no
longer maintained, so it won't receive security fixes. httpx2 is its
community-accepted continuation, maintained by Pydantic, and keeps mostly the
same API.

Two calls needed adjusting for httpx2:
- The encoded body is sent as `content=`, since passing raw bodies as
  `data=` is deprecated and emits a warning on every request.
- Proxies are configured through client-level `mounts`, since the
  per-request `proxies=` argument isn't accepted.

Closes #1886

* Restore support for  httpx, preferring httpx2 when both are installed in an environment

* Add short integration test asserting that the request passes successfully through httpx and httpx2

* Make it clearer that httpx is not a blessed path

* Convert timeout to in-use httpx/httpx2 library on the fly to avoid breaking

* Add note relating to httpx deprecation
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch 9 times, most recently from f09b46c to 031ed7f Compare November 19, 2026 03:08
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch from 031ed7f to 9a66265 Compare November 19, 2026 03:08
@stripe-openapi
stripe-openapi Bot merged commit 2271655 into beta Nov 19, 2026
20 checks passed
@stripe-openapi
stripe-openapi Bot deleted the latest-codegen-beta branch November 19, 2026 03:28
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.

4 participants