Skip to content

Releases: Azure/typespec-azure

@azure-tools/typespec-azure-rulesets@0.42.1

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/typespec-azure-rulesets@0.42.0

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 <markcowl@microsoft.com>

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

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/typespec-client-generator-core@0.42.3

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/typespec-autorest@0.42.1

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/typespec-client-generator-core@0.42.2

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/typespec-client-generator-core@0.42.1

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

typespec-azure@0.42.0

08 May 03:03
be1e2c3
Compare
Choose a tag to compare

@azure-tools/typespec-autorest

Bug Fixes

  • #745 prevent tcgc versioning projection
  • #293 Add support for new @body @bodyRoot and @bodyIgnore decorators

Bump dependencies

  • #663 Upgrade dependencies

Features

  • #765 [API] Refactor to provide functions to get the OpenAPI programtically

Breaking Changes

  • #774 Version enum is now omitted by default. Use version-enum-strategy: include to revert behavior.

@azure-tools/typespec-azure-core

Bug Fixes

  • #619 Add no-generic-numeric rule to disable LintDiff IntegerTypeMustHaveFormat
  • #760 Fix rpc-operation-request-body rule not actually checking for a body parameter.
  • #694 Fix crash when Traits builders gets passed non model
  • #710 Exempt versioning enums and discriminator enum/unions from documentation-required rule.
  • #740 Require documentation on most unions.
  • #293 Update to support new meaning of @body

Bump dependencies

  • #663 Upgrade dependencies

Breaking Changes

  • #521 Switching ProvisioningState from enum to Open union

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

Bump dependencies

  • #663 Upgrade dependencies

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

Bug Fixes

  • #605 Specify the fully qualified name of @OpenAPI.extension decorator in missing-x-ms-identifiers linter warning.
  • #400 Updated ManagedIndentity and CustomerManagedKey TypeSpec model definition to be consistent with Swagger commont-types
  • #567 Enable arm-common-types-version rule by default.
  • #751 Allow @pattern to be provided on a scalar
  • #702 Fix arm-resource-name-pattern rule codefix producing invalid syntax
  • #293 Update to support new meaning of @body

Bump dependencies

  • #663 Upgrade dependencies

Features

  • #661 Fixing ArmResource base model and add an easier way to define Resource Name parameter
  • #736 Adding standard ExtendedLocation definition for ARM library

Deprecations

  • #762 Renaming internal TypeSpec ARM foundation model names to be consistent with ARM common-type definitions.
    However, these are Azure.Resource.Manager.Foundations models that would not normally be used directly in service specs.

  • Deprecate Foundations.ArmResource. Foundations.Resource should be used instead.

  • Deprecate Foundations.ResourceSkuType. Foundations.Sku should be used instead.

  • Deprecate Foundations.ResourcePlanType. Foundations.Plan should be used instead.

  • Deprecate Foundations.TrackedResourceBase. Foundations.TrackedResource should be used instead.

  • Deprecate Foundations.ProxyResourceBase. Foundations.ProxyResource should be used instead.

  • Deprecate Foundations.ExtensionResourceBase. Foundations.ExtensionResource should be used instead.

  • #768 Standardizing mix-in model names with consistent Property suffix.

  • Deprecate ManagedServiceIdentity. ManagedServiceIdentityProperty should be used instead.

    Example:

    -...ManagedServiceIdentity;
    +...ManagedServiceIdentityProperty;
  • Deprecate ManagedSystemAssignedIdentity. ManagedSystemAssignedIdentityProperty should be used instead.

    Example:

    -...ManagedSystemAssignedIdentity;
    +...ManagedSystemAssignedIdentityProperty;
  • Deprecate EntityTag. EntityTagProperty should be used instead.

    Example:

    -...EntityTag;
    +...EntityTagProperty;
  • Deprecate ResourceKind. ResourceKindProperty should be used instead.

    Example:

    -...ResourceKind;
    +...ResourceKindProperty;
  • Deprecate ResourcePlan. ResourcePlanProperty should be used instead.

    Example:

    -...ResourcePlan;
    +...ResourcePlanProperty;
  • Deprecate ResourceSku. ResourceSkuProperty should be used instead.

    Example:

    -...ResourceSku;
    +...ResourceSkuProperty;
  • Deprecate ManagedBy. ManagedByProperty should be used instead.

    Example:

    -...ManagedBy;
    +...ManagedByProperty;

Breaking Changes

  • #521 Switching ProvisioningState from enum to Open union

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

Bug Fixes

  • #788 fix wrong default version for interface from extends

@azure-tools/typespec-autorest-canonical@0.3.0

08 May 03:03
be1e2c3
Compare
Choose a tag to compare

Bug Fixes

  • #765 Refactor to make use ot autorest emitter logic to compute the types
  • #293 Add support for new @body, @bodyRoot and @bodyIgnore

Bump dependencies

  • #663 Upgrade dependencies

Features

  • #671 Add resolveRef logic for the typespec-autorest-canonical emitter

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

06 May 19:55
4a62ebc
Compare
Choose a tag to compare

Bug Fixes

  • #745 allow callers of createSdkContext to ignore default version projection
  • #778 tie api version information to clients so we can have diff api version information per client
  • #780 fix duplicated content type parameter for rpc lro