Skip to content

Commit ca29e33

Browse files
Copilotkazrael2119
andauthored
Bump emitter version and upgrade TypeSpec dependencies to latest stable versions (#3491)
* Initial plan * Complete TypeSpec dependency upgrade and package version bumping for September 2025 release Co-authored-by: kazrael2119 <[email protected]> * update --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: kazrael2119 <[email protected]>
1 parent 3b0819b commit ca29e33

File tree

10 files changed

+395
-286
lines changed

10 files changed

+395
-286
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 248 additions & 248 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/autorest.typescript/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 6.0.47 (2025-09-11)
2+
3+
- [Bugfix] Improve sourcesRoot calculation for typespec-ts. Please refer to [#3484](https://github.com/Azure/autorest.typescript/pull/3484)
4+
- [Feature] Update License Headers. Please refer to [#3462](https://github.com/Azure/autorest.typescript/pull/3462)
5+
- [Bugfix] Fix discriminated property accessto use camelCase property names. Please refer to [#3447](https://github.com/Azure/autorest.typescript/pull/3447)
6+
- [Bugfix] Fix partial lint errors in codegen side. Please refer to [#3481](https://github.com/Azure/autorest.typescript/pull/3481)
7+
- [Feature] Improve TSDoc documentation for Azure Cloud helpers. Please refer to [#3474](https://github.com/Azure/autorest.typescript/pull/3474)
8+
- [Bugfix] Remove unwanted serializer/deserializer function exports from index.ts files. Please refer to [#3463](https://github.com/Azure/autorest.typescript/pull/3463)
9+
- [Feature] Upgrade dependencies
10+
- Bump TypeSpec dependencies to latest stable versions. Please refer to [#3465](https://github.com/Azure/autorest.typescript/pull/3465)
11+
- Bump TypeSpec version to latest stable with comprehensive integration testing. Please refer to [#3451](https://github.com/Azure/autorest.typescript/pull/3451)
12+
- Bump TypeSpec version to latest stable and skip failure cases for RLC. Please refer to [#3445](https://github.com/Azure/autorest.typescript/pull/3445)
13+
- [Feature] Remove dev-tool run vendored commands. Please refer to [#3455](https://github.com/Azure/autorest.typescript/pull/3455)
14+
- [Feature] Simpler vitest configs. Please refer to [#3439](https://github.com/Azure/autorest.typescript/pull/3439)
15+
- [Feature] Delete prepack. Please refer to [#3449](https://github.com/Azure/autorest.typescript/pull/3449)
16+
- [Feature] Improve autorest packageJson scripts. Please refer to [#3393](https://github.com/Azure/autorest.typescript/pull/3393)
17+
- [Feature] Use tsconfig.src.build.json. Please refer to [#3392](https://github.com/Azure/autorest.typescript/pull/3392)
18+
- [Bugfix] Fix enum name normalization in TSDoc comments for extensible enums. Please refer to [#3430](https://github.com/Azure/autorest.typescript/pull/3430)
19+
- [Bugfix] Fix TypeSpec endpoint parameter generation when endpoint has default values. Please refer to [#3426](https://github.com/Azure/autorest.typescript/pull/3426)
20+
121
## 6.0.46 (2025-08-08)
222

323
- [Bugfix] Remove the previously missed `experimentalExtensibleEnums`. Please refer to [#3417](https://github.com/Azure/autorest.typescript/pull/3417)

packages/autorest.typescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autorest/typescript",
3-
"version": "6.0.46",
3+
"version": "6.0.47",
44
"scripts": {
55
"build": "tsc -p . && npm run copyFiles",
66
"build:test:browser:rlc": "tsc -p tsconfig.browser-test.json && ts-node test/commands/prepare-deps.ts --browser && webpack --config webpack.config.test.js --env mode=rlc",
@@ -77,7 +77,7 @@
7777
"source-map-support": "^0.5.16",
7878
"ts-morph": "^23.0.0",
7979
"@azure/core-auth": "^1.6.0",
80-
"@azure-tools/rlc-common": "workspace:^0.43.0"
80+
"@azure-tools/rlc-common": "workspace:^0.44.0"
8181
},
8282
"devDependencies": {
8383
"@azure-tools/test-recorder": "^3.0.0",

packages/rlc-common/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.44.0 (2025-09-11)
2+
3+
- [Bugfix] Improve sourcesRoot calculation for typespec-ts. Please refer to [#3484](https://github.com/Azure/autorest.typescript/pull/3484)
4+
- [Feature] Update License Headers. Please refer to [#3462](https://github.com/Azure/autorest.typescript/pull/3462)
5+
- [Bugfix] Fix discriminated property accessto use camelCase property names. Please refer to [#3447](https://github.com/Azure/autorest.typescript/pull/3447)
6+
- [Bugfix] Fix partial lint errors in codegen side. Please refer to [#3481](https://github.com/Azure/autorest.typescript/pull/3481)
7+
- [Feature] Improve TSDoc documentation for Azure Cloud helpers. Please refer to [#3474](https://github.com/Azure/autorest.typescript/pull/3474)
8+
- [Bugfix] Remove unwanted serializer/deserializer function exports from index.ts files. Please refer to [#3463](https://github.com/Azure/autorest.typescript/pull/3463)
9+
- [Feature] Upgrade dependencies
10+
- Bump TypeSpec dependencies to latest stable versions. Please refer to [#3465](https://github.com/Azure/autorest.typescript/pull/3465)
11+
- Bump TypeSpec version to latest stable with comprehensive integration testing. Please refer to [#3451](https://github.com/Azure/autorest.typescript/pull/3451)
12+
- Bump TypeSpec version to latest stable and skip failure cases for RLC. Please refer to [#3445](https://github.com/Azure/autorest.typescript/pull/3445)
13+
- [Feature] Remove dev-tool run vendored commands. Please refer to [#3455](https://github.com/Azure/autorest.typescript/pull/3455)
14+
- [Feature] Simpler vitest configs. Please refer to [#3439](https://github.com/Azure/autorest.typescript/pull/3439)
15+
- [Feature] Delete prepack. Please refer to [#3449](https://github.com/Azure/autorest.typescript/pull/3449)
16+
- [Feature] Improve autorest packageJson scripts. Please refer to [#3393](https://github.com/Azure/autorest.typescript/pull/3393)
17+
- [Feature] Use tsconfig.src.build.json. Please refer to [#3392](https://github.com/Azure/autorest.typescript/pull/3392)
18+
- [Bugfix] Fix enum name normalization in TSDoc comments for extensible enums. Please refer to [#3430](https://github.com/Azure/autorest.typescript/pull/3430)
19+
- [Bugfix] Fix TypeSpec endpoint parameter generation when endpoint has default values. Please refer to [#3426](https://github.com/Azure/autorest.typescript/pull/3426)
20+
121
## 0.43.0 (2025-08-08)
222

323
- [Bugfix] Remove the previously missed `experimentalExtensibleEnums`. Please refer to [#3417](https://github.com/Azure/autorest.typescript/pull/3417)

packages/rlc-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/rlc-common",
3-
"version": "0.43.0",
3+
"version": "0.44.0",
44
"description": "",
55
"type": "module",
66
"main": "dist/index.js",

packages/typespec-test/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"version": "1.0.0",
44
"type": "module",
55
"dependencies": {
6-
"@azure-tools/typespec-ts": "workspace:^0.43.0",
7-
"@typespec/openapi": "^1.3.0",
8-
"@azure-tools/typespec-autorest": "^0.59.1",
9-
"@typespec/openapi3": "^1.3.0",
10-
"@azure-tools/typespec-azure-core": "^0.59.0",
11-
"@azure-tools/typespec-client-generator-core": "^0.59.1",
12-
"@azure-tools/typespec-azure-resource-manager": "^0.59.2",
13-
"@azure-tools/typespec-azure-rulesets": "^0.59.0",
14-
"@typespec/compiler": "^1.3.0",
15-
"@typespec/http": "^1.3.0",
16-
"@typespec/rest": "^0.73.0",
17-
"@typespec/versioning": "^0.73.0",
18-
"@typespec/json-schema": "^1.3.0",
6+
"@azure-tools/typespec-ts": "workspace:^0.44.0",
7+
"@typespec/openapi": "^1.4.0",
8+
"@azure-tools/typespec-autorest": "^0.60.0",
9+
"@typespec/openapi3": "^1.4.0",
10+
"@azure-tools/typespec-azure-core": "^0.60.0",
11+
"@azure-tools/typespec-client-generator-core": "^0.60.0",
12+
"@azure-tools/typespec-azure-resource-manager": "^0.60.0",
13+
"@azure-tools/typespec-azure-rulesets": "^0.60.0",
14+
"@typespec/compiler": "^1.4.0",
15+
"@typespec/http": "^1.4.0",
16+
"@typespec/rest": "^0.74.0",
17+
"@typespec/versioning": "^0.74.0",
18+
"@typespec/json-schema": "^1.4.0",
1919
"prettier": "^3.1.0"
2020
},
2121
"devDependencies": {

packages/typespec-ts/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.44.0 (2025-09-11)
2+
3+
- [Bugfix] Improve sourcesRoot calculation for typespec-ts. Please refer to [#3484](https://github.com/Azure/autorest.typescript/pull/3484)
4+
- [Feature] Update License Headers. Please refer to [#3462](https://github.com/Azure/autorest.typescript/pull/3462)
5+
- [Bugfix] Fix discriminated property accessto use camelCase property names. Please refer to [#3447](https://github.com/Azure/autorest.typescript/pull/3447)
6+
- [Bugfix] Fix partial lint errors in codegen side. Please refer to [#3481](https://github.com/Azure/autorest.typescript/pull/3481)
7+
- [Feature] Improve TSDoc documentation for Azure Cloud helpers. Please refer to [#3474](https://github.com/Azure/autorest.typescript/pull/3474)
8+
- [Bugfix] Remove unwanted serializer/deserializer function exports from index.ts files. Please refer to [#3463](https://github.com/Azure/autorest.typescript/pull/3463)
9+
- [Feature] Upgrade dependencies
10+
- Bump TypeSpec dependencies to latest stable versions. Please refer to [#3465](https://github.com/Azure/autorest.typescript/pull/3465)
11+
- Bump TypeSpec version to latest stable with comprehensive integration testing. Please refer to [#3451](https://github.com/Azure/autorest.typescript/pull/3451)
12+
- Bump TypeSpec version to latest stable and skip failure cases for RLC. Please refer to [#3445](https://github.com/Azure/autorest.typescript/pull/3445)
13+
- [Feature] Remove dev-tool run vendored commands. Please refer to [#3455](https://github.com/Azure/autorest.typescript/pull/3455)
14+
- [Feature] Simpler vitest configs. Please refer to [#3439](https://github.com/Azure/autorest.typescript/pull/3439)
15+
- [Feature] Delete prepack. Please refer to [#3449](https://github.com/Azure/autorest.typescript/pull/3449)
16+
- [Feature] Improve autorest packageJson scripts. Please refer to [#3393](https://github.com/Azure/autorest.typescript/pull/3393)
17+
- [Feature] Use tsconfig.src.build.json. Please refer to [#3392](https://github.com/Azure/autorest.typescript/pull/3392)
18+
- [Bugfix] Fix enum name normalization in TSDoc comments for extensible enums. Please refer to [#3430](https://github.com/Azure/autorest.typescript/pull/3430)
19+
- [Bugfix] Fix TypeSpec endpoint parameter generation when endpoint has default values. Please refer to [#3426](https://github.com/Azure/autorest.typescript/pull/3426)
20+
121
## 0.43.0 (2025-08-08)
222

323
- [Bugfix] Remove the previously missed `experimentalExtensibleEnums`. Please refer to [#3417](https://github.com/Azure/autorest.typescript/pull/3417)

packages/typespec-ts/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/typespec-ts",
3-
"version": "0.43.0",
3+
"version": "0.44.0",
44
"description": "An experimental TypeSpec emitter for TypeScript RLC",
55
"main": "dist/src/index.js",
66
"type": "module",
@@ -65,15 +65,15 @@
6565
"license": "MIT",
6666
"devDependencies": {
6767
"@azure-rest/core-client": "^2.3.1",
68-
"@typespec/http-specs": "0.1.0-alpha.26-dev.3",
69-
"@typespec/spector": "0.1.0-alpha.18-dev.0",
70-
"@typespec/spec-api": "0.1.0-alpha.9-dev.0",
68+
"@typespec/http-specs": "0.1.0-alpha.27-dev.0",
69+
"@typespec/spector": "0.1.0-alpha.19-dev.0",
70+
"@typespec/spec-api": "0.1.0-alpha.10-dev.0",
7171
"@typespec/tspd": "0.72.1",
72-
"@azure-tools/azure-http-specs": "0.1.0-alpha.28-dev.0",
73-
"@azure-tools/typespec-autorest": "^0.59.1",
74-
"@azure-tools/typespec-azure-core": "^0.59.0",
75-
"@azure-tools/typespec-azure-resource-manager": "^0.59.2",
76-
"@azure-tools/typespec-client-generator-core": "^0.59.1",
72+
"@azure-tools/azure-http-specs": "0.1.0-alpha.29-dev.0",
73+
"@azure-tools/typespec-autorest": "^0.60.0",
74+
"@azure-tools/typespec-azure-core": "^0.60.0",
75+
"@azure-tools/typespec-azure-resource-manager": "^0.60.0",
76+
"@azure-tools/typespec-client-generator-core": "^0.60.0",
7777
"@azure/abort-controller": "^2.1.2",
7878
"@azure/core-auth": "^1.6.0",
7979
"@azure/core-lro": "^3.1.0",
@@ -88,12 +88,12 @@
8888
"@types/node": "^18.0.0",
8989
"@typescript-eslint/eslint-plugin": "^8.28.0",
9090
"@typescript-eslint/parser": "^8.28.0",
91-
"@typespec/compiler": "^1.3.0",
92-
"@typespec/http": "^1.3.0",
93-
"@typespec/openapi": "^1.3.0",
94-
"@typespec/rest": "^0.73.0",
91+
"@typespec/compiler": "^1.4.0",
92+
"@typespec/http": "^1.4.0",
93+
"@typespec/openapi": "^1.4.0",
94+
"@typespec/rest": "^0.74.0",
9595
"@typespec/ts-http-runtime": "^0.1.0",
96-
"@typespec/versioning": "^0.73.0",
96+
"@typespec/versioning": "^0.74.0",
9797
"chai": "^4.3.6",
9898
"chalk": "^4.0.0",
9999
"cross-env": "^7.0.3",
@@ -115,16 +115,16 @@
115115
"js-yaml": "^4.1.0"
116116
},
117117
"peerDependencies": {
118-
"@azure-tools/typespec-azure-core": "^0.59.0",
119-
"@azure-tools/typespec-client-generator-core": "^0.59.1",
120-
"@typespec/compiler": "^1.3.0",
121-
"@typespec/http": "^1.3.0",
122-
"@typespec/rest": "^0.73.0",
123-
"@typespec/versioning": "^0.73.0",
124-
"@typespec/xml": "^0.73.0"
118+
"@azure-tools/typespec-azure-core": "^0.60.0",
119+
"@azure-tools/typespec-client-generator-core": "^0.60.0",
120+
"@typespec/compiler": "^1.4.0",
121+
"@typespec/http": "^1.4.0",
122+
"@typespec/rest": "^0.74.0",
123+
"@typespec/versioning": "^0.74.0",
124+
"@typespec/xml": "^0.74.0"
125125
},
126126
"dependencies": {
127-
"@azure-tools/rlc-common": "workspace:^0.43.0",
127+
"@azure-tools/rlc-common": "workspace:^0.44.0",
128128
"fs-extra": "^11.1.0",
129129
"lodash": "^4.17.21",
130130
"prettier": "^3.3.3",

packages/typespec-ts/test/azureIntegration/generated/azure/client-generator-core/client-location/src/index.d.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ export declare interface ArchiveProduct204Response extends HttpResponse {
1414

1515
export declare type ArchiveProductParameters = RequestParameters;
1616

17+
export declare interface BlobOutput {
18+
id: string;
19+
name: string;
20+
size: number;
21+
path: string;
22+
}
23+
1724
export declare type ClientLocationClient = Client & {
1825
path: Routes;
1926
};
@@ -40,6 +47,27 @@ export declare interface GetAdminInfo204Response extends HttpResponse {
4047

4148
export declare type GetAdminInfoParameters = RequestParameters;
4249

50+
export declare interface GetBlob {
51+
get(options: GetBlobParameters): StreamableMethod<GetBlob200Response>;
52+
}
53+
54+
export declare interface GetBlob200Response extends HttpResponse {
55+
status: "200";
56+
body: BlobOutput;
57+
}
58+
59+
export declare type GetBlobParameters = GetBlobQueryParam & RequestParameters;
60+
61+
export declare interface GetBlobQueryParam {
62+
queryParameters: GetBlobQueryParamProperties;
63+
}
64+
65+
export declare interface GetBlobQueryParamProperties {
66+
storageAccount: string;
67+
container: string;
68+
blob: string;
69+
}
70+
4371
export declare interface GetHealthStatus {
4472
get(options?: GetHealthStatusParameters): StreamableMethod<GetHealthStatus204Response>;
4573
}
@@ -88,6 +116,7 @@ export declare interface Routes {
88116
(path: "/azure/client-generator-core/client-location/products/archive"): ArchiveProduct;
89117
(path: "/azure/client-generator-core/client-location/resource"): GetResource;
90118
(path: "/azure/client-generator-core/client-location/health"): GetHealthStatus;
119+
(path: "/azure/client-generator-core/client-location/blob"): GetBlob;
91120
}
92121

93122
export { }

packages/typespec-ts/test/azureModularIntegration/generated/azure/client-generator-core/client-location/src/index.d.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,21 @@ export declare interface ArchiveOperationsOperations {
99
archiveProduct: (options?: ArchiveOperationsArchiveProductOptionalParams) => Promise<void>;
1010
}
1111

12+
declare interface Blob_2 {
13+
id: string;
14+
name: string;
15+
size: number;
16+
path: string;
17+
}
18+
export { Blob_2 as Blob }
19+
1220
export declare class ClientLocationClient {
1321
private _client;
1422
readonly pipeline: Pipeline;
1523
constructor(options?: ClientLocationClientOptionalParams);
1624
getHealthStatus(options?: GetHealthStatusOptionalParams): Promise<void>;
1725
readonly archiveOperations: ArchiveOperationsOperations;
26+
readonly moveMethodParameterToClient: MoveMethodParameterToClientOperations;
1827
readonly moveToRootClient: MoveToRootClientOperations;
1928
readonly moveToNewSubClient: MoveToNewSubClientOperations;
2029
readonly moveToExistingSubClient: MoveToExistingSubClientOperations;
@@ -26,6 +35,17 @@ export declare interface ClientLocationClientOptionalParams extends ClientOption
2635
export declare interface GetHealthStatusOptionalParams extends OperationOptions {
2736
}
2837

38+
export declare interface MoveMethodParameterToClientBlobOperationsGetBlobOptionalParams extends OperationOptions {
39+
}
40+
41+
export declare interface MoveMethodParameterToClientBlobOperationsOperations {
42+
getBlob: (storageAccount: string, container: string, blob: string, options?: MoveMethodParameterToClientBlobOperationsGetBlobOptionalParams) => Promise<Blob_2>;
43+
}
44+
45+
export declare interface MoveMethodParameterToClientOperations {
46+
blobOperations: MoveMethodParameterToClientBlobOperationsOperations;
47+
}
48+
2949
export declare interface MoveToExistingSubClientAdminOperationsDeleteUserOptionalParams extends OperationOptions {
3050
}
3151

0 commit comments

Comments
 (0)