-
Notifications
You must be signed in to change notification settings - Fork 183
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
Changelog Tool Bumps Stable Version for Preview API with Latest Modular CodeGen #8522
Labels
Comments
The bug is introduced by new codegen pr. The way to define default api version is changed. e.g. new api-version at client level is defined here tasks:
|
wanlwanl
changed the title
[JS] generate the wrong version if it is a FirstBeta package generated with modular
[JS] Changelog Tool Bumps Package Version to 1.0.0 in with Preview API Version in Latest autorest.typescript Modular CodeGen
Jul 9, 2024
wanlwanl
changed the title
[JS] Changelog Tool Bumps Package Version to 1.0.0 in with Preview API Version in Latest autorest.typescript Modular CodeGen
[JS] Changelog Tool Bumps Stable Version for Preview API Version with Latest Modular CodeGen
Jul 9, 2024
wanlwanl
changed the title
[JS] Changelog Tool Bumps Stable Version for Preview API Version with Latest Modular CodeGen
[JS] Changelog Tool Bumps Stable Version for Preview API with Latest Modular CodeGen
Jul 9, 2024
wanlwanl
changed the title
[JS] Changelog Tool Bumps Stable Version for Preview API with Latest Modular CodeGen
Changelog Tool Bumps Stable Version for Preview API with Latest Modular CodeGen
Jul 9, 2024
PR to fix: #8671 |
wanlwanl
added a commit
that referenced
this issue
Jul 22, 2024
# Issue #8522 # Problem The bug is introduced by new codegen [pr](Azure/autorest.typescript@b0853b2). The way to define default api version is changed. extracting the api version should also consider version of codegen. e.g. new api-version at client level is defined [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mongocluster/arm-mongocluster/src/rest/documentDBClient.ts#L23) while old one is: - [here](https://github.com/Azure/azure-sdk-for-js/blob/06716722818f5838cc10a9e5644b7ba9f32089d5/sdk/face/ai-vision-face-rest/src/faceClient.ts#L26) - [another](https://github.com/Azure/azure-sdk-for-js/blob/06716722818f5838cc10a9e5644b7ba9f32089d5/sdk/openai/openai-rest/src/openAIClient.ts#L22) # Solution 1. try to detect in new client, return api-version if found 2. fallback to detect old client, return whatever found
WhitShake
pushed a commit
to WhitShake/azure-sdk-tools
that referenced
this issue
Jul 24, 2024
# Issue Azure#8522 # Problem The bug is introduced by new codegen [pr](Azure/autorest.typescript@b0853b2). The way to define default api version is changed. extracting the api version should also consider version of codegen. e.g. new api-version at client level is defined [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mongocluster/arm-mongocluster/src/rest/documentDBClient.ts#L23) while old one is: - [here](https://github.com/Azure/azure-sdk-for-js/blob/06716722818f5838cc10a9e5644b7ba9f32089d5/sdk/face/ai-vision-face-rest/src/faceClient.ts#L26) - [another](https://github.com/Azure/azure-sdk-for-js/blob/06716722818f5838cc10a9e5644b7ba9f32089d5/sdk/openai/openai-rest/src/openAIClient.ts#L22) # Solution 1. try to detect in new client, return api-version if found 2. fallback to detect old client, return whatever found
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this pr is generated with modular
Azure/azure-sdk-for-js#30102
and the generated version is 1.0.0-beta.1
but after usiing changelog tool, it becomes 1.0.0
The text was updated successfully, but these errors were encountered: