Releases: microsoft/typespec
Releases · microsoft/typespec
typespec-stable@1.11.0
@typespec/compiler
Features
- #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
- #10196 Include model name in
duplicate-propertyerror message - #10199 [invalid-discriminated-union-variant]
duplicateDefaultVariantdiagnostic now includes the union type name - #10183 Do not interpolate non primitive values in config automatically
Will not be interpolated as
file-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/http
No changes, version bump only.
@typespec/openapi
No changes, version bump only.
@typespec/openapi3
Bug Fixes
- #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).
@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
No changes, version bump only.
@typespec/versioning@0.81.0
No changes, version bump only.
@typespec/streams@0.81.0
No changes, version bump only.
@typespec/sse@0.81.0
No changes, version bump only.
@typespec/rest@0.81.0
No changes, version bump only.
@typespec/protobuf@0.81.0
No changes, version bump only.
@typespec/playground@0.14.0
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
No changes, version bump only.
@typespec/internal-build-utils@0.81.0
No changes, version bump only.