Skip to content

March 2023

Enable specifying path to configuration file

Identifiers may contain reserved words or non-standard characters when surrounded with backticks (`), for example:

op `op`(): void;

Augment decorators applied last

Migration script available for existing specs, see @typespec/migrate for details

Added public formatIdentifier function.

Default visibility is configurable, but default to ‘read’.

All core cadl packages moved from the @cadl-lang group to the @typespec group

Old Package NameNew Package Name
@cadl-lang/compiler@typespec/compiler
@cadl-lang/rest@typespec/rest, @typespec/http
@cadl-lang/migrate@typespec/migrate
@cadl-lang/openapi@typespec/openapi
@cadl-lang/openapi3@typespec/openapi3
@cadl-lang/versioning@typespec/versioning

Basic http protocol support is in the http library, support for resources and ReST are in the rest library. The migration tool will correctly update imports in your spec to match the new libraries.

Removed Support for Visual Studio 2019 in Visual Studio IDE extension

Section titled “Removed Support for Visual Studio 2019 in Visual Studio IDE extension”

You must use a later version of Visual Studio

Use emit and options instead