Skip to content

1.11.0

  • #9893 Added a new template FilterVisibility to support more accurate visibility transforms. This replaces the @withVisibilityFilter decorator, which is now deprecated and slated for removal in a future version of TypeSpec.
  • #10196 Include model name in duplicate-property error message
  • #10199 duplicateDefaultVariant diagnostic now includes the union type name
  • #10183 Do not interpolate non primitive values in config automatically.
    file-type: ["json", "yaml"]
    output-file: "openapi.{file-type}"
    Will not be interpolated as openapi.json,yaml but 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.
  • #10041 [importer] Fix anyOf with $ref and 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 bytes variant in a multipart body (e.g. HttpPart<MyUnion> where MyUnion includes bytes).