Skip to content

0.51.0 February 2025

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 for x-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 for x-ms-identifiers. Additionally, use the @key decorator to identify identifiers.

@azure-tools/typespec-client-generator-core

  • #2102 Add a resultSegments property to SdkLroServiceFinalResponse and deprecate resultPath property. Add a resultSegments property to SdkMethodResponse.
  • #2179 add support for models-only packages

Bug Fixes

@azure-tools/typespec-autorest

  • #2137 Ensure that @clientName value propagates to x-ms-enum.name for enums and unions.

@azure-tools/typespec-azure-resource-manager

  • #2178 Fixing etag property name on common-types from eTag to etag.
  • #2077 Fix provider name not being replaced in the route when using ArmProviderActionSync or ArmProviderActionAsync 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