Releases: Azure/typespec-azure
Releases · Azure/typespec-azure
@azure-tools/[email protected]
Features
- #2773 [azure-http-specs] unscope paging with re-injection parameters test for go
@azure-tools/[email protected]
Bug Fixes
- #2796 Ignore empty
{}
definitions fromno-unnamed-types
rule
@azure-tools/[email protected]
Bump dependencies
- #2667 Upgrade dependencies
Bug Fixes
- #2750 Refine API version parameter judgement with checking the service's API version enum.
- #2755 Fix
no-unnamed-types
linter warning not being applied to versioned namespaces - #2755 Fix linter perf for
@azure-tools/typespec-client-generator-core
linter warnings - #2770 Don't raise
no-unnamed-types
for nullable types - #2690 loosen requirements to link method to service params
- #2707 Fix documentation on generate-convenience-methods option.
@azure-tools/[email protected]
@azure-tools/[email protected]
@azure-tools/[email protected]
Bug Fixes
- #2675 Discourage use of legacy types outside brownfield conversions
@azure-tools/[email protected]
@azure-tools/[email protected]
Bug Fixes
- #2658 Add fallback logic for example mapping of discriminated type.
- #2651 Use client name for body mapping as fall back logic.
- #2651 Fix wrong cache logic for array or dictionary with self referenced value type.
- #2663 Add linter warning against multiple param aliases for the same parameter
- #2665 Fix error thrown when removing optional query parameters from method signature with the
@override
decorator - #2666 Check root source property to determine if two properties are the same
@azure-tools/[email protected]
[email protected]
@azure-tools/typespec-autorest
Breaking Changes
-
#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" ] }
Bug Fixes
- #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-core
Features
- #2586 Ease casing style validation for PascalCase with accepted acronyms (AI, VM, OS, IP, CPU, GPU, LRO)
Bug Fixes
- #2628 Handle new behavior of
@patch
keeping old behavior
@azure-tools/typespec-azure-portal-core
No changes, version bump only.
@azure-tools/typespec-azure-resource-manager
Bug Fixes
- #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
@azure-tools/typespec-client-generator-core
Features
- #2562 Add
metadata
property toSdkPackage
type to export package related info.