Skip to content

0.45.0 August 2024

Release Notes Version 0.45.0 - August 2024

See TypeSpec Core 0.59 release notes

Features

@azure-tools/typespec-autorest

  • #1275 Add support for encoding numeric types as string
  • #1247 Add support for URI templates in routes

@azure-tools/typespec-azure-core

  • #1154 Add new @azure-tools/typespec-azure-core/require-versioned linting rule to require Azure service to use versioning library.
  • #1193 Add new linter rule to prevent using items from Private namespace from an external library.

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

  • #1258 add support for encoding an int as a string
  • #1155 Make literal endpoints overridable
  • #1148 add @override decorator that allows authors to explicitly describe their desired client method

Bug Fixes

@azure-tools/typespec-autorest

  • #1248 Fix issue what allowed multi format on a header

@azure-tools/typespec-azure-core

  • #1198 Use some more precise types for certain decorators that would have crashed otherwise

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

  • #1187 Replace deprecated LocationParameter with LocationResourceParameter

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

  • #1238 TCGC, add crossLanguageDefinitionId to SdkClientType
  • #1266 expose default values for endpoint template arguments through .clientDefaultValue
  • #1281 Support @multipartBody for bodyParam of SdkHttpOperation
  • #1233 don’t move server description onto endpoints parameter