Skip to content

Releases: Azure/typespec-azure

@azure-tools/[email protected]

10 Jun 22:43
b4cb7b1

Choose a tag to compare

Pre-release

Features

  • #2773 [azure-http-specs] unscope paging with re-injection parameters test for go

@azure-tools/[email protected]

06 Jun 20:43
0ed3607

Choose a tag to compare

Bug Fixes

  • #2796 Ignore empty {} definitions from no-unnamed-types rule

@azure-tools/[email protected]

04 Jun 20:46
c87012c

Choose a tag to compare

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]

28 May 03:26
e28b414

Choose a tag to compare

Pre-release

Features

  • #2677 [azure-http-specs] add test for mgmt-plane large LRO header

Bug Fixes

  • #2203 Fix URL for ExtensionsResources in mockapi.

@azure-tools/[email protected]

27 May 21:36
5ef2e00

Choose a tag to compare

Bug Fixes

  • #2724 Fix ErrorAdditionalInfo.info in common types by changing its type from {} to unknown.
  • #2727 Change the body name of legacy operations
  • #2722 Support singleton key replacement in auto route for reusing case.

@azure-tools/[email protected]

16 May 23:49
c65180e

Choose a tag to compare

Bug Fixes

  • #2675 Discourage use of legacy types outside brownfield conversions

@azure-tools/[email protected]

16 May 23:49
c65180e

Choose a tag to compare

Bug Fixes

  • #2676 Corrected the references for PrivateEndpointConnectionListResultV5 and PrivateLinkResourceListResultV5 in common-types.
  • #2675 Add support for resources with multiple operation paths
  • #2674 Allow optional request bodies in Resource actions templates

@azure-tools/[email protected]

13 May 00:50
c522a9a

Choose a tag to compare

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]

07 May 07:01
8847ba1

Choose a tag to compare

Features

  • #2592 Change default value of initializedBy for SdkOperationGroup from InitializedByFlags.Parent to InitializedByFlags.Default

Bug Fixes

  • #2626 Convert to same type for array or dictionary of same type.

[email protected]

06 May 23:12
b1a79f9

Choose a tag to compare

@azure-tools/typespec-autorest

Breaking Changes

  • #2576 Modify how x-nullable is resolved when a $ref is present.

    Previously, the $ref was placed inside an allOf. With this change, the $ref is now moved directly next to x-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 the ModelProperty, not the array type.
    • The @armProviderNamespace is correctly identified in both scenarios: when applied to the array type or the model property.
  • #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 the ModelProperty, not the array type.
    • The @armProviderNamespace is correctly identified in both scenarios: when applied to the array type or the model property.
  • #2625 Make Patch templates specify implicitOptionality

@azure-tools/typespec-client-generator-core

Features

  • #2562 Add metadata property to SdkPackage type to export package related info.

Bug Fixes

  • #2562 Support null example value for unknown type.
  • #2584 Loosen requirements for parameters in @override so they don't have to be exactly the same node