Skip to content

Releases: Azure/typespec-azure

[email protected]

14 Jun 00:19
5b9bef3
Compare
Choose a tag to compare

@azure-tools/typespec-autorest

Bug Fixes

  • #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

Bump dependencies

  • #867 Update dependencies - May 2024

Features

  • #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

Breaking Changes

  • #473 Enums are not extensible by default anymore. Update to an extensible union union Foo {a: "a", b: "b", string}

@azure-tools/typespec-azure-core

Bug Fixes

  • #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

Bump dependencies

  • #867 Update dependencies - May 2024

Features

  • #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 and no-fixed-enum-discriminator
  • #432 Add support for values

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

Bump dependencies

  • #867 Update dependencies - May 2024

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

Bug Fixes

  • #998 Adding legacy v4 ManagedServiceIdentity model to avoid breaking changes in specs with mixed v3 and v4 common type reference
  • #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 on OperationStatus should be a float not an int
  • #979 Make Resource Properties Bag Updatable

Bump dependencies

  • #867 Update dependencies - May 2024

Features

  • #811 Remove dependency on typespec-autorest emitter
  • #432 Add support for values

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

Bug Fixes

  • #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

Bump dependencies

  • #867 Update dependencies - May 2024

Breaking Changes

  • #925 change default of .access on a model or enum to "public" instead of undefined
  • #870 return nullable types as a new type called SdkNullableType

@azure-tools/[email protected]

14 Jun 00:19
5b9bef3
Compare
Choose a tag to compare

Bug Fixes

  • #905 Add tspMain for playground bundling

@azure-tools/[email protected]

14 Jun 00:19
5b9bef3
Compare
Choose a tag to compare

Bug Fixes

  • #968 update the canonical swagger file folder name

Bump dependencies

  • #867 Update dependencies - May 2024

@azure-tools/[email protected]

22 May 20:05
0aecbcf
Compare
Choose a tag to compare

Bug Fixes

  • #897 Remove @azure-tools/typespec-azure-core/non-breaking-versioning from rulesets

@azure-tools/[email protected]

21 May 22:28
a7ec279
Compare
Choose a tag to compare
New Azure specs ruleset package (#854)

implement #654 
Package designed to provide rulesets for azure specs.

There is a test that makes sure for a given ruleset that all the rules
from dependent linter are explicitly enabled or disabled. This will
ensure that we don't forget to register rules there.

---------

Co-authored-by: Mark Cowlishaw <[email protected]>

@azure-tools/[email protected]

21 May 20:11
9bad93e
Compare
Choose a tag to compare

Bug Fixes

  • #868 Changing back ManagedServiceIdentity.userAssignedIdentities back to Record<UserAssignedIdentity. Adding ARM common-type references for on all Managed Identity models.

@azure-tools/[email protected]

15 May 19:02
00fb10e
Compare
Choose a tag to compare

Bug Fixes

  • #834 map discriminator string value type to enum value type
  • #826 change from using logical result to final result
  • #826 add union support for templated model naming

@azure-tools/[email protected]

15 May 19:06
00fb10e
Compare
Choose a tag to compare

Bug Fixes

  • #839 Do not omit unreferenced non version enum when omit-unreachable-types is not set to true

@azure-tools/[email protected]

11 May 01:15
bb338af
Compare
Choose a tag to compare

Bug Fixes

  • #818 Fix: Crash due to using api from next version of the compiler

@azure-tools/[email protected]

09 May 20:47
3122ccc
Compare
Choose a tag to compare

Bug Fixes

  • #766 add generated names for constants
  • #808 Fix error response when error model has statusCode
  • #797 add void and never handling for parameter and return types
  • #805 propagate api version from parent if not explicitly set
  • #801 getDefaultApiVersion and service version enum hornor api version config
  • #432 Add support for values