Skip to content

Releases: microsoft/typespec

typespec-stable@1.11.0

07 Apr 19:32
478dfed

Choose a tag to compare

@typespec/compiler

Features

  • #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.

Bug Fixes

  • #10196 Include model name in duplicate-property error message
  • #10199 [invalid-discriminated-union-variant] 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.

@typespec/http

No changes, version bump only.

@typespec/openapi

No changes, version bump only.

@typespec/openapi3

Bug Fixes

  • #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).

@typespec/json-schema

No changes, version bump only.

typespec-vscode

No changes, version bump only.

@typespec/prettier-plugin-typespec

No changes, version bump only.

@typespec/xml@0.81.0

07 Apr 19:32
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/versioning@0.81.0

07 Apr 19:32
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/streams@0.81.0

07 Apr 19:32
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/sse@0.81.0

07 Apr 19:32
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/rest@0.81.0

07 Apr 19:32
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/protobuf@0.81.0

07 Apr 19:32
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/playground@0.14.0

07 Apr 19:32
478dfed

Choose a tag to compare

Features

  • #10024 Add file tree view for output
  • #10018 Make UI more mobile friendly.
    • Add a new switch to toggle between TypeSpec and output panels
    • Command bar hides less important tools behind ...
    • [API] Update custom toolbar to take a menu item instead of generic react node.
  • #10256 Add search and category grouping to samples

Bug Fixes

  • #10212 Don't show file tree view in output when there is only a single file

@typespec/library-linter@0.81.0

07 Apr 19:31
478dfed

Choose a tag to compare

No changes, version bump only.

@typespec/internal-build-utils@0.81.0

07 Apr 19:31
478dfed

Choose a tag to compare

No changes, version bump only.