From 5684eecc44c37c458b120259079c670d359b7274 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" <80496810+v-jiaodi@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:12:34 +0800 Subject: [PATCH] Bump emitter version in late Dec (#2966) * bump version to v0.37.0 * update changelog * update changelog --- common/config/rush/pnpm-lock.yaml | 6 +++--- packages/autorest.typescript/CHANGELOG.md | 14 ++++++++++++++ packages/autorest.typescript/package.json | 4 ++-- packages/rlc-common/CHANGELOG.md | 14 ++++++++++++++ packages/rlc-common/package.json | 2 +- packages/typespec-test/package.json | 2 +- packages/typespec-ts/CHANGELOG.md | 14 ++++++++++++++ packages/typespec-ts/package.json | 4 ++-- 8 files changed, 51 insertions(+), 9 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 78fe5f64a7..5af4657e0b 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -12,7 +12,7 @@ importers: '@autorest/testmodeler': ^2.6.1 '@azure-rest/core-client': ^1.4.0 '@azure-tools/codegen': ^2.9.1 - '@azure-tools/rlc-common': workspace:^0.36.0 + '@azure-tools/rlc-common': workspace:^0.37.0 '@azure-tools/test-recorder': ^3.0.0 '@azure/abort-controller': ^2.1.2 '@azure/core-auth': ^1.6.0 @@ -196,7 +196,7 @@ importers: '@azure-tools/typespec-azure-resource-manager': '>=0.49.0 <1.0.0' '@azure-tools/typespec-azure-rulesets': '>=0.49.0 <1.0.0' '@azure-tools/typespec-client-generator-core': '>=0.49.0 <1.0.0' - '@azure-tools/typespec-ts': workspace:^0.36.0 + '@azure-tools/typespec-ts': workspace:^0.37.0 '@types/mocha': ^5.2.7 '@types/node': ^18.0.0 '@typespec/compiler': '>=0.63.0 <1.0.0' @@ -237,7 +237,7 @@ importers: '@azure-tools/cadl-ranch-api': ^0.5.0 '@azure-tools/cadl-ranch-expect': ^0.15.6 '@azure-tools/cadl-ranch-specs': ^0.39.5 - '@azure-tools/rlc-common': workspace:^0.36.0 + '@azure-tools/rlc-common': workspace:^0.37.0 '@azure-tools/typespec-autorest': '>=0.49.0 <1.0.0' '@azure-tools/typespec-azure-core': '>=0.49.0 <1.0.0' '@azure-tools/typespec-azure-resource-manager': '>=0.49.0 <1.0.0' diff --git a/packages/autorest.typescript/CHANGELOG.md b/packages/autorest.typescript/CHANGELOG.md index 4bbd81282e..c596332e28 100644 --- a/packages/autorest.typescript/CHANGELOG.md +++ b/packages/autorest.typescript/CHANGELOG.md @@ -1,3 +1,17 @@ +## 6.0.31 (2024-12-27) + +- [Feature] Sdk package methods adoption. Please refer to [#2943](https://github.com/Azure/autorest.typescript/pull/2943) + - Adopt to sdkPackage methods; + - Support client level path parameter in general; + - ContentType/accept header parameter logic change; + - ApiVersion and its policy related change; + - Adjust parameter order change aligned with spec in spread cases; + - The bytes type gets generated inconsistent as before; + - Replace core related dependencies in static helper. +- [Feature] Upgrade mocha to ^11.0.2 for generated packages. Please refer to [#2945](https://github.com/Azure/autorest.typescript/pull/2945) +- [Feature] use azsdkEslint.config helper in eslint.config.mjs. Please refer to [#2949](https://github.com/Azure/autorest.typescript/pull/2949) +- [Feature] Upgrade typespec http runtime version to v0.1.0 for unbranded client. Please refer to [#2947](https://github.com/Azure/autorest.typescript/pull/2947) + ## 6.0.30 (2024-12-12) - [Feature] Support tcgc type for ModelProperty, remove baseUrl in unbranded client and remove property if visibility with none. Please refer to [#2927](https://github.com/Azure/autorest.typescript/pull/2927) diff --git a/packages/autorest.typescript/package.json b/packages/autorest.typescript/package.json index 32a315a792..f668fabffb 100644 --- a/packages/autorest.typescript/package.json +++ b/packages/autorest.typescript/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/typescript", - "version": "6.0.30", + "version": "6.0.31", "scripts": { "build": "tsc -p . && npm run copyFiles", "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 @@ "source-map-support": "^0.5.16", "ts-morph": "^23.0.0", "@azure/core-auth": "^1.6.0", - "@azure-tools/rlc-common": "workspace:^0.36.0" + "@azure-tools/rlc-common": "workspace:^0.37.0" }, "devDependencies": { "@azure-tools/test-recorder": "^3.0.0", diff --git a/packages/rlc-common/CHANGELOG.md b/packages/rlc-common/CHANGELOG.md index 98d2a28b03..0e2be021ac 100644 --- a/packages/rlc-common/CHANGELOG.md +++ b/packages/rlc-common/CHANGELOG.md @@ -1,3 +1,17 @@ +## 0.37.0 (2024-12-27) + +- [Feature] Sdk package methods adoption. Please refer to [#2943](https://github.com/Azure/autorest.typescript/pull/2943) + - Adopt to sdkPackage methods; + - Support client level path parameter in general; + - ContentType/accept header parameter logic change; + - ApiVersion and its policy related change; + - Adjust parameter order change aligned with spec in spread cases; + - The bytes type gets generated inconsistent as before; + - Replace core related dependencies in static helper. +- [Feature] Upgrade mocha to ^11.0.2 for generated packages. Please refer to [#2945](https://github.com/Azure/autorest.typescript/pull/2945) +- [Feature] use azsdkEslint.config helper in eslint.config.mjs. Please refer to [#2949](https://github.com/Azure/autorest.typescript/pull/2949) +- [Feature] Upgrade typespec http runtime version to v0.1.0 for unbranded client. Please refer to [#2947](https://github.com/Azure/autorest.typescript/pull/2947) + ## 0.36.0 (2024-12-12) - [Feature] Support tcgc type for ModelProperty, remove baseUrl in unbranded client and remove property if visibility with none. Please refer to [#2927](https://github.com/Azure/autorest.typescript/pull/2927) diff --git a/packages/rlc-common/package.json b/packages/rlc-common/package.json index b641b9cf9e..2d137031c3 100644 --- a/packages/rlc-common/package.json +++ b/packages/rlc-common/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/rlc-common", - "version": "0.36.0", + "version": "0.37.0", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/typespec-test/package.json b/packages/typespec-test/package.json index c8cd93e3db..b95eb6224f 100644 --- a/packages/typespec-test/package.json +++ b/packages/typespec-test/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "type": "module", "dependencies": { - "@azure-tools/typespec-ts": "workspace:^0.36.0", + "@azure-tools/typespec-ts": "workspace:^0.37.0", "@typespec/openapi": ">=0.63.0 <1.0.0", "@azure-tools/typespec-autorest": ">=0.49.0 <1.0.0", "@typespec/openapi3": ">=0.63.0 <1.0.0", diff --git a/packages/typespec-ts/CHANGELOG.md b/packages/typespec-ts/CHANGELOG.md index 1edef7d254..7edb77b40d 100644 --- a/packages/typespec-ts/CHANGELOG.md +++ b/packages/typespec-ts/CHANGELOG.md @@ -1,3 +1,17 @@ +## 0.37.0 (2024-12-27) + +- [Feature] Sdk package methods adoption. Please refer to [#2943](https://github.com/Azure/autorest.typescript/pull/2943) + - Adopt to sdkPackage methods; + - Support client level path parameter in general; + - ContentType/accept header parameter logic change; + - ApiVersion and its policy related change; + - Adjust parameter order change aligned with spec in spread cases; + - The bytes type gets generated inconsistent as before; + - Replace core related dependencies in static helper. +- [Feature] Upgrade mocha to ^11.0.2 for generated packages. Please refer to [#2945](https://github.com/Azure/autorest.typescript/pull/2945) +- [Feature] use azsdkEslint.config helper in eslint.config.mjs. Please refer to [#2949](https://github.com/Azure/autorest.typescript/pull/2949) +- [Feature] Upgrade typespec http runtime version to v0.1.0 for unbranded client. Please refer to [#2947](https://github.com/Azure/autorest.typescript/pull/2947) + ## 0.36.0 (2024-12-12) - [Feature] Support tcgc type for ModelProperty, remove baseUrl in unbranded client and remove property if visibility with none. Please refer to [#2927](https://github.com/Azure/autorest.typescript/pull/2927) diff --git a/packages/typespec-ts/package.json b/packages/typespec-ts/package.json index f1828c9d21..08015682df 100644 --- a/packages/typespec-ts/package.json +++ b/packages/typespec-ts/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-ts", - "version": "0.36.0", + "version": "0.37.0", "description": "An experimental TypeSpec emitter for TypeScript RLC", "main": "dist/src/index.js", "type": "module", @@ -118,7 +118,7 @@ "@typespec/versioning": ">=0.63.0 <1.0.0" }, "dependencies": { - "@azure-tools/rlc-common": "workspace:^0.36.0", + "@azure-tools/rlc-common": "workspace:^0.37.0", "fs-extra": "^11.1.0", "lodash": "^4.17.21", "prettier": "^3.3.3",