0.62.0
import { LinkCard } from “@astrojs/starlight/components”;
Deprecations
Section titled “Deprecations”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”-
#3465 Deprecate
arm-resource-flatteningoption to reduce confusion with new flattening mechanisms.tspconfig.yaml options:@azure-tools/typespec-autoprest: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”-
#3465 Deprecate
arm-resource-flatteningoption to reduce confusion with new flattening mechanisms.tspconfig.yaml options:@azure-tools/typespec-autoprest:arm-resource-flattening: trueMyResource.tsp @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MyResource.properties, "autorest");
Features
Section titled “Features”@azure-tools/typespec-azure-core
Section titled “@azure-tools/typespec-azure-core”- #3449 Add experimental decorators to namespace
Azure.Core.Experimentalfor mutative updates to types. These decorators are dangerous and may be removed at any time, so they automatically trigger a warning diagnostic that requires a suppression. - #3350 Remove exception for
no-openapirule for usingx-ms-identifiers. Migrating to@identifiersis required. - #3350 Remove dependency on OpenAPI
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #3411 Add new
secret-proprule scanning for property looking like they might contain sensitive information but not marked with@secret - #3350 Remove dependency on OpenAPI
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #3422 Add new
Externalusage flag toUsageFlagsenum. This flag is automatically set for types that are only referenced by external types (types with@alternateTypedecorator pointing to external library types). The flag propagates recursively through the type graph, marking all types that are exclusively accessible through external types. - #3401 Add
@nextLinkVerbdecorator to specify HTTP verb for next page calls in paging operations. The decorator accepts “POST” or “GET” and defaults to “GET” when not specified. ThenextLinkVerbfield inSdkPagingServiceMetadatastores the HTTP verb as a string. - #3464 Support discriminated union.
- #3448 add support for
Http.Filetypes as input and output
Bug Fixes
Section titled “Bug Fixes”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”- #3386 Fix base64 encoding use correct
byteformat - #3481 Fix #3477 Allow uniqueItems for nullable array properties
@azure-tools/typespec-azure-core
Section titled “@azure-tools/typespec-azure-core”- #3480 Include typespec sources in subdirectories of lib into the package.
- #3481 Fix #3477 Allow uniqueItems for nullable array properties
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #3399 Fix
arm-resource-operationrule to skip template instances - #3492 Fix #3404 changes to resolveArmResources
- #3410 Fix invalid syntax causing error with PrivateLinks
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #3451 Propagate client initialization parameters to subclients