January 2024
Release Notes January 2024 (2024-01-23)
Section titled “Release Notes January 2024 (2024-01-23)”See TypeSpec Core release notes
New Features
Section titled “New Features”@azure-tools/typespec-autorest New Features
Section titled “@azure-tools/typespec-autorest New Features”- Added support for
@encodedNamedecorator.
@azure-tools/typespec-azure-core New Features
Section titled “@azure-tools/typespec-azure-core New Features”- Added support in
getLroMetadatafor Azure Resource Manager LRO patterns. - Added parameter options and supporting templates for
@pollingLocationand@finalLocationdecorators 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
Section titled “@azure-tools/typespec-azure-resource-manager New Features”- Added new types to support LRO resolution by
LocationandAzure-AsyncOperationheaders. - Added new template parameter
LroHeadersto customize the LRO settings for all asynchronous operation templates.
@azure-tools/typespec-client-generator-core New Features
Section titled “@azure-tools/typespec-client-generator-core New Features”- Added type info for additional properties in model type.
- Added
@clientNamedecorator. - Added support for
@encodedNamedecorator. - Added new
@flattenPropertydecorator.
Bug Fixes
Section titled “Bug Fixes”@azure-tools/typespec-autorest Bug Fixes
Section titled “@azure-tools/typespec-autorest Bug Fixes”- Fix: Changed default treatment of
multipart/form-dataproperty of typebytes[]: it is now treated as multiple file parts. - Fix: Carried over the union name to
x-ms-enum.namefor OpenAPI enums created from named unions.
@azure-tools/typespec-azure-core Bug Fixes
Section titled “@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
RepeatabilityResultunion used in APIs that support Repeatable Requests.
@azure-tools/typespec-azure-resource-manager Bug Fixes
Section titled “@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
Section titled “@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
Section titled “Breaking Changes”- There are breaking changes in the TypeSpec core libraries, see the release notes for details.