Skip to content

Conversation

@mbroshi-stripe
Copy link
Contributor

Why?

In investigating issues like #1213, it helps us if we can see the Gson version used in a request in the Stripe headers. We usually ask the user, but since Java dependency management is tricky, we sometimes get the wrong answer.

What?

  • Adds the Gson version included at runtime to the X-STRIPE-CLIENT-USER-AGENT header hash

@mbroshi-stripe mbroshi-stripe requested a review from a team as a code owner December 6, 2025 01:44
@mbroshi-stripe mbroshi-stripe requested review from jar-stripe and removed request for a team December 6, 2025 01:44
@mbroshi-stripe mbroshi-stripe merged commit ddc5736 into master Dec 6, 2025
14 checks passed
@mbroshi-stripe mbroshi-stripe deleted the mbroshi/add-gson-version branch December 6, 2025 02:32
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.

3 participants