0.51.0 February 2025
TypeSpec Core 0.65 See changes to the TypeSpec language and core libraries
Features
@azure-tools/typespec-autorest
- #2091 Add
@externalTypeRef
decorator, 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
@identifiers
decorator to identify and utilize identifiers forx-ms-identifiers
. Additionally, use the@key
decorator to identify identifiers.
@azure-tools/typespec-azure-resource-manager
- #2091 Add
@externalTypeRef
decorator, 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
@identifiers
decorator to identify and utilize identifiers forx-ms-identifiers
. Additionally, use the@key
decorator to identify identifiers.
@azure-tools/typespec-client-generator-core
- #2102 Add a
resultSegments
property toSdkLroServiceFinalResponse
and deprecateresultPath
property. Add aresultSegments
property toSdkMethodResponse
. - #2179 add support for models-only packages
Bug Fixes
@azure-tools/typespec-autorest
- #2137 Ensure that
@clientName
value propagates tox-ms-enum.name
for enums and unions.
@azure-tools/typespec-azure-resource-manager
- #2178 Fixing
etag
property name on common-types fromeTag
toetag
. - #2077 Fix provider name not being replaced in the route when using
ArmProviderActionSync
orArmProviderActionAsync
operation. - #2085 Exclude template instances from the
no-response-body
rule. - #2185 Fix common-types privatelink typo in
@key("privateLinkResourcenName") from privateLinkResourcenName to privateLinkResourceName
@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
@override
decorator. - #2167 add cache for
SdkModelPropertyType
in TCGCContext - #2172 move to core’s
getVisibilityForClass
to determine a property’s visibility - #2159 add
.json
serialization information for json model serialization within multipart - #2163 add visibility for other properties