From 6f7abf2a6e080a89b6ae8949592b95e6d9029e43 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:30:52 -0400 Subject: [PATCH] bump for release (#2707) --- ...add-kwargs-decompress-2024-6-4-15-43-46.md | 8 -------- .../changes/add_rulesets-2024-6-12-15-7-8.md | 7 ------- ...bump-tsp-version-2024-2024-6-17-14-37-3.md | 7 ------- .../check_error_read-2024-6-9-15-39-6.md | 8 -------- .../fix-bug-header-2024-6-5-13-41-56.md | 8 -------- .../fix_dup_read-2024-6-10-14-46-24.md | 7 ------- .../fix_package_version-2024-6-12-15-20-17.md | 7 ------- .../multiapi-test-gen-2024-6-11-18-2-26.md | 7 ------- .../changes/new_spread-2024-6-2-23-6-56.md | 7 ------- .../pylintUpdates-2024-6-17-12-39-48.md | 7 ------- ...k-regen-optimization-2024-6-11-14-58-58.md | 7 ------- packages/autorest.python/CHANGELOG.md | 12 +++++++++++ packages/autorest.python/package.json | 2 +- packages/typespec-python/CHANGELOG.md | 20 +++++++++++++++++++ packages/typespec-python/package.json | 2 +- 15 files changed, 34 insertions(+), 82 deletions(-) delete mode 100644 .chronus/changes/add-kwargs-decompress-2024-6-4-15-43-46.md delete mode 100644 .chronus/changes/add_rulesets-2024-6-12-15-7-8.md delete mode 100644 .chronus/changes/bump-tsp-version-2024-2024-6-17-14-37-3.md delete mode 100644 .chronus/changes/check_error_read-2024-6-9-15-39-6.md delete mode 100644 .chronus/changes/fix-bug-header-2024-6-5-13-41-56.md delete mode 100644 .chronus/changes/fix_dup_read-2024-6-10-14-46-24.md delete mode 100644 .chronus/changes/fix_package_version-2024-6-12-15-20-17.md delete mode 100644 .chronus/changes/multiapi-test-gen-2024-6-11-18-2-26.md delete mode 100644 .chronus/changes/new_spread-2024-6-2-23-6-56.md delete mode 100644 .chronus/changes/pylintUpdates-2024-6-17-12-39-48.md delete mode 100644 .chronus/changes/sdk-regen-optimization-2024-6-11-14-58-58.md diff --git a/.chronus/changes/add-kwargs-decompress-2024-6-4-15-43-46.md b/.chronus/changes/add-kwargs-decompress-2024-6-4-15-43-46.md deleted file mode 100644 index 127cc4929c1..00000000000 --- a/.chronus/changes/add-kwargs-decompress-2024-6-4-15-43-46.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: feature -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Expose kwargs `decompress` for API whose response type is binary \ No newline at end of file diff --git a/.chronus/changes/add_rulesets-2024-6-12-15-7-8.md b/.chronus/changes/add_rulesets-2024-6-12-15-7-8.md deleted file mode 100644 index d5a8b94760e..00000000000 --- a/.chronus/changes/add_rulesets-2024-6-12-15-7-8.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-python" ---- - -add `@azure-tools/typespec-azure-rulesets` to deps \ No newline at end of file diff --git a/.chronus/changes/bump-tsp-version-2024-2024-6-17-14-37-3.md b/.chronus/changes/bump-tsp-version-2024-2024-6-17-14-37-3.md deleted file mode 100644 index e29d8f33c13..00000000000 --- a/.chronus/changes/bump-tsp-version-2024-2024-6-17-14-37-3.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: dependencies -packages: - - "@azure-tools/typespec-python" ---- - -Bump typespec 0.58.0 \ No newline at end of file diff --git a/.chronus/changes/check_error_read-2024-6-9-15-39-6.md b/.chronus/changes/check_error_read-2024-6-9-15-39-6.md deleted file mode 100644 index 1ed567e91a4..00000000000 --- a/.chronus/changes/check_error_read-2024-6-9-15-39-6.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -don't throw if stream is already read or consumed when we load in the error body \ No newline at end of file diff --git a/.chronus/changes/fix-bug-header-2024-6-5-13-41-56.md b/.chronus/changes/fix-bug-header-2024-6-5-13-41-56.md deleted file mode 100644 index 9e98e4dc876..00000000000 --- a/.chronus/changes/fix-bug-header-2024-6-5-13-41-56.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Fix for construct headers and queries when build request \ No newline at end of file diff --git a/.chronus/changes/fix_dup_read-2024-6-10-14-46-24.md b/.chronus/changes/fix_dup_read-2024-6-10-14-46-24.md deleted file mode 100644 index 76ef2b23860..00000000000 --- a/.chronus/changes/fix_dup_read-2024-6-10-14-46-24.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-python" ---- - -clean up code in operation.py \ No newline at end of file diff --git a/.chronus/changes/fix_package_version-2024-6-12-15-20-17.md b/.chronus/changes/fix_package_version-2024-6-12-15-20-17.md deleted file mode 100644 index 952479f21be..00000000000 --- a/.chronus/changes/fix_package_version-2024-6-12-15-20-17.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/typespec-python" ---- - -always interpret `package-version` as a string \ No newline at end of file diff --git a/.chronus/changes/multiapi-test-gen-2024-6-11-18-2-26.md b/.chronus/changes/multiapi-test-gen-2024-6-11-18-2-26.md deleted file mode 100644 index c11157b9840..00000000000 --- a/.chronus/changes/multiapi-test-gen-2024-6-11-18-2-26.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-python" ---- - -Optimize test generation for multiapi package \ No newline at end of file diff --git a/.chronus/changes/new_spread-2024-6-2-23-6-56.md b/.chronus/changes/new_spread-2024-6-2-23-6-56.md deleted file mode 100644 index 95b79dd9f3a..00000000000 --- a/.chronus/changes/new_spread-2024-6-2-23-6-56.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-python" ---- - -spread object when it is spread in TypeSpec diff --git a/.chronus/changes/pylintUpdates-2024-6-17-12-39-48.md b/.chronus/changes/pylintUpdates-2024-6-17-12-39-48.md deleted file mode 100644 index 4c0d53cc642..00000000000 --- a/.chronus/changes/pylintUpdates-2024-6-17-12-39-48.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@autorest/python" ---- - -Updating pylintrc rules \ No newline at end of file diff --git a/.chronus/changes/sdk-regen-optimization-2024-6-11-14-58-58.md b/.chronus/changes/sdk-regen-optimization-2024-6-11-14-58-58.md deleted file mode 100644 index 1ee42c8dc4c..00000000000 --- a/.chronus/changes/sdk-regen-optimization-2024-6-11-14-58-58.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/typespec-python" ---- - -Fix import error when method name is reserved word in Pyhton \ No newline at end of file diff --git a/packages/autorest.python/CHANGELOG.md b/packages/autorest.python/CHANGELOG.md index b981ae2f125..243df35f5d3 100644 --- a/packages/autorest.python/CHANGELOG.md +++ b/packages/autorest.python/CHANGELOG.md @@ -1,5 +1,17 @@ # Release +## 6.16.0 + +### Bug Fixes + +- [#2684](https://github.com/Azure/autorest.python/pull/2684) don't throw if stream is already read or consumed when we load in the error body +- [#2681](https://github.com/Azure/autorest.python/pull/2681) Fix for construct headers and queries when build request + +### Features + +- [#2680](https://github.com/Azure/autorest.python/pull/2680) Expose kwargs `decompress` for API whose response type is binary + + ## 6.15.0 ### Features diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 7b7bc9b00ff..d383165c131 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/python", - "version": "6.15.0", + "version": "6.16.0", "description": "The Python extension for generators in AutoRest.", "scripts": { "start": "node ./scripts/run-python3.js ./scripts/start.py", diff --git a/packages/typespec-python/CHANGELOG.md b/packages/typespec-python/CHANGELOG.md index cd9d9bbd10a..df897f674b4 100644 --- a/packages/typespec-python/CHANGELOG.md +++ b/packages/typespec-python/CHANGELOG.md @@ -1,5 +1,25 @@ # Release +## 0.26.0 + +### Bug Fixes + +- [#2684](https://github.com/Azure/autorest.python/pull/2684) don't throw if stream is already read or consumed when we load in the error body +- [#2681](https://github.com/Azure/autorest.python/pull/2681) Fix for construct headers and queries when build request +- [#2695](https://github.com/Azure/autorest.python/pull/2695) always interpret `package-version` as a string +- [#2690](https://github.com/Azure/autorest.python/pull/2690) Fix import error when method name is reserved word in Pyhton + +### Bump dependencies + +- [#2704](https://github.com/Azure/autorest.python/pull/2704) Bump typespec 0.58.0 + +### Features + +- [#2680](https://github.com/Azure/autorest.python/pull/2680) Expose kwargs `decompress` for API whose response type is binary +- [#2692](https://github.com/Azure/autorest.python/pull/2692) Optimize test generation for multiapi package +- [#2676](https://github.com/Azure/autorest.python/pull/2676) spread object when it is spread in TypeSpec + + ## 0.25.0 ### Bug Fixes diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 86208fc3ca5..d25e4b07b32 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-python", - "version": "0.25.0", + "version": "0.26.0", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://github.com/Azure/autorest.python",