Skip to content

Copy API_VERSION to CODEGEN_VERSION#3279

Merged
ramya-stripe merged 1 commit intomasterfrom
ramya/rename-api-version
Jan 2, 2026
Merged

Copy API_VERSION to CODEGEN_VERSION#3279
ramya-stripe merged 1 commit intomasterfrom
ramya/rename-api-version

Conversation

@ramya-stripe
Copy link
Copy Markdown
Contributor

Why?

The API_VERSION file stores the commit details of the codegen repo which was used to generate v2 APIs in the SDK. Until October this year, this file stored the API version instead. To avoid misleading users and having them depend on this file in any manner, we want to rename this file.

What?

  • Copy API_VERSION to CODEGEN_VERSION instead of renaming just yet
  • After our codegen automations have been updated to use the new file, the old one will be deleted

@ramya-stripe ramya-stripe requested a review from a team as a code owner December 25, 2025 23:38
@ramya-stripe ramya-stripe requested review from jar-stripe and removed request for a team December 25, 2025 23:38
@ramya-stripe ramya-stripe enabled auto-merge (squash) December 25, 2025 23:54
@ramya-stripe ramya-stripe merged commit f0214ac into master Jan 2, 2026
9 checks passed
@ramya-stripe ramya-stripe deleted the ramya/rename-api-version branch January 2, 2026 12:44
Comment thread CODEGEN_VERSION
ramya-stripe added a commit that referenced this pull request Jan 5, 2026
* Update CHANGELOG.md to remove changes on Events (#3261)

* Updated timeout for publishing packages (#3265)

* Make EventUtility.ComputeSignature public (#3270)

* Update generated code (#3271)

* Update generated code for v2129 and

* Update generated code for v2134 and

* Update generated code for v2137 and

* Update generated code for v2140 and

* Update generated code for v2143 and

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>

* Bump version to 50.1.0

* Copy API_VERSION to CODEGEN_VERSION (#3279)

---------

Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Co-authored-by: Prathmesh Ranaut <165320323+prathmesh-stripe@users.noreply.github.com>
Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: System Administrator <ramya@stripe.com>
ramya-stripe added a commit that referenced this pull request Jan 6, 2026
* Make EventUtility.ComputeSignature public (#3270)

* Update generated code (#3271)

* Update generated code for v2129 and

* Update generated code for v2134 and

* Update generated code for v2137 and

* Update generated code for v2140 and

* Update generated code for v2143 and

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>

* Bump version to 50.1.0

* Copy API_VERSION to CODEGEN_VERSION (#3279)

* Remove the duplicate metadata entry due to bad merge resolution

---------

Co-authored-by: Prathmesh Ranaut <165320323+prathmesh-stripe@users.noreply.github.com>
Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
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.

2 participants