Skip to content

January 2024

Release Notes January 2024 (2024-01-23)

See TypeSpec Core release notes

New Features

@azure-tools/typespec-autorest New Features

  • Added support for @encodedName decorator.

@azure-tools/typespec-azure-core New Features

  • Added support in getLroMetadata for Azure Resource Manager LRO patterns.
  • Added parameter options and supporting templates for @pollingLocation and @finalLocation decorators to enable specifying or overriding the expected response type when resolving the url in a decorated property.

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

  • Added new types to support LRO resolution by Location and Azure-AsyncOperation headers.
  • Added new template parameter LroHeaders to customize the LRO settings for all asynchronous operation templates.

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

  • Added type info for additional properties in model type.
  • Added @clientName decorator.
  • Added support for @encodedName decorator.
  • Added new @flattenProperty decorator.

Bug Fixes

@azure-tools/typespec-autorest Bug Fixes

  • Fix: Changed default treatment of multipart/form-data property of type bytes[]: it is now treated as multiple file parts.
  • Fix: Carried over the union name to x-ms-enum.name for OpenAPI enums created from named unions.

@azure-tools/typespec-azure-core Bug Fixes

  • Fix: Relaxed camelCase linting rule to allow a single non-alphabetical character. Also added standard filterParameter.
  • Fix: Gave a name to the RepeatabilityResult union used in APIs that support Repeatable Requests.

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

  • Fix: Resolved selected Azure Resource Manager common types version when used on version enum members.

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

  • Fix: Replaced missing models in client hierarchy
  • Fix: Corrected naming issue for enums with projected names.

Breaking Changes

  • There are breaking changes in the TypeSpec core libraries, see the release notes for details.