From c039248c7e7acebb252def135dd9e2d15a6aa9ca Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Tue, 10 Dec 2024 13:54:18 -0800 Subject: [PATCH 1/3] Release notes for 2024 December release (#1971) Add Release notes for December release --- .../docs/release-notes/release-2024-12-10.mdx | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 website/src/content/docs/docs/release-notes/release-2024-12-10.mdx diff --git a/website/src/content/docs/docs/release-notes/release-2024-12-10.mdx b/website/src/content/docs/docs/release-notes/release-2024-12-10.mdx new file mode 100644 index 0000000000..57e6006f39 --- /dev/null +++ b/website/src/content/docs/docs/release-notes/release-2024-12-10.mdx @@ -0,0 +1,84 @@ +--- +title: 0.49.0 December 2024 +--- + +import { LinkCard } from "@astrojs/starlight/components"; + + + +## Notable changes + +### Azure Resource Manager: Added Common Types Version 6 + +Added support for version 6 of Azure common types, including changes to private links and managed identity + +## Breaking changes + +### Removed `@nextLink` decorator from Azure.core + +Specs should use the core decorator for `@nextLink` + +#### Before + +```TypeSpec +model WidgetPage { + items: Widget[]; + + @Azure.Core.nextLink + nextLink: string; +} +``` + +#### After + +```TypeSpec +model WidgetPage { + items: Widget[]; + //In the TypeSpec namespace + @nextLink + nextLink: string; +} +``` + +## Features + +### @azure-tools/typespec-azure-core + +- [#1272](https://github.com/Azure/typespec-azure/pull/1272) Add `armResourceType` scalar, and update common-types to use the new scalar + +### @azure-tools/typespec-azure-resource-manager + +- [#1689](https://github.com/Azure/typespec-azure/pull/1689) Add common-types v6 with changes in managed identity, private links, and types. +- [#1272](https://github.com/Azure/typespec-azure/pull/1272) Add `armResourceType` scalar, and changed some properties to be `armResourceType` instead of string +- [#1881](https://github.com/Azure/typespec-azure/pull/1881) common-types consistency with original swagger +- [#1923](https://github.com/Azure/typespec-azure/pull/1923) Add the `@Azure.ResourceManager.Legacy.customAzureResource` decorator to identify ARM resources that do not use the base resource types. +- [#1740](https://github.com/Azure/typespec-azure/pull/1740) Update the `arm no-response-body` rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty + +### @azure-tools/typespec-client-generator-core + +- [#1812](https://github.com/Azure/typespec-azure/pull/1812) add `SdkCookieParameter` type and support `@cookie` in TypeSpec http lib +- [#1887](https://github.com/Azure/typespec-azure/pull/1887) 1. Introduce new usage: `LroInitial`, `LroPolling`, `LroFinalEnvelope`. + +2. usage and access now properly propagate on polling model, final result and final envelope result of `lroMetadata`. + +- [#1783](https://github.com/Azure/typespec-azure/pull/1783) Implement scope negation for TCGC decorators +- [#1912](https://github.com/Azure/typespec-azure/pull/1912) support emit code model + +## Bug Fixes + +### @azure-tools/typespec-autorest + +- [#1838](https://github.com/Azure/typespec-azure/pull/1838) Emit error `@azure-tools/typespec-autorest/no-matching-version-found` when the version option is used and does not match any versions of the service. + +### @azure-tools/typespec-azure-core + +- [#1886](https://github.com/Azure/typespec-azure/pull/1886) Remove `Azure.Core.nextLink` as there is a nextLink instance in `TypeSpec.nextLink`, which is causing an ambiguous problem between the two. + +### @azure-tools/typespec-azure-resource-manager + +- [#1866](https://github.com/Azure/typespec-azure/pull/1866) Fix the `no-empty-model` rule to prevent it from being triggered for Records, as this is already covered by another rule. +- [#1886](https://github.com/Azure/typespec-azure/pull/1886) Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`. From d85d7a1fcb5fa4547676cf96d8eaf1597b702645 Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Tue, 10 Dec 2024 14:17:03 -0800 Subject: [PATCH 2/3] Update core for December release (#1972) --- core | 2 +- pnpm-lock.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core b/core index 74a7abb392..7a997365ec 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 74a7abb392384b5bab8b671e77dde5cded5fd162 +Subproject commit 7a997365ec1b992383d08651c9279cf59cfd36af diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c745353a0f..236d25dcf5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -951,6 +951,9 @@ importers: '@readme/openapi-parser': specifier: ~2.6.0 version: 2.6.0(openapi-types@12.1.3) + openapi-types: + specifier: ~12.1.3 + version: 12.1.3 yaml: specifier: ~2.5.1 version: 2.5.1 From 4e746715d7930ef0c0fe5574122cff0c9145a4ff Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Tue, 10 Dec 2024 17:37:56 -0800 Subject: [PATCH 3/3] Prepare Publish for December Release (#1973) --- .../AzureSpecsAlpha2-2024-10-26-16-12-19.md | 7 ------- .../ReleaseDashboardsStep1-2024-11-6-15-1-23.md | 7 ------- .../add-common-types-v6-2024-9-16-14-19-21.md | 7 ------- .../add-resource-type-2024-6-31-14-6-51.md | 8 -------- ...s_fix-singleton-patch-2024-10-25-16-32-50.md | 7 ------- ...e-http-specs_fix-typo-2024-10-26-14-10-41.md | 7 ------- ..._update-azure-example-2024-10-29-12-14-37.md | 7 ------- ...re-specs_move-pageable-2024-10-28-14-25-5.md | 7 ------- ...mmon-types-validation-2024-10-18-14-54-53.md | 7 ------- .../cookie_support-2024-10-6-16-23-46.md | 7 ------- ...utorest-version-error-2024-10-14-17-31-30.md | 7 ------- ...ix-no-empty-model-rule-2024-10-8-16-19-25.md | 7 ------- ...custom-azure-resource-2024-10-27-15-43-13.md | 7 ------- ...r-custom-azure-resource-2024-11-5-11-0-40.md | 7 ------- .../no-response-body-rule-2024-9-22-13-23-5.md | 8 -------- ...efine_tcgc_output_test-2024-11-5-13-20-53.md | 7 ------- ...e-azure-core-nextlink-2024-10-18-20-51-27.md | 7 ------- ...ve-azure-core-nextlink-2024-11-2-16-55-46.md | 7 ------- ...ove-azure-core-nextlink-2024-11-2-17-14-6.md | 7 ------- .../scope-negation-2024-10-1-10-19-14.md | 7 ------- .../changes/specs_arm_lro-2024-10-7-15-31-16.md | 7 ------- ...entNamespace-for-java-2024-10-22-10-38-54.md | 7 ------- .../changes/tcgc_output-2024-10-26-15-38-13.md | 7 ------- ...update-core-2024-12-04-2024-11-5-22-13-45.md | 15 --------------- ...e-msft-visibility-enum-2024-10-7-17-47-11.md | 10 ---------- core | 2 +- packages/azure-http-specs/CHANGELOG.md | 15 +++++++++++++++ packages/azure-http-specs/package.json | 2 +- .../typespec-autorest-canonical/CHANGELOG.md | 7 +++++++ .../typespec-autorest-canonical/package.json | 2 +- packages/typespec-autorest/CHANGELOG.md | 8 ++++++++ packages/typespec-autorest/package.json | 2 +- packages/typespec-azure-core/CHANGELOG.md | 12 ++++++++++++ packages/typespec-azure-core/package.json | 2 +- .../typespec-azure-portal-core/CHANGELOG.md | 7 +++++++ .../typespec-azure-portal-core/package.json | 2 +- .../CHANGELOG.md | 17 +++++++++++++++++ .../package.json | 2 +- packages/typespec-azure-rulesets/CHANGELOG.md | 12 ++++++++++++ packages/typespec-azure-rulesets/package.json | 2 +- .../typespec-client-generator-core/CHANGELOG.md | 13 +++++++++++++ .../typespec-client-generator-core/package.json | 2 +- 42 files changed, 100 insertions(+), 197 deletions(-) delete mode 100644 .chronus/changes/AzureSpecsAlpha2-2024-10-26-16-12-19.md delete mode 100644 .chronus/changes/ReleaseDashboardsStep1-2024-11-6-15-1-23.md delete mode 100644 .chronus/changes/add-common-types-v6-2024-9-16-14-19-21.md delete mode 100644 .chronus/changes/add-resource-type-2024-6-31-14-6-51.md delete mode 100644 .chronus/changes/azure-http-specs_fix-singleton-patch-2024-10-25-16-32-50.md delete mode 100644 .chronus/changes/azure-http-specs_fix-typo-2024-10-26-14-10-41.md delete mode 100644 .chronus/changes/azure-http-specs_update-azure-example-2024-10-29-12-14-37.md delete mode 100644 .chronus/changes/azure-specs_move-pageable-2024-10-28-14-25-5.md delete mode 100644 .chronus/changes/common-types-validation-2024-10-18-14-54-53.md delete mode 100644 .chronus/changes/cookie_support-2024-10-6-16-23-46.md delete mode 100644 .chronus/changes/fix-autorest-version-error-2024-10-14-17-31-30.md delete mode 100644 .chronus/changes/fix-no-empty-model-rule-2024-10-8-16-19-25.md delete mode 100644 .chronus/changes/new-decorator-custom-azure-resource-2024-10-27-15-43-13.md delete mode 100644 .chronus/changes/new-decorator-custom-azure-resource-2024-11-5-11-0-40.md delete mode 100644 .chronus/changes/no-response-body-rule-2024-9-22-13-23-5.md delete mode 100644 .chronus/changes/refine_tcgc_output_test-2024-11-5-13-20-53.md delete mode 100644 .chronus/changes/remove-azure-core-nextlink-2024-10-18-20-51-27.md delete mode 100644 .chronus/changes/remove-azure-core-nextlink-2024-11-2-16-55-46.md delete mode 100644 .chronus/changes/remove-azure-core-nextlink-2024-11-2-17-14-6.md delete mode 100644 .chronus/changes/scope-negation-2024-10-1-10-19-14.md delete mode 100644 .chronus/changes/specs_arm_lro-2024-10-7-15-31-16.md delete mode 100644 .chronus/changes/specs_clientNamespace-for-java-2024-10-22-10-38-54.md delete mode 100644 .chronus/changes/tcgc_output-2024-10-26-15-38-13.md delete mode 100644 .chronus/changes/update-core-2024-12-04-2024-11-5-22-13-45.md delete mode 100644 .chronus/changes/witemple-msft-visibility-enum-2024-10-7-17-47-11.md diff --git a/.chronus/changes/AzureSpecsAlpha2-2024-10-26-16-12-19.md b/.chronus/changes/AzureSpecsAlpha2-2024-10-26-16-12-19.md deleted file mode 100644 index b283824cab..0000000000 --- a/.chronus/changes/AzureSpecsAlpha2-2024-10-26-16-12-19.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/azure-http-specs" ---- - -Backport changes from cadl-ranch \ No newline at end of file diff --git a/.chronus/changes/ReleaseDashboardsStep1-2024-11-6-15-1-23.md b/.chronus/changes/ReleaseDashboardsStep1-2024-11-6-15-1-23.md deleted file mode 100644 index a197dc34d4..0000000000 --- a/.chronus/changes/ReleaseDashboardsStep1-2024-11-6-15-1-23.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/azure-http-specs" ---- - -Added scripts to package.json \ No newline at end of file diff --git a/.chronus/changes/add-common-types-v6-2024-9-16-14-19-21.md b/.chronus/changes/add-common-types-v6-2024-9-16-14-19-21.md deleted file mode 100644 index 7454b2756f..0000000000 --- a/.chronus/changes/add-common-types-v6-2024-9-16-14-19-21.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-azure-resource-manager" ---- - -Add common-types v6 with changes in managed identity, private links, and types. diff --git a/.chronus/changes/add-resource-type-2024-6-31-14-6-51.md b/.chronus/changes/add-resource-type-2024-6-31-14-6-51.md deleted file mode 100644 index 0f6038ae13..0000000000 --- a/.chronus/changes/add-resource-type-2024-6-31-14-6-51.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-azure-core" - - "@azure-tools/typespec-azure-resource-manager" ---- - -Add `armResourceType` scalar, and changed some properties to be `armResourceType` instead of string diff --git a/.chronus/changes/azure-http-specs_fix-singleton-patch-2024-10-25-16-32-50.md b/.chronus/changes/azure-http-specs_fix-singleton-patch-2024-10-25-16-32-50.md deleted file mode 100644 index 6896e626ab..0000000000 --- a/.chronus/changes/azure-http-specs_fix-singleton-patch-2024-10-25-16-32-50.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/azure-http-specs" ---- - -Fix test scenario for singleton patch \ No newline at end of file diff --git a/.chronus/changes/azure-http-specs_fix-typo-2024-10-26-14-10-41.md b/.chronus/changes/azure-http-specs_fix-typo-2024-10-26-14-10-41.md deleted file mode 100644 index 8f1f69c45b..0000000000 --- a/.chronus/changes/azure-http-specs_fix-typo-2024-10-26-14-10-41.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/azure-http-specs" ---- - -Fix a typo in access test scenario doc \ No newline at end of file diff --git a/.chronus/changes/azure-http-specs_update-azure-example-2024-10-29-12-14-37.md b/.chronus/changes/azure-http-specs_update-azure-example-2024-10-29-12-14-37.md deleted file mode 100644 index c101b6214e..0000000000 --- a/.chronus/changes/azure-http-specs_update-azure-example-2024-10-29-12-14-37.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/azure-http-specs" ---- - -Update scenario name on azure example scenario \ No newline at end of file diff --git a/.chronus/changes/azure-specs_move-pageable-2024-10-28-14-25-5.md b/.chronus/changes/azure-specs_move-pageable-2024-10-28-14-25-5.md deleted file mode 100644 index 7996b00a45..0000000000 --- a/.chronus/changes/azure-specs_move-pageable-2024-10-28-14-25-5.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/azure-http-specs" ---- - -Move payload/pageable test scenario to azure folder \ No newline at end of file diff --git a/.chronus/changes/common-types-validation-2024-10-18-14-54-53.md b/.chronus/changes/common-types-validation-2024-10-18-14-54-53.md deleted file mode 100644 index 5be9da3386..0000000000 --- a/.chronus/changes/common-types-validation-2024-10-18-14-54-53.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-azure-resource-manager" ---- - -common-types consistency with original swagger \ No newline at end of file diff --git a/.chronus/changes/cookie_support-2024-10-6-16-23-46.md b/.chronus/changes/cookie_support-2024-10-6-16-23-46.md deleted file mode 100644 index 9251b7fd95..0000000000 --- a/.chronus/changes/cookie_support-2024-10-6-16-23-46.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-client-generator-core" ---- - -add `SdkCookieParameter` type and support `@cookie` in TypeSpec http lib \ No newline at end of file diff --git a/.chronus/changes/fix-autorest-version-error-2024-10-14-17-31-30.md b/.chronus/changes/fix-autorest-version-error-2024-10-14-17-31-30.md deleted file mode 100644 index d606e76c98..0000000000 --- a/.chronus/changes/fix-autorest-version-error-2024-10-14-17-31-30.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/typespec-autorest" ---- - -Emit error `@azure-tools/typespec-autorest/no-matching-version-found` when the version option is used and does not match any versions of the service. diff --git a/.chronus/changes/fix-no-empty-model-rule-2024-10-8-16-19-25.md b/.chronus/changes/fix-no-empty-model-rule-2024-10-8-16-19-25.md deleted file mode 100644 index d3bcc97922..0000000000 --- a/.chronus/changes/fix-no-empty-model-rule-2024-10-8-16-19-25.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/typespec-azure-resource-manager" ---- - -Fix the `no-empty-model` rule to prevent it from being triggered for Records, as this is already covered by another rule. diff --git a/.chronus/changes/new-decorator-custom-azure-resource-2024-10-27-15-43-13.md b/.chronus/changes/new-decorator-custom-azure-resource-2024-10-27-15-43-13.md deleted file mode 100644 index 7c9994d549..0000000000 --- a/.chronus/changes/new-decorator-custom-azure-resource-2024-10-27-15-43-13.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-azure-resource-manager" ---- - -Add the `@Azure.ResourceManager.Legacy.customAzureResource` decorator to identify ARM resources that do not use the base resource types. diff --git a/.chronus/changes/new-decorator-custom-azure-resource-2024-11-5-11-0-40.md b/.chronus/changes/new-decorator-custom-azure-resource-2024-11-5-11-0-40.md deleted file mode 100644 index cbb09e4ddb..0000000000 --- a/.chronus/changes/new-decorator-custom-azure-resource-2024-11-5-11-0-40.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-azure-rulesets" ---- - -Discourage usage of new decorator `@Azure.ResourceManager.Legacy.customAzureResource` diff --git a/.chronus/changes/no-response-body-rule-2024-9-22-13-23-5.md b/.chronus/changes/no-response-body-rule-2024-9-22-13-23-5.md deleted file mode 100644 index 9887b2e37a..0000000000 --- a/.chronus/changes/no-response-body-rule-2024-9-22-13-23-5.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-azure-resource-manager" - - "@azure-tools/typespec-azure-rulesets" ---- - -Update the `arm no-response-body` rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty diff --git a/.chronus/changes/refine_tcgc_output_test-2024-11-5-13-20-53.md b/.chronus/changes/refine_tcgc_output_test-2024-11-5-13-20-53.md deleted file mode 100644 index 4f42d137be..0000000000 --- a/.chronus/changes/refine_tcgc_output_test-2024-11-5-13-20-53.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-client-generator-core" ---- - -refine tcgc tests \ No newline at end of file diff --git a/.chronus/changes/remove-azure-core-nextlink-2024-10-18-20-51-27.md b/.chronus/changes/remove-azure-core-nextlink-2024-10-18-20-51-27.md deleted file mode 100644 index a44217d20a..0000000000 --- a/.chronus/changes/remove-azure-core-nextlink-2024-10-18-20-51-27.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/typespec-azure-core" ---- - -Remove `Azure.Core.nextLink` as there is a nextLink instance in `TypeSpec.nextLink`, which is causing an ambiguous problem between the two. diff --git a/.chronus/changes/remove-azure-core-nextlink-2024-11-2-16-55-46.md b/.chronus/changes/remove-azure-core-nextlink-2024-11-2-16-55-46.md deleted file mode 100644 index bc970a7a3b..0000000000 --- a/.chronus/changes/remove-azure-core-nextlink-2024-11-2-16-55-46.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/typespec-azure-resource-manager" ---- - -Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`. diff --git a/.chronus/changes/remove-azure-core-nextlink-2024-11-2-17-14-6.md b/.chronus/changes/remove-azure-core-nextlink-2024-11-2-17-14-6.md deleted file mode 100644 index 060daa350e..0000000000 --- a/.chronus/changes/remove-azure-core-nextlink-2024-11-2-17-14-6.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@azure-tools/azure-http-specs" ---- - -Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`. \ No newline at end of file diff --git a/.chronus/changes/scope-negation-2024-10-1-10-19-14.md b/.chronus/changes/scope-negation-2024-10-1-10-19-14.md deleted file mode 100644 index 15f26002f6..0000000000 --- a/.chronus/changes/scope-negation-2024-10-1-10-19-14.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-client-generator-core" ---- - -Implement scope negation for TCGC decorators \ No newline at end of file diff --git a/.chronus/changes/specs_arm_lro-2024-10-7-15-31-16.md b/.chronus/changes/specs_arm_lro-2024-10-7-15-31-16.md deleted file mode 100644 index d8940aa0b1..0000000000 --- a/.chronus/changes/specs_arm_lro-2024-10-7-15-31-16.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/azure-http-specs" ---- - -Added LRO case for ARM tests. \ No newline at end of file diff --git a/.chronus/changes/specs_clientNamespace-for-java-2024-10-22-10-38-54.md b/.chronus/changes/specs_clientNamespace-for-java-2024-10-22-10-38-54.md deleted file mode 100644 index ff0dda752a..0000000000 --- a/.chronus/changes/specs_clientNamespace-for-java-2024-10-22-10-38-54.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/azure-http-specs" ---- - -Update clientNamespace for Java. \ No newline at end of file diff --git a/.chronus/changes/tcgc_output-2024-10-26-15-38-13.md b/.chronus/changes/tcgc_output-2024-10-26-15-38-13.md deleted file mode 100644 index 9e531fa18d..0000000000 --- a/.chronus/changes/tcgc_output-2024-10-26-15-38-13.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: feature -packages: - - "@azure-tools/typespec-client-generator-core" ---- - -support emit code model \ No newline at end of file diff --git a/.chronus/changes/update-core-2024-12-04-2024-11-5-22-13-45.md b/.chronus/changes/update-core-2024-12-04-2024-11-5-22-13-45.md deleted file mode 100644 index 5381a7215a..0000000000 --- a/.chronus/changes/update-core-2024-12-04-2024-11-5-22-13-45.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking -changeKind: fix -packages: - - "@azure-tools/azure-http-specs" - - "@azure-tools/typespec-autorest-canonical" - - "@azure-tools/typespec-autorest" - - "@azure-tools/typespec-azure-core" - - "@azure-tools/typespec-azure-portal-core" - - "@azure-tools/typespec-azure-resource-manager" - - "@azure-tools/typespec-azure-rulesets" - - "@azure-tools/typespec-client-generator-core" ---- - -Update lockfile for core changes diff --git a/.chronus/changes/witemple-msft-visibility-enum-2024-10-7-17-47-11.md b/.chronus/changes/witemple-msft-visibility-enum-2024-10-7-17-47-11.md deleted file mode 100644 index 07260605b0..0000000000 --- a/.chronus/changes/witemple-msft-visibility-enum-2024-10-7-17-47-11.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-autorest" - - "@azure-tools/typespec-azure-core" - - "@azure-tools/typespec-azure-resource-manager" - - "@azure-tools/typespec-client-generator-core" ---- - -Mask deprecation lint warnings for uptake of enum-driven visibility. \ No newline at end of file diff --git a/core b/core index 7a997365ec..7e344d4ae6 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 7a997365ec1b992383d08651c9279cf59cfd36af +Subproject commit 7e344d4ae6af65297adaac7b874218e703bbbdfa diff --git a/packages/azure-http-specs/CHANGELOG.md b/packages/azure-http-specs/CHANGELOG.md index 9e5baf381a..e9d12573fb 100644 --- a/packages/azure-http-specs/CHANGELOG.md +++ b/packages/azure-http-specs/CHANGELOG.md @@ -1,5 +1,20 @@ # @azure-tools/azure-http-specs +## 0.1.0-alpha.4 + +### Bug Fixes + +- [#1908](https://github.com/Azure/typespec-azure/pull/1908) Fix test scenario for singleton patch +- [#1910](https://github.com/Azure/typespec-azure/pull/1910) Fix a typo in access test scenario doc +- [#1886](https://github.com/Azure/typespec-azure/pull/1886) Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`. +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + +### Features + +- [#1925](https://github.com/Azure/typespec-azure/pull/1925) Move payload/pageable test scenario to azure folder +- [#1821](https://github.com/Azure/typespec-azure/pull/1821) Added LRO case for ARM tests. + + ## 0.1.0-alpha.3 Added scripts to package.json. diff --git a/packages/azure-http-specs/package.json b/packages/azure-http-specs/package.json index e4d6f2887c..5c1a64005a 100644 --- a/packages/azure-http-specs/package.json +++ b/packages/azure-http-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/azure-http-specs", - "version": "0.1.0-alpha.3", + "version": "0.1.0-alpha.4", "description": "Azure Spec scenarios and mock apis", "main": "dist/index.js", "type": "module", diff --git a/packages/typespec-autorest-canonical/CHANGELOG.md b/packages/typespec-autorest-canonical/CHANGELOG.md index 88cfaf7ef9..d7e9b41e62 100644 --- a/packages/typespec-autorest-canonical/CHANGELOG.md +++ b/packages/typespec-autorest-canonical/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog - @azure-tools/typespec-autorest-canonical +## 0.10.0 + +### Bug Fixes + +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + + ## 0.9.0 ### Bump dependencies diff --git a/packages/typespec-autorest-canonical/package.json b/packages/typespec-autorest-canonical/package.json index bb5233ac25..c321e04c76 100644 --- a/packages/typespec-autorest-canonical/package.json +++ b/packages/typespec-autorest-canonical/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-autorest-canonical", - "version": "0.9.0", + "version": "0.10.0", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting canonical swagger", "homepage": "https://azure.github.io/typespec-azure", diff --git a/packages/typespec-autorest/CHANGELOG.md b/packages/typespec-autorest/CHANGELOG.md index 4d0d7e2ef8..94cba42594 100644 --- a/packages/typespec-autorest/CHANGELOG.md +++ b/packages/typespec-autorest/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log - @azure-tools/typespec-autorest +## 0.49.0 + +### Bug Fixes + +- [#1838](https://github.com/Azure/typespec-azure/pull/1838) Emit error `@azure-tools/typespec-autorest/no-matching-version-found` when the version option is used and does not match any versions of the service. +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + + ## 0.48.0 ### Bump dependencies diff --git a/packages/typespec-autorest/package.json b/packages/typespec-autorest/package.json index b3f36e0d84..923861d36b 100644 --- a/packages/typespec-autorest/package.json +++ b/packages/typespec-autorest/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-autorest", - "version": "0.48.0", + "version": "0.49.0", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting openapi from the TypeSpec REST protocol binding", "homepage": "https://azure.github.io/typespec-azure", diff --git a/packages/typespec-azure-core/CHANGELOG.md b/packages/typespec-azure-core/CHANGELOG.md index 64ba1599f0..55deea0fe9 100644 --- a/packages/typespec-azure-core/CHANGELOG.md +++ b/packages/typespec-azure-core/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log - @azure-tools/typespec-azure-core +## 0.49.0 + +### Bug Fixes + +- [#1886](https://github.com/Azure/typespec-azure/pull/1886) Remove `Azure.Core.nextLink` as there is a nextLink instance in `TypeSpec.nextLink`, which is causing an ambiguous problem between the two. +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + +### Features + +- [#1272](https://github.com/Azure/typespec-azure/pull/1272) Add `armResourceType` scalar, and changed some properties to be `armResourceType` instead of string + + ## 0.48.0 ### Bug Fixes diff --git a/packages/typespec-azure-core/package.json b/packages/typespec-azure-core/package.json index 2f405dcd33..5b631504a5 100644 --- a/packages/typespec-azure-core/package.json +++ b/packages/typespec-azure-core/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-azure-core", - "version": "0.48.0", + "version": "0.49.0", "author": "Microsoft Corporation", "description": "TypeSpec Azure Core library", "homepage": "https://azure.github.io/typespec-azure", diff --git a/packages/typespec-azure-portal-core/CHANGELOG.md b/packages/typespec-azure-portal-core/CHANGELOG.md index 6bcf3dbed6..dddfc62eb1 100644 --- a/packages/typespec-azure-portal-core/CHANGELOG.md +++ b/packages/typespec-azure-portal-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog - @azure-tools/typespec-azure-portal-core +## 0.49.0 + +### Bug Fixes + +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + + ## 0.48.0 ### Bump dependencies diff --git a/packages/typespec-azure-portal-core/package.json b/packages/typespec-azure-portal-core/package.json index 69d5c6de1b..e3eae840be 100644 --- a/packages/typespec-azure-portal-core/package.json +++ b/packages/typespec-azure-portal-core/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-azure-portal-core", - "version": "0.48.0", + "version": "0.49.0", "author": "Microsoft Corporation", "description": "TypeSpec Azure Portal Core library", "license": "MIT", diff --git a/packages/typespec-azure-resource-manager/CHANGELOG.md b/packages/typespec-azure-resource-manager/CHANGELOG.md index fb130e6843..35a259b2c3 100644 --- a/packages/typespec-azure-resource-manager/CHANGELOG.md +++ b/packages/typespec-azure-resource-manager/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log - @azure-tools/typespec-azure-resource-manager +## 0.49.0 + +### Bug Fixes + +- [#1866](https://github.com/Azure/typespec-azure/pull/1866) Fix the `no-empty-model` rule to prevent it from being triggered for Records, as this is already covered by another rule. +- [#1886](https://github.com/Azure/typespec-azure/pull/1886) Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`. +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + +### Features + +- [#1689](https://github.com/Azure/typespec-azure/pull/1689) Add common-types v6 with changes in managed identity, private links, and types. +- [#1272](https://github.com/Azure/typespec-azure/pull/1272) Add `armResourceType` scalar, and changed some properties to be `armResourceType` instead of string +- [#1881](https://github.com/Azure/typespec-azure/pull/1881) common-types consistency with original swagger +- [#1923](https://github.com/Azure/typespec-azure/pull/1923) Add the `@Azure.ResourceManager.Legacy.customAzureResource` decorator to identify ARM resources that do not use the base resource types. +- [#1740](https://github.com/Azure/typespec-azure/pull/1740) Update the `arm no-response-body` rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty + + ## 0.48.0 ### Bug Fixes diff --git a/packages/typespec-azure-resource-manager/package.json b/packages/typespec-azure-resource-manager/package.json index 2c0e8b7c58..76c7a87596 100644 --- a/packages/typespec-azure-resource-manager/package.json +++ b/packages/typespec-azure-resource-manager/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-azure-resource-manager", - "version": "0.48.0", + "version": "0.49.0", "author": "Microsoft Corporation", "description": "TypeSpec Azure Resource Manager library", "homepage": "https://azure.github.io/typespec-azure", diff --git a/packages/typespec-azure-rulesets/CHANGELOG.md b/packages/typespec-azure-rulesets/CHANGELOG.md index a6fc86b8ba..f492050a18 100644 --- a/packages/typespec-azure-rulesets/CHANGELOG.md +++ b/packages/typespec-azure-rulesets/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog - @azure-tools/typespec-azure-rulesets +## 0.49.0 + +### Bug Fixes + +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + +### Features + +- [#1923](https://github.com/Azure/typespec-azure/pull/1923) Discourage usage of new decorator `@Azure.ResourceManager.Legacy.customAzureResource` +- [#1740](https://github.com/Azure/typespec-azure/pull/1740) Update the `arm no-response-body` rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty + + ## 0.48.0 ### Bug Fixes diff --git a/packages/typespec-azure-rulesets/package.json b/packages/typespec-azure-rulesets/package.json index e62d60d6c0..6a70be9d32 100644 --- a/packages/typespec-azure-rulesets/package.json +++ b/packages/typespec-azure-rulesets/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-azure-rulesets", - "version": "0.48.0", + "version": "0.49.0", "author": "Microsoft Corporation", "description": "TypeSpec ruleset for Azure specs", "homepage": "https://azure.github.io/typespec-azure", diff --git a/packages/typespec-client-generator-core/CHANGELOG.md b/packages/typespec-client-generator-core/CHANGELOG.md index 36e6f3b764..76296b659f 100644 --- a/packages/typespec-client-generator-core/CHANGELOG.md +++ b/packages/typespec-client-generator-core/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log - @azure-tools/typespec-client-generator-core +## 0.49.0 + +### Bug Fixes + +- [#1950](https://github.com/Azure/typespec-azure/pull/1950) Update lockfile for core changes + +### Features + +- [#1812](https://github.com/Azure/typespec-azure/pull/1812) add `SdkCookieParameter` type and support `@cookie` in TypeSpec http lib +- [#1783](https://github.com/Azure/typespec-azure/pull/1783) Implement scope negation for TCGC decorators +- [#1912](https://github.com/Azure/typespec-azure/pull/1912) support emit code model + + ## 0.48.6 ### Bug Fixes diff --git a/packages/typespec-client-generator-core/package.json b/packages/typespec-client-generator-core/package.json index 0f4cae9e12..27b44ff963 100644 --- a/packages/typespec-client-generator-core/package.json +++ b/packages/typespec-client-generator-core/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-client-generator-core", - "version": "0.48.6", + "version": "0.49.0", "author": "Microsoft Corporation", "description": "TypeSpec Data Plane Generation library", "homepage": "https://azure.github.io/typespec-azure",