Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename language fields in Stripe's user agent to start with lang #492

Merged
merged 1 commit into from
Nov 2, 2017

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Nov 2, 2017

I noticed this as I was looking at a dashboard that @ob-stripe produced today.
Other languages send language and language version as lang and lang_version
while we were using the fully expanded language_* here. I'm changing it here
for consistency with other libraries, but I'm also going to patch the server
because there are so many Go libraries out there that could potentially be
reporting if we supported both styles.

r? @ob-stripe

I noticed this as I was looking at a dashboard that @ob-stripe produced
today. Other languages send language and language version as `lang` and
`lang_version` while we were using the fully expanded `language_*` here.
I'm changing it here for consistency with other libraries, but I'm also
going to patch the server because there are so many Go libraries out
there that could potentially be reporting if we supported both styles.
@brandur-stripe brandur-stripe force-pushed the brandur-rename-language branch from 47840b0 to c096661 Compare November 2, 2017 19:01
@ob-stripe
Copy link
Contributor

Oh, nice find! I actually checked in Splunk that the library was sending the values, but failed to notice the lang vs language difference.

lgtm 👍

@brandur-stripe
Copy link
Contributor

Thanks!

@brandur-stripe brandur-stripe merged commit ce06f20 into master Nov 2, 2017
@brandur-stripe brandur-stripe deleted the brandur-rename-language branch November 2, 2017 19:12
nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.10090 to 0.5.10095.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants