0.56.0
TypeSpec Core 1.0 See changes to the TypeSpec language and core libraries
Breaking Changes
@azure-tools/typespec-autorest
-
#2576 Modify how
x-nullable
is resolved when a$ref
is present.Previously, the
$ref
was placed inside anallOf
. With this change, the$ref
is now moved directly next tox-nullable
."Dog": {"type": "object","properties": {"type": {- "type": "object","x-nullable": true,+ "$ref": "#/definitions/Pet"- "allOf": [- {- "$ref": "#/definitions/Pet"- }- ]}},"required": ["type"]}
Features
@azure-tools/typespec-client-generator-core
- #2562 Add
metadata
property toSdkPackage
type to export package related info.
Bug Fixes
@azure-tools/typespec-autorest
- #2538 Fixing gaps in the
@identifiers
decorator functionality:- The
@identifier
decorator should take priority when present, and its value should be respected. - The value of the
@identifier
decorator is determined by theModelProperty
, not the array type. - The
@armProviderNamespace
is correctly identified in both scenarios: when applied to the array type or the model property.
- The
- #2606 Fix unsupported param type diagnostic to target the model property with the issue
@azure-tools/typespec-azure-resource-manager
- #2250 Addressing common type differences with common types in azure-rest-api-specs, such as ordering of elements, lower/upper case in definition names, typos, and incorrect format on the next link.
- #2538 Fixing gaps in the
@identifiers
decorator functionality:- The
@identifier
decorator should take priority when present, and its value should be respected. - The value of the
@identifier
decorator is determined by theModelProperty
, not the array type. - The
@armProviderNamespace
is correctly identified in both scenarios: when applied to the array type or the model property.
- The
- #2625 Make Patch templates specify implicitOptionality