Skip to content

fix(generator): handle preview version pkg name#3511

Merged
noahdietz merged 1 commit intomainfrom
preview-version-fixing
Feb 24, 2026
Merged

fix(generator): handle preview version pkg name#3511
noahdietz merged 1 commit intomainfrom
preview-version-fixing

Conversation

@noahdietz
Copy link
Copy Markdown
Contributor

@noahdietz noahdietz commented Feb 23, 2026

Similar to how we have special package name handling for alpha and beta to make them align more closely with Go package naming, we need to do the same for preview, which will be coming in the future. We will use v1 instead of v0 as the target API adopting this will be basing their preview on an existing v1, and a majority of APIs start with v1 anyways.

Also adds missing test cases for the existing conditions in addition to the new one.

Internal issue http://b/475856585

@noahdietz noahdietz marked this pull request as ready for review February 23, 2026 22:08
@noahdietz noahdietz requested a review from a team as a code owner February 23, 2026 22:08
@noahdietz noahdietz added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 24, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 24, 2026
@noahdietz noahdietz merged commit 2a249ce into main Feb 24, 2026
6 of 7 checks passed
@noahdietz noahdietz deleted the preview-version-fixing branch February 24, 2026 17:45
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