1.11.0
Features
Section titled “Features”@typespec/compiler
Section titled “@typespec/compiler”- #9893 Added a new template
FilterVisibilityto support more accurate visibility transforms. This replaces the@withVisibilityFilterdecorator, which is now deprecated and slated for removal in a future version of TypeSpec.
Bug Fixes
Section titled “Bug Fixes”@typespec/compiler
Section titled “@typespec/compiler”- #10196 Include model name in
duplicate-propertyerror message - #10199
duplicateDefaultVariantdiagnostic now includes the union type name - #10183 Do not interpolate non primitive values in config automatically.
Will not be interpolated asfile-type: ["json", "yaml"]output-file: "openapi.{file-type}"
openapi.json,yamlbut keep the placeholder{file-type}intact for the emitter to handle. - #9893 Fixed a bug that would prevent template parameters from assigning to values in some cases.
@typespec/openapi3
Section titled “@typespec/openapi3”- #10041 [importer] Fix
anyOfwith$refand inline object being incorrectly imported as a model instead of a union. - #10046 Fix OpenAPI emitter failing with “Duplicate type name” error when using a named union with a
bytesvariant in a multipart body (e.g.HttpPart<MyUnion>whereMyUnionincludesbytes).