Skip to content

Releases: Azure/typespec-azure

@azure-tools/[email protected]

21 Apr 06:15
bdbb681

Choose a tag to compare

Bug Fixes

  • #2556 Make spread body parameter always be required.
  • #2552 Fix algorithm problem when omitting optional parameter with @override.

@azure-tools/[email protected]

17 Apr 16:15
401b82f

Choose a tag to compare

Features

  • #2523 Add @clientDoc decorator
  • #2483 Add linter rule no-unnamed-types to warn against generated anonymous types
  • #2486 Extend supported alternate type for decorator @alternateType

Bug Fixes

  • #2479 Filter out model-only clients
  • #2526 Always ignore null example value for non-nullable type.
  • #2510 Fix setting of @clientNamespace when it is overridden in the namespace path
  • #2520 Fix path and body optionality value to allow them to be optional.

@azure-tools/[email protected]

17 Apr 16:15
401b82f

Choose a tag to compare

Pre-release

Features

  • #2496 add tests for @clientInitialization moving from method to client
  • #2497 add test for Azure.Core.Legacy.parameterizedNextLink

Bug Fixes

  • #2527 Fix FinalResult for POST LRO ArmCombinedLroHeaders.
  • #2522 Update to express v5
  • #2530 Fix client initialization spec issue.

[email protected]

02 Apr 21:39
538742e

Choose a tag to compare

@azure-tools/typespec-autorest

Features

  • #2428 Add support for new core HTTP bodyKind: "file".

Bump dependencies

  • #2433 Upgrade dependencies

Bug Fixes

  • #2459 Fix doc on HttpPart properties not being carried to formData parameter
  • #2464 Fix multipart not applying x-ms-client-name when using an explicit part name different from the property name

@azure-tools/typespec-azure-core

Features

  • #2396 add internal scalar type parameterizedNextLink to handle next links that don't meet guidelines

Bump dependencies

  • #2433 Upgrade dependencies

@azure-tools/typespec-azure-portal-core

Bump dependencies

  • #2433 Upgrade dependencies

@azure-tools/typespec-azure-resource-manager

Features

  • #2470 Relax @enforceConstraint to allow validation to pass when a resource is identified using the @legacy.armCustomResource decorator.
  • #2428 Add support for new core HTTP bodyKind: "file".

Bump dependencies

  • #2433 Upgrade dependencies

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

Breaking Changes

  • #2466 Reorder clients, enums, models and unions.
  • #2456 Remove deprecated staffs:
    1. UsageFlags.Error -> UsageFlags.Exception
    2. SdkClientType.initialization -> SdkClientType.clientInitialization.paramters
    3. SdkPathParameter.urlEncode -> SdkPathParameter.allowReserved
    4. SdkClientAccessor -> SdkClientType.parent/SdkClientType.children
    5. SdkExampleBase.description -> SdkExampleBase.doc
  • #2447 Split emitter options into UnbrandedSdkEmitterOptions and BrandedSdkEmitterOptions. Each flag will be exported individually, so emitters can choose which flags to support
  • #2421 Removed package-name and flatten-union-as-enum from SdkEmitterOptions, clientNamespace from SdkClientType/SdkNullableType/SdkEnumType/SdkUnionType/SdkModelType, packageName from TCGCContext, nameSpace from SdkClientType, name/rootNamespace from SdkPackage and getClientNamespaceString function. All these things should have been deprecated in previous version or not used by any emitters.

Features

  • #2466 Report warning for multiple @service and fall back to the first one.
  • #2441 add @deserializeEmptyStringAsNull decorator
  • #2368 Add @clientApiVersions decorator to specify all API versions you would like to expose in the client API versions enum.
  • #2416 Simplely handle duplication for template instance.
  • #2412 Support re-injected query parameter for next link.
  • #2414 Remove support for old multipart format
  • #2469 add @responseAsBool decorator
  • #2428 Add support for new core HTTP bodyKind: "file".

Bump dependencies

  • #2433 Upgrade dependencies

Bug Fixes

  • #2480 Consider method parameter model when generating name for anonymous model.
  • #2439 Resolve generated name for anonymous model conflict with user-defined type name.
  • #2471 Change diagnostic target for no-corresponding-method-param error.
  • #2471 Change default endpoint's type to url and allowReserved to true.
  • #2436 Remove duplicate line for build-in license info.
  • #2411 Do not add encode for bytes according to content type if it has user defined encode.
  • #2452 Downgrade override params mismatch to a warning instead of an error
  • #2421 Rollback change of SdkApiVersionParameter.

@azure-tools/[email protected]

02 Apr 21:39
538742e

Choose a tag to compare

Features

  • #2396 add no-legacy-usage rule to rules list

Bump dependencies

  • #2433 Upgrade dependencies

@azure-tools/[email protected]

02 Apr 21:39
538742e

Choose a tag to compare

Bump dependencies

  • #2433 Upgrade dependencies

@azure-tools/[email protected]

02 Apr 21:39
538742e

Choose a tag to compare

Pre-release

Bug Fixes

  • #2485 Escape scenario as this is now keyword

@azure-tools/[email protected]

26 Mar 08:04
bc55ca2

Choose a tag to compare

Pre-release

Bug Fixes

  • #2440 Fix mockapi for flattenProperties and ARM

@azure-tools/[email protected]

25 Mar 05:30
34b86c3

Choose a tag to compare

Pre-release

Features

  • #2403 Add test for non resource operations

Bump dependencies

  • #2433 Upgrade dependencies

Bug Fixes

  • #2431 Fix specs to handle body correctly with new spector change

@azure-tools/[email protected]

20 Mar 21:48
e724457

Choose a tag to compare

Bug Fixes

  • #2425 Rollback change of SdkApiVersionParameter.
  • #2425 Removed package-name and flatten-union-as-enum from SdkEmitterOptions, clientNamespace from SdkClientType/SdkNullableType/SdkEnumType/SdkUnionType/SdkModelType, packageName from TCGCContext, nameSpace from SdkClientType, name/rootNamespace from SdkPackage and getClientNamespaceString function. All these things should have been deprecated in previous version or not used by any emitters.