Skip to content

Update module github.com/stripe/stripe-go/v84 to v85#2216

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-stripe-stripe-go-v84-85.x
Open

Update module github.com/stripe/stripe-go/v84 to v85#2216
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-stripe-stripe-go-v84-85.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 26, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/stripe/stripe-go/v84 v84.4.1v85.0.1 age confidence

Release Notes

stripe/stripe-go (github.com/stripe/stripe-go/v84)

v85.0.1

Compare Source

  • #​2342 Add SetupIntent next action type constant for UPI

    • Added SetupIntentNextActionTypeUpiHandleRedirectOrDisplayQRCode constant for the upi_handle_redirect_or_display_qr_code next action type.
  • #​2338 Add test coverage for 2D slice form encoding

See the changelog for more details.

v85.0.0

Compare Source

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #​2301 Make unmarshalJSONVerbose unexported and context-aware

    • Unexported BackendImplementation.UnmarshalJSONVerbose (now unmarshalJSONVerbose) and added a context.Context parameter for proper context propagation in error logging.
  • ⚠️ Breaking change: #​2324 Fix MinimumBalanceByCurrency map value type to support clearing

    • MinimumBalanceByCurrency changed from map[string]int64 to map[string]*int64 on BalanceSettingsPaymentsPayoutsParams and BalanceSettingsUpdatePaymentsPayoutsParams. This field now supports clearing a value in the map by assigning null to the map key.
  • ⚠️ Breaking change: #​2320 Throw an error when using the wrong webhook parsing method

  • ⚠️ Breaking change: #​2310 Regenerate with decimal_string enabled for v2 APIs

    • V2 API decimal fields changed type from string to float64 with json:",string" and form:",high_precision" struct tags. Code that passes these fields as string will need to use float64 instead. Affected fields:
      • V2CoreAccountIdentityIndividualRelationship: PercentOwnership
      • V2CoreAccountPersonRelationship: PercentOwnership
      • Params: V2CoreAccountIdentityIndividualRelationshipParams, V2CoreAccountCreateIdentityIndividualRelationshipParams, V2CoreAccountUpdateIdentityIndividualRelationshipParams, V2CoreAccountTokenIdentityIndividualRelationshipParams, V2CoreAccountTokenCreateIdentityIndividualRelationshipParams, V2CoreAccountsPersonRelationshipParams, V2CoreAccountsPersonCreateRelationshipParams, V2CoreAccountsPersonUpdateRelationshipParams, V2CoreAccountsPersonTokenRelationshipParams, V2CoreAccountsPersonTokenCreateRelationshipParams
  • ⚠️ Breaking change: #​2309 Drop support for Go < 1.22

  • ⚠️ Breaking change: #​2179 [Breaking] Update List and Search methods with stripe.Client to return a struct

    • List and Search methods using stripe.Client now return a struct instead of Seq2. This is a backwards incompatible change, and you will need to add an additional call to .All(ctx) in your for loop. E.g.
    -for c, err := range sc.V1Customers.List(ctx, nil) {
    +for c, err := range sc.V1Customers.List(ctx, nil).All(ctx) {
    	// handle err
    	// do something
    }
    • For manual pagination use cases, you can access the API call's error by calling list.Err(), a page's data using list.Data(), and its metadata by calling list.Meta().
  • ⚠️ Breaking change: #​2260 Fix typo in V2RawError struct field name

    • Fixes misspelling in V2RawError.UserMesage --> V2RawError.UserMessage
  • #​2263 Add helpers in preparation for BatchJobs public preview support

  • #​2322 Add UnsetFields for clearing field values in v1 and v2 API requests

    • Added UnsetFields field and AddUnsetField method to Params for explicitly clearing field values in API requests. For v2 JSON requests, listed fields are sent as "field": null. For v1 form requests, listed fields are sent as field= (empty string).
    • Nested params structs with emptyable fields carry their own UnsetFields slice, enabling clearing of nested fields (e.g. params.CancellationDetails.AddUnsetField(...)).
    • Generated UnsetField string enum types provide type-safe constants for each clearable field (e.g. SubscriptionUpdateParamsUnsetFieldDescription).

See the changelog for more details.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner March 26, 2026 05:11
@renovate renovate bot force-pushed the renovate/github.com-stripe-stripe-go-v84-85.x branch 3 times, most recently from 5671adc to 3535d93 Compare April 7, 2026 20:12
@renovate renovate bot changed the title fix(deps): update module github.com/stripe/stripe-go/v84 to v85 Update module github.com/stripe/stripe-go/v84 to v85 Apr 11, 2026
@renovate renovate bot force-pushed the renovate/github.com-stripe-stripe-go-v84-85.x branch from 3535d93 to 1a1981a Compare April 11, 2026 03:02
@renovate renovate bot force-pushed the renovate/github.com-stripe-stripe-go-v84-85.x branch from 1a1981a to 444b260 Compare April 12, 2026 03:00
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants