0.63.0
import { LinkCard } from “@astrojs/starlight/components”;
Breaking Changes
Section titled “Breaking Changes”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”-
#3522 - Remove deprecated
arm-resource-flatteningoptiontspconfig.yaml options:@azure-tools/typespec-autorest:arm-resource-flattening: trueMyResource.tsp @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MyResource.properties, "autorest");
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”-
#3522 - Remove Private decorator
@Azure.ResourceManager.Private.conditionalClientFlatten@Azure.ResourceManager.Private.conditionalClientFlattenMyResource.tsp @Azure.ClientGenerator.Core.Legacy.flattenProperty
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #3493 Add
optionalproperty toSdkMethodResponseto distinguish responses without body from nullable body types. - #3495 Filter read-only parameters from
SdkServiceMethodparameters. Read-only parameters (those with@visibility(Lifecycle.Read))are now correctly excluded from method signatures since they cannot be set by the user.
Features
Section titled “Features”@azure-tools/typespec-azure-core
Section titled “@azure-tools/typespec-azure-core”- #3475 Add new
no-case-mismatchrule checking for types with names only differing by case
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #3572 Remove single service restriction for ARM specs
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #3583 Support array encode on model property.
- #3494 Add
methodParameterSegmentsproperty to replacecorrespondingMethodParamswith complete path segments. - #3596 Extend
@scopedecorator usage toModelPropertytargets. - #3496 Support
@convenientAPIand@protocolAPIdecorators at namespace/interface level to enable decorator inheritance for all contained operations with explicit override support at the operation level. - #3460 Add support to define one client from multiple services. Api versions for services will rest on the subclient
Bug Fixes
Section titled “Bug Fixes”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”- #3613 Deduplicate authentication schemes with same name
- #3558 Respect
@externalDocson properties - #3602 Fix constraints not applied on nullable properties
- #3602 Fix
x-ms-enum.namenot being set on nullable enum properties with default
@azure-tools/typespec-azure-core
Section titled “@azure-tools/typespec-azure-core”- #3529 Fix
no-legacy-usagelinting rule to check for model is, spread and augment decorators - #3604 Add pagination decorators to query parameter models:
@pageSizetoMaxPageSizeQueryParameter.maxpagesizeand@offsettoSkipQueryParameter.skip - #3483 Add new
no-unnamed-unionrule to prevent usage of unnamed unions in Azure
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #3498 Fix incorrect usage flags being set on types when
@alternateTypeis applied to operation parameters. When a parameter has@alternateType, the original type should not receive usage flags since it’s being replaced by the alternate type. This fix ensures the usage value correctly reflects that the original type is not used (Usage = 0/None).