August 2023
Release Notes August 2023 (2023-08-08)
Section titled “Release Notes August 2023 (2023-08-08)”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”- Annotate long-running operations with “x-ms-long-running-operation” extension.
- Add interpolation support of
emitter-output-dirfor thearm-types-diremitter option. - Add support for
@infodecorator providing the ability to specify the additional fields from openapi info object.
@azure-tools/typespec-azure-core New Features
Section titled “@azure-tools/typespec-azure-core New Features”- Add new properties to
LroMetadatareturned fromgetLroMetadata - Update ResourceCreateOrReplace template to include StatusMonitor information.
- Update
CustomPageto generate an informative model name on instantiation - Add conceptual documentation on custom LRO patterns in Azure.Core
@azure-tools/typespec-azure-resource-manager New Features
Section titled “@azure-tools/typespec-azure-resource-manager New Features”- Allow shared libraries of ARM types and operations
- Allow override of arm provider namespace
- Add descriptions for
ArmResourceCreateOrUpdateresponses to indicate that anOKresponse indicates and update ans aCreatedresponse indicates a newly created resource. - Add new template
ArmResourceCreateOrReplaceSyncthat returnsOKandAcceptedresponses for synchronous PUT requests. - Add template alias
ArmResourceCreateOrReplaceAsyncfor consistent naming of recommended templates forPUToperations.
@azure-tools/typespec-autorest Bug Fixes
Section titled “@azure-tools/typespec-autorest Bug Fixes”- Fix: Apply
@minItemsand@maxItemsdecorators on model arrays.
@azure-tools/typespec-azure-core Bug Fixes
Section titled “@azure-tools/typespec-azure-core Bug Fixes”- Fix LRO status header property detection for
Locationheaders
@azure-tools/typespec-azure-resource-manager Bug Fixes
Section titled “@azure-tools/typespec-azure-resource-manager Bug Fixes”- Fix
ArmTagsPatchAsyncwith a default value for the second (unused) parameter.
@azure-tools/typespec-client-generator-core Bug Fixes
Section titled “@azure-tools/typespec-client-generator-core Bug Fixes”- add transitivity support for
@include - “Fix the
getEmitterTargetNamefunction to use the real name of the emitter
Breaking Changes
Section titled “Breaking Changes”- There are breaking changes in the TypeSpec core compiler, see the release notes for details.