0.51.0 February 2025
TypeSpec Core 0.65 See changes to the TypeSpec language and core libraries
Features
Section titled “Features”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”- #2091 Add
@externalTypeRefdecorator, to been able to specify an external reference that should be used when emitting. - #2173 Update versioning handling to use new mutator approach
- #2094 Use the
@identifiersdecorator to identify and utilize identifiers forx-ms-identifiers. Additionally, use the@keydecorator to identify identifiers.
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #2091 Add
@externalTypeRefdecorator, to been able to specify an external reference that should be used when emitting. - #2173 Update versioning handling to use new mutator approach
- #2094 Use the
@identifiersdecorator to identify and utilize identifiers forx-ms-identifiers. Additionally, use the@keydecorator to identify identifiers.
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #2102 Add a
resultSegmentsproperty toSdkLroServiceFinalResponseand deprecateresultPathproperty. Add aresultSegmentsproperty toSdkMethodResponse. - #2179 add support for models-only packages
Bug Fixes
Section titled “Bug Fixes”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”- #2137 Ensure that
@clientNamevalue propagates tox-ms-enum.namefor enums and unions.
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #2178 Fixing
etagproperty name on common-types fromeTagtoetag. - #2077 Fix provider name not being replaced in the route when using
ArmProviderActionSyncorArmProviderActionAsyncoperation. - #2085 Exclude template instances from the
no-response-bodyrule. - #2185 Fix common-types privatelink typo in
@key("privateLinkResourcenName") from privateLinkResourcenName to privateLinkResourceName
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #2176 Enhance content type judge logic, which fix missing serialization options of models and wrong bytes encode.
- #2181 Fix wrong example doc of
@overridedecorator. - #2167 add cache for
SdkModelPropertyTypein TCGCContext - #2172 move to core’s
getVisibilityForClassto determine a property’s visibility - #2159 add
.jsonserialization information for json model serialization within multipart - #2163 add visibility for other properties