0.43.0 June 2024
Release Notes Version 0.43.0 - June 2024
See TypeSpec Core 0.57 release notes
Breaking Changes
@azure-tools/typespec-autorest
- #473 Enums are not extensible by default anymore. Update to an extensible union
union Foo {a: "a", b: "b", string}
@azure-tools/typespec-client-generator-core
- #925 change default of
.access
on a model or enum to"public"
instead ofundefined
- #870 return nullable types as a new type called
SdkNullableType
Features
@azure-tools/typespec-autorest
- #955 Use emit-lro-options emitter option to control emission of x-ms-long-running-operation-options
- #955 Add support for displaying lro options in typespec-autorest based on lro metadata
- #972 Add API to programmatically get all the OpenAPI2 documents for all services at all versions in a spec
- #811 Add dependency on typespec-azure-resource-manager to resolve the spec repo common types paths
- #813
@summary
sets the title of definitions
@azure-tools/typespec-azure-core
- #955 Add override decorator @useFinalStateVia for lro resolution when multiple resolution pathways exist
- #707 Remove linter rules that are not relevant anymore:
use-extensible-enum
andno-fixed-enum-discriminator
- #432 Add support for values
@azure-tools/typespec-azure-resource-manager
Bug Fixes
@azure-tools/typespec-autorest
- #923 When emitting version enum only include current version and mark with
modelAsString: true
- #902 Add support for new multipart constructs in http library
- #432 Add support for tuple literals as default values
@azure-tools/typespec-azure-core
- #693 Add new
no-string-discriminator
linter rule suggesting using an explicit extensible union as the discriminator kind. - #851 Convert
OperationState
enum to an open union
@azure-tools/typespec-azure-resource-manager
- #955 Remove OpenAPI dependencies from ARM LRO templates and test LRO overrides
- #929 Adding an overload parameter to ResourceNameParameter that allows
name
type to be set to string union type. - #860 Fix
percentComplete
property onOperationStatus
should be a float not an int - #979 Make Resource Properties Bag Updatable
- #998 Adding legacy v4 ManagedServiceIdentity model to avoid breaking changes in specs with mixed v3 and v4 common type reference
@azure-tools/typespec-client-generator-core
- #904 donβt add constant value to generated name
- #873 add description for created discriminator property
- #947 support new typespec emitter naming rule
- #930 expose enums on response headers
- #962 refine logic of core model filtering
- #950 remove duplicated types in TCGC
- #936 enhance cross language definition id logic
- #935 add read only logic to usage propagation