Skip to content

Releases: microsoft/typespec

typespec-stable@1.1.0

10 Jun 22:23
cc74c72
Compare
Choose a tag to compare

@typespec/compiler

Features

  • #7377 Add a --stats flag to tsp compile to log some performance and complexity statistics
  • #7530 Show the full definition of model and interface when it has 'extends' and 'is' relationship in the hover text
  • #6923 Init templates can define a project kind which decide if dependencies are added to peer or regular dependencies
  • #6783 Install packages for unrecognized import via npm command
  • #7239 [LSP] Expose new compile project command
  • #7137 Allow passing template parameters as property defaults
  • #7256 Expose VisibilityFilter.toCacheKey to allow caching results based on visibility filters.

Bump dependencies

  • #7323 Upgrade dependencies

Bug Fixes

  • #7421 Fix hanging when using ::returnType meta accessor on operation defined with op is
  • #7507 Fix empty string emitting error when used in string interpolation in a template
  • #7524 Fixes an error where reported diagnostics had invalid relative paths on Windows
  • #7508 Allow extends of array expression for not just template (model MyStrings extends string[])
  • #7473 Mutator were not mutating tuple values
  • #7485 Fix paging operations to correctly detect the @pageItems decorator on base models.
  • #7461 Remove non documented templateArguments property on types
  • #7480 Fix infinite recursion when navigating paging properties by detecting and handling circular model references.
  • #7137 Allow passing tempalate parameter values in object and array values used inside the template
  • #7295 Corrected visibility filtering logic to even more aggressively deduplicate the models it visits when the applied visibility transform does not actually remove any properties from a model.

@typespec/http

No changes, version bump only.

@typespec/openapi

Bug Fixes

  • #7509 Fix @tagMetadata decorator emitting error when incorrectly not finding @service decorator

@typespec/openapi3

Features

  • #7219 [OpenAPI -> tsp] Add support for converting inline schemas using allOf
  • #7403 Adds support for parameter examples via @opExample via the experimental-parameter-examples option.

@typespec/json-schema

Bug Fixes

  • #7501 Json schema emitter conflict with other emitters

typespec-vscode

Features

  • #7317 Enable emit code command on tspconfig.yaml.
  • #6783 Install packages for unrecognized import via npm command
  • #7239 Use language server to compile project instead of CLI
  • #7331 Support prompting to install compiler proactively if no compiler is found when starting LSP
  • #7541 Add extension API for other vscode extension to be able to register more TypeSpec InitTemplate to choose when scaffolding TypeSpec project.

Bump dependencies

  • #7323 Upgrade dependencies

Bug Fixes

  • #7300 Unify the writing of OpenAPI 3
  • #7353 Fix openapi3 preview error when path contains space
  • #7374 Check whether the compiler language server supports project compilation.
  • #7302 Telemetry data item result displays cancelled when the Select file step of Preview API Documentation is cancelled

@typespec/prettier-plugin-typespec

No changes, version bump only.

@typespec/xml@0.71.0

10 Jun 22:23
cc74c72
Compare
Choose a tag to compare

No changes, version bump only.

@typespec/versioning@0.71.0

10 Jun 22:23
cc74c72
Compare
Choose a tag to compare

Bug Fixes

  • #7473 Fix tuples not correctly versioned

@typespec/tspd@0.71.0

10 Jun 22:23
cc74c72
Compare
Choose a tag to compare

Features

  • #7218 Add basic doc generation for typekits using --typekits flag

Bump dependencies

  • #7605 Updates alloy to 0.17
  • #7363 Upgrade alloy 16

Bug Fixes

  • #7481 Fix duplicate usage sections by renaming emitter usage section to "Emitter usage"

@typespec/streams@0.71.0

10 Jun 22:23
cc74c72
Compare
Choose a tag to compare

No changes, version bump only.

@typespec/sse@0.71.0

10 Jun 22:22
cc74c72
Compare
Choose a tag to compare

No changes, version bump only.

@typespec/rest@0.71.0

10 Jun 22:22
cc74c72
Compare
Choose a tag to compare

No changes, version bump only.

@typespec/protobuf@0.71.0

10 Jun 22:22
cc74c72
Compare
Choose a tag to compare

No changes, version bump only.

@typespec/playground@0.8.2

10 Jun 22:22
cc74c72
Compare
Choose a tag to compare

Bump dependencies

  • #7323 Upgrade dependencies

Bug Fixes

  • #7319 Reduce visual noise in diagnostics by targeting the specific node id rather than the entire node.

@typespec/library-linter@0.71.0

10 Jun 22:22
cc74c72
Compare
Choose a tag to compare

No changes, version bump only.