Skip to content

chore(deps): bump github.com/stripe/stripe-go/v87 from 87.0.0 to 87.2.0 - #217

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/stripe/stripe-go/v87-87.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/stripe/stripe-go/v87-87.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/stripe/stripe-go/v87 from 87.0.0 to 87.2.0.

Release notes

Sourced from github.com/stripe/stripe-go/v87's releases.

v87.2.0

See the changelog for the full release notes.

v87.2.0-beta.1

See the changelog for the full release notes.

v87.2.0-alpha.3

See the changelog for the full release notes.

v87.2.0-alpha.2

See the changelog for the full release notes.

v87.2.0-alpha.1

See the changelog for the full release notes.

v87.1.0

See the changelog for the full release notes.

v87.1.0-beta.1

See the changelog for the full release notes.

v87.1.0-alpha.4

See the changelog for the full release notes.

v87.1.0-alpha.3

See the changelog for the full release notes.

v87.1.0-alpha.2

See the changelog for the full release notes.

v87.1.0-alpha.1

See the changelog for the full release notes.

Changelog

Sourced from github.com/stripe/stripe-go/v87's changelog.

87.2.0 - 2026-11-18

This release changes the pinned API version to 2026-11-18.endive.

  • Improve webhook signature verification error messages
    • When diagnostic metadata is present in the Stripe-Signature header, error messages help identify an incorrect signing secret or altered request body.
  • Upgrade decimal dependency to v1.5.0
    • Decimal values with excessively large positive or negative exponents now return decoding errors.
  • Honor each client's EnableTelemetry setting
    • Separate the X-Stripe-Client-User-Agent cache so that clients with different telemetry settings coexist in the same process.
  • Send an Idempotency-Key on write requests made without params
    • RawRequest and the deprecated resource packages (e.g. account.New(nil)) now generate an Idempotency-Key for POST, PUT, PATCH, and DELETE requests when params is nil, and reuse it on retries. Previously these requests were sent and retried without a key.
  • #2496 Update generated code
    • Add support for new resource V2CoreClaimableSandbox
    • Add support for Get, New, and RenewOnboardingLink methods on resource V2CoreClaimableSandbox
    • Add support for FundingSources on ChargePaymentMethodDetailsCardWalletLink and ChargePaymentMethodDetailsLink
    • Add support for new value tron on enums ChargePaymentMethodDetailsCrypto.Network, PaymentAttemptRecordPaymentMethodDetailsCrypto.Network, and PaymentRecordPaymentMethodDetailsCrypto.Network
    • Add support for Fingerprint on ChargePaymentMethodDetailsPaypay, PaymentAttemptRecordPaymentMethodDetailsPaypay, and PaymentRecordPaymentMethodDetailsPaypay
    • Add support for AddressCollectionPrecision on CheckoutSessionAutomaticTaxParams and CheckoutSessionAutomaticTax
    • Add support for CarRentalData and LodgingData on PaymentIntentCapturePaymentDetailsParams, PaymentIntentConfirmPaymentDetailsParams, PaymentIntentPaymentDetailsParams, and PaymentIntentPaymentDetails
    • Change type of PaymentLinkPaymentIntentDataParams.CaptureMethod from enum('automatic'|'automatic_async'|'manual') to emptyable(enum('automatic'|'automatic_async'|'manual'))
    • Add support for CaptureMethod on PaymentLinkPaymentIntentDataParams
    • Add support for LossMessage on ProductMarketingFeatureParams, ProductMarketingFeature, and ProductMarketingFeaturesParams
    • Add support for Application on Refund
    • Add support for Bizum and Upi on RefundDestinationDetails
    • Add support for TaxInvoiceMonth on ReportingReportRunParametersParams and ReportingReportRunParameters
    • Add support for Igic on TaxRegistrationCountryOptionsEsParams and TaxRegistrationCountryOptionsEs
    • Add support for new value igic on enum TaxRegistrationCountryOptionsEs.Type
    • Add support for new values stripe_s700_devkit, stripe_s710_devkit, stripe_t600_devkit, verifone_ux700_devkit, and verifone_v660p_devkit on enum TerminalReader.DeviceType
    • Add support for NetworkDetails on TestHelpersTreasuryInboundTransferFailFailureDetailsParams, TreasuryInboundTransferFailureDetails, TreasuryOutboundPaymentReturnedDetails, and TreasuryOutboundTransferReturnedDetails
    • Add support for FailureDetails on TestHelpersTreasuryInboundTransferReturnInboundTransferParams
    • Add support for AccountDashboard on V2CoreAccountLinkUseCaseParams and V2CoreAccountLinkUseCase
    • Add support for new value account_dashboard on enum V2CoreAccountLinkUseCase.Type
    • Add support for PaypayPayments on V2CoreAccountConfigurationMerchantCapabilitiesParams, V2CoreAccountConfigurationMerchantCapabilities, V2CoreAccountConfigurationMerchantParams, and V2CoreAccountConfigurationMerchant
    • Add support for BilliePayments, MbWayPayments, NzBankAccountBECSDebitPayments, and PixPayments on V2CoreAccountConfigurationMerchantCapabilitiesParams and V2CoreAccountConfigurationMerchantCapabilities
    • Add support for AdditionalMaterial on V2CoreAccountConfigurationMerchantKonbiniPaymentsParams and V2CoreAccountConfigurationMerchantKonbiniPayments
    • Add support for new values billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, paypay_payments, and pix_payments on enums V2CoreAccountFutureRequirementsEntryImpactRestrictsCapability.Capability and V2CoreAccountRequirementsEntryImpactRestrictsCapability.Capability
    • Add support for new values billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, paypay_payments, and pix_payments on enum EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.UpdatedCapability
    • Add support for event notifications V2CoreClaimableSandboxClaimedEvent, V2CoreClaimableSandboxCreatedEvent, V2CoreClaimableSandboxExpiredEvent, V2CoreClaimableSandboxExpiringEvent, and V2CoreClaimableSandboxUpdatedEvent with related object V2CoreClaimableSandbox
    • Add support for error code inactive_api_operation_confirmation_required on Error, InvoiceLastFinalizationError, PaymentIntentLastPaymentError, SetupAttemptSetupError, SetupIntentLastSetupError, StripeError, and TerminalReaderActionApiError
    • Add support for error codes claimable_sandbox_creation_rate_limit_exceeded and claimable_sandbox_testing_creation_rate_limit_exceeded on RateLimitError

87.1.0 - 2026-10-29

This release changes the pinned API version to 2026-10-28.endive.

  • #2457 Return an error for invalid empty V1 list pages
  • #2465 Reject ASCII-whitespace-only webhook secrets
    • Reject webhook signing secrets made entirely of ASCII whitespace instead of using them as HMAC keys.
  • Retry API error responses according to response headers and status codes (#2466)
  • #2464 Add API v2 Search support

... (truncated)

Commits
  • c97713a Bump version to 87.2.0
  • 1d5ce31 Update generated code (#2496)
  • 5b0adf7 Send an Idempotency-Key on write requests made without params (#2494)
  • 2e403fa Add error messages to help users debug signature verification failures (#2482)
  • 32e824e Fix telemetry user-agent cache isolation across clients 🪿✨ (#2490)
  • d041eb2 Run full CI on canary branches (#2487)
  • 5612143 Upgrade decimal to v1.5.0 to reject excessive decoded exponents 🪿✨ (#2488)
  • 9ecb8e6 Bump version to 87.1.0
  • 2df6b75 Update generated code (#2479)
  • 8599b38 Preserve event context when fetching event related objects (#2480)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/stripe/stripe-go/v87](https://github.com/stripe/stripe-go) from 87.0.0 to 87.2.0.
- [Release notes](https://github.com/stripe/stripe-go/releases)
- [Changelog](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-go@v87.0.0...v87.2.0)

---
updated-dependencies:
- dependency-name: github.com/stripe/stripe-go/v87
  dependency-version: 87.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from harshsaver as a code owner December 1, 2026 19:28
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 1, 2026

@harshsaver harshsaver left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Agentbox PR audit: changes requested

What needs to change

Please apply the fix plan above.

n/a

What this PR changes

  • What it does: Updates the Stripe payments library and its number-parsing dependency. Requests to Stripe move from its September 30 release to its November 18 release.
  • What changes in the product: Nothing visible is expected in normal use. Checkout, payment settings, payment-status checks and access updates retain their current flow.
  • Why it exists: It is the routine monthly dependency update from Dependabot.
  • Why merge (or why not yet): The reviewed billing paths remain compatible, and all 11 CI checks passed. First correct two documents that still describe the previous library and Stripe release.
  • What to expect after merging: Existing Stripe event notifications configured for September keep working. Operators can align their endpoint with the November release after testing. Confirm a successful test-mode delivery and watch delivery failures after deployment.
Full audit (Claude (claude-opus-5-5, xhigh) × Codex (gpt-6.1-sol, xhigh), 2 turns, commit 3fb847c)

PR audit: #217 — chore(deps): bump github.com/stripe/stripe-go/v87 from 87.0.0 to 87.2.0

Head: 3fb847c

Sign-off

  • Claude (claude-opus-5-5, xhigh): ✅ satisfied. The bump is safe for this app (checksums match, CI is green, upstream changes are additive or don't apply). Two docs still name the old Stripe pin; that is a 4-line fix.
  • Codex (gpt-6.1-sol, xhigh): ✅ satisfied — confirmed both documentation findings and the four-line fix plan; no additional blocking regression found.

Decision

fix — The dependency update is sound, but two documentation files retain the previous Stripe pin and API version. Update their four lines before merging.

Should this exist?

  • Verdict: yes — This follows the monthly Go dependency updates configured in .github/dependabot.yml:9-13 and updates an existing billing dependency owned by Harsh (.github/CODEOWNERS:11-12).
  • Product-rule issues: None. No billing policy, desktop limit or background timer is added. The indirect decimal dependency introduces a library-defined exponent bound for decoding provider data; this protects the hosted server and does not restrict supported workspace purchases. The outbound API change stays within Stripe’s compatible endive release family. Stripe versioning policy, decimal changes.
  • Simpler alternative: None. Updating the existing official SDK avoids application-specific fixes.
  • Real-launch evidence: not applicable — Only hosted billing integration behavior is affected; no Desktop, Lantern or Harness CLI launch behavior changes.

What changes (plain language)

  • What it does: Updates the Stripe payments library and its number-parsing dependency. Requests to Stripe move from its September 30 release to its November 18 release.
  • What changes in the product: Nothing visible is expected in normal use. Checkout, payment settings, payment-status checks and access updates retain their current flow.
  • Why it exists: It is the routine monthly dependency update from Dependabot.
  • Why merge (or why not yet): The reviewed billing paths remain compatible, and all 11 CI checks passed. First correct two documents that still describe the previous library and Stripe release.
  • What to expect after merging: Existing Stripe event notifications configured for September keep working. Operators can align their endpoint with the November release after testing. Confirm a successful test-mode delivery and watch delivery failures after deployment.

Findings

Blocking

  • docs/dependencies.md:27-31 — The public pin record still names v87.0.0, API version 2026-09-30.endive, and the old release link, while go.mod:13 now selects v87.2.0. The SDK’s API constant changes to 2026-11-18.endive. This violates CONTRIBUTING.md:62, which requires updating the public pin record in the same PR. The general reference to Go lock files at docs/dependencies.md:3 does not correct the explicitly outdated Stripe paragraph. New SDK API constant, previous constant.
  • docs/hosted-billing.md:76-77 — Operator instructions still prescribe 2026-09-30.endive as matching the pinned SDK. After this update, that matching-version claim is false. Stripe recommends configuring webhook endpoints to match the SDK’s pinned API version. Following the old instructions does not cause an immediate outage, because these two versions remain compatible, but the installation instructions must describe the new pin correctly. Stripe webhook version guidance.

Non-blocking

  • Existing webhook endpoints remain compatible. bus/hosted_billing_webhook.go:23 uses ConstructEventWithOptions with API-version validation enabled. The compatibility logic compares the release family, so September endive events pass against the November endive SDK. This conclusion follows the implementation, despite comments describing a version “match” more generally. The compatibility logic is unchanged between the reviewed versions. SDK compatibility implementation.
  • Webhook compatibility has a small existing test gap. bus/hosted_billing_test.go:186 always puts stripe.APIVersion in signed fixtures. These tests cannot independently demonstrate acceptance of events from the previously configured endpoint version. A signed fixture using the older endive version would document this deployment case; optional for this PR.
  • Retry behavior stays disabled. bus/hosted_billing.go:67 explicitly sets MaxNetworkRetries: 0. The SDK checks that limit before evaluating response headers or status codes. Consequently, the retry-ordering fix does not introduce retries or sleeps here. SDK retry implementation, upstream fix.
  • Telemetry remains disabled. Both the application client (bus/hosted_billing.go:67) and fixture client (bus/hosted_billing_test.go:52) explicitly disable telemetry. The new cache separates clients by that setting; no other production Stripe client was found. SDK telemetry cache.
  • Idempotency behavior remains appropriate. The typed Expire service replaces nil parameters with an empty parameter object in both versions. Calls at bus/hosted_billing_checkout.go:72 and bus/hosted_deletion.go:178 therefore already received generated keys. The explicit customer and checkout keys at bus/hosted_billing.go:229,304 remain intact. Typed service, request headers.
  • Webhook validation changes do not expose secrets through this service. The new whitespace-only-secret rejection cannot reject a normally configured instance: bus/hosted_billing.go:55 already requires a whsec_ prefix and minimum length. Richer signature errors can contain the secret’s last four characters, but bus/hosted_billing_webhook.go:24-25 discards that error and returns a generic failure. SDK signature validation.
  • Malformed empty-list handling does change, safely. The SDK now reports an error for empty pages with has_more: true and stops pagination after errors. At bus/hosted_billing.go:278-281, this promptly returns billingUnavailable() instead of potentially fetching the same malformed page repeatedly. At bus/hosted_billing_reconcile.go:84,111, it returns billingUnavailable() before the existing conflict checks at :87,114. No new purchase or access extension is authorized by either failure path. This qualifies the previous audit’s blanket statement that runtime behavior is unchanged. SDK pagination implementation.
  • The API upgrade has no identified billing-contract break. Stripe labels the October and November GA additions as non-breaking. The base September release’s breaking entries are already part of v87.0.0; preview changes are not selected. The application’s validations at bus/hosted_billing.go:156,170,259 and bus/hosted_billing_reconcile.go:13,118,165-176 remain supported. Newly available portal subscription pausing requires explicit operator configuration; upgrading alone does not enable it. Endive changelog, portal pausing impact.
  • Decimal is used indirectly, even without an application import. Stripe decodes decimal fields such as Price.UnitAmountDecimal; absence of a direct import alone does not establish safety. However, the configured USD prices and integer quantities at bus/hosted_billing.go:73,75,156,303 do not require extreme exponents. The new decoding bound comes from the library, and the application does not call the changed power, rounding or shift methods. No relevant regression was found. Stripe price type, decimal behavior changes.
  • Maintainer review remains required. CONTRIBUTING.md:58-59 requires approving maintainer and code-owner review. GitHub shows Harsh’s review requested and at least one approval required. Green CI does not remove that merge requirement. PR discussion and review state.
  • Optional documentation cleanup: docs/hosted-billing.md:77 could eventually reference the pin record instead of duplicating its date. That would reduce future drift. Keep this PR’s fix to the four agreed replacements.

Fix plan

One commit on the PR branch. Docs only; four lines in two files. Suggested message: docs: record stripe-go v87.2.0 and Stripe API 2026-11-18.endive pin.

  1. docs/dependencies.md:28: replace **v87.0.0** client and webhook signature verifier, pinned to Stripe API version with **v87.2.0** client and webhook signature verifier, pinned to Stripe API version.
  2. docs/dependencies.md:29: replace `2026-09-30.endive`. The service uses a separate workspace billing flow and does with `2026-11-18.endive`. The service uses a separate workspace billing flow and does.
  3. docs/dependencies.md:31: replace [stripe-go v87.0.0](https://github.com/stripe/stripe-go/releases/tag/v87.0.0). with [stripe-go v87.2.0](https://github.com/stripe/stripe-go/releases/tag/v87.2.0).
  4. docs/hosted-billing.md:77: replace Stripe API **2026-09-30.endive**, matching the pinned stripe-go v87 SDK. Subscribe to: with Stripe API **2026-11-18.endive**, matching the pinned stripe-go v87 SDK. Subscribe to:

After the commit, git grep -n '2026-09-30.endive\|87\.0\.0' -- docs go.mod should return nothing. The unrelated date references in docs/portable-contract-verification-2026-09.md:77,213 should remain.

Message to the developer

Please apply the fix plan above.

n/a

Questions for Harsh

n/a

Verification

  • Independently read the full git diff 4efe404f5aaaee841e327ed08b87bb8020f4bffe...HEAD. Only two version selections in go.mod and four checksum entries in go.sum change. Confirmed HEAD and its single parent match the supplied head and base.
  • Attempted gh pr view 217 -R october-dev/october-bus --comments; the CLI could not connect to GitHub. Read the public PR discussion through the web tool instead, including the description, linked upstream changes and requested review. No separate product issue or author launch evidence was present.
  • Independently read the repository contribution policy, dependency records, operator instructions, Dependabot configuration and code ownership.
  • Read every production Stripe call site in bus/hosted_billing.go, hosted_billing_checkout.go, hosted_billing_reconcile.go, hosted_billing_webhook.go and hosted_deletion.go, plus the client and signed-event fixtures. Also checked the billing maintenance caller and repository-wide Stripe/decimal usage.
  • Compared relevant cached v87.0.0 implementations with the published v87.2.0 source: API constants, webhook compatibility, request headers, retry limit, telemetry cache, typed checkout expiration and pagination. Read the upstream release notes, decimal changelog and Stripe’s API-versioning policy.
  • Independently confirmed the Go floors: Stripe requires Go 1.24 and decimal requires Go 1.10, below this repository’s Go 1.26 language floor and Go 1.27 toolchain. Stripe’s only changed module requirement is decimal v1.4.0→v1.5.0. Stripe module requirements, decimal module requirements.
  • Checksum evidence: Claude reported exact sum.golang.org matches in turn 1: Stripe h1:ypVhBi…RSc= / module h1:i+Gslw…Wes=, decimal h1:HxSWk3…FPc= / module h1:gawqmD…cwME=. Codex independently matched both decimal entries against Stripe’s published go.sum; checksum-database lookup URLs were inaccessible this turn, so the Stripe checksum-database comparison remains Claude’s verification. Upstream decimal checksums.
  • CI: The supplied snapshot and Claude’s turn-1 rollup report all 11 checks successful. Codex independently followed the PR’s checks page for 3fb847c to run 46726802888, which reports Success, with all three runtime jobs and both Node compatibility jobs completed. The hosted and vulnerability jobs also explicitly report success. This resolves the earlier uncertainty linking that run to the PR head. Head checks, successful run.
  • Read .github/workflows/ci.yml: runtime jobs cover tests, vet and builds; Ubuntu also runs race tests. The hosted job runs hosted/PostgreSQL regressions, and the vulnerability job runs govulncheck. There is no tidy gate.
  • No PR code, installs, tests, builds or scripts were executed. No checkout files were modified. For Harsh’s trusted final verification, retain:
    • go mod verify
    • go mod tidy && git diff --exit-code go.mod go.sum
    • go test -race ./bus -run 'Billing|Hosted'
    • Send a valid subscribed Stripe test-mode event to /api/billing/webhook and confirm a 200 response.

Audit log

  • Turn 1 (Claude (claude-opus-5-5, xhigh)): Audited from scratch. Checked the go.sum lines against sum.golang.org, the go directives, and every stripe-go call site against upstream v87.0.0→v87.2.0 source (webhook version check, retries, idempotency, telemetry, list iterator, secret validation) plus Stripe's endive changelog and versioning policy. Found the public pin record (docs/dependencies.md:27-31) and the operator webhook instruction (docs/hosted-billing.md:77) left at v87.0.0 / 2026-09-30.endive. Decision: fix, with an exact 4-line docs plan.
  • Turn 2 (Codex (gpt-6.1-sol, xhigh)): Independently confirmed both blocking documentation findings and the unchanged four-line fix. Rechecked billing call sites and upstream compatibility; found no additional blocker. Qualified the unchanged-behavior claim for malformed list responses and indirect decimal decoding, confirmed the successful CI run’s connection to head 3fb847c, and recorded checksum revalidation limits. Removed unrelated sibling-PR instructions and unnecessary latest-version claims. Satisfied; decision remains fix, with no material changes.

Automated review by Harsh's agentbox: two AI reviewers audited this PR against the project ruleset and agreed on it.

This branch has not been deployed

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

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant