Skip to content

Releases: microsoft/typespec

@typespec/http-specs@0.1.0-alpha.35

24 Mar 21:08
7a042a9

Choose a tag to compare

Pre-release

Features

  • Added new scenario for next link based pagination where the initial verb is not GET
  • Add missing scenarios for xml handling

Bug Fixes

  • Accept both 2022-08-26T18:38:00.000Z and 2022-08-26T18:38:00Z as valid RFC3339 UTC datetime forms in the ModelWithDatetime XML scenario.

@typespec/http-specs@0.1.0-alpha.34

11 Mar 11:57
8b11cfc

Choose a tag to compare

Pre-release

Bug Fixes

  • #9953 Fix response type of putExtensibleStringValue to include explicit content-type header

typespec-stable@1.10.0

10 Mar 19:59
707a748

Choose a tag to compare

@typespec/compiler

Features

  • #9819 Export resolveCodeFix function to allow resolving a CodeFix into CodeFixEdit[] without the LSP layer.
  • #9829 tsp info now accepts an optional <libName> argument to display detailed information about a specific library or emitter, including all available options.
  • #9060 Added support for Functions, a new type graph entity and language feature. Functions enable library authors to provide input-output style transforms that operate on types and values. See the Functions Documentation for more information about the use and implementation of functions.
  • #9762 Added experimental support for internal modifiers on type declarations. Any type except namespace can be declared internal. An internal symbol can only be accessed from within the same package where it was declared.

Bump dependencies

  • #9838 Upgrade dependencies

Bug Fixes

  • #9939 Fix @overload interface validation failing when the enclosing namespace is versioned
  • #9641 Don't report non-literal-string-template diagnostic when interpolating an invalid reference
  • #9803 Support TYPESPEC_NPM_REGISTRY environment variable to configure the npm registry used by tsp init and tsp install when fetching package manifests and downloading packages.
  • #9804 Fix crash when using custom scalar initializer in examples or default values
    [API] Fix crash in serializeValueAsJson when a custom scalar initializer has no recognized constructor (e.g. S.i() with no args). Now returns undefined instead of crashing.
  • #9670 Fixed an issue where referencing a member of a templated alias with defaultable parameters would fail to instantiate the alias, leaking template parameters.

@typespec/http

Bump dependencies

  • #9838 Upgrade dependencies

Bug Fixes

  • #9935 Do not join routes starting with ? or : with /(e.g. @route("?pet=cat) would result in /?pet=cat)
  • #9887 Remove patch-implicit-optional warning.

@typespec/openapi

Features

  • #9577 Add support for OpenAPI 3.2 nested tags via parent field in @tagMetadata decorator

Bump dependencies

  • #9838 Upgrade dependencies

Bug Fixes

  • #9686 [API] Expose setOperationId

@typespec/openapi3

Features

  • #9577 Add support for OpenAPI 3.2 nested tags via parent field in @tagMetadata decorator
  • #9890 file-type can now receive an array to allow emitting both json and yaml output in the same run.
  • #9742 Import tool: Support importing readOnly and writeOnly properties from OpenAPI.
    • readOnly: true is converted to @visibility(Lifecycle.Read)
    • writeOnly: true is converted to @visibility(Lifecycle.Create)
    • Both properties are mutually exclusive, a warning is emitted if both are present and both are ignored

Bump dependencies

  • #9838 Upgrade dependencies

Bug Fixes

  • #9634 importer - Fix OpenAPI3 import to support JSON Schema 2020-12 sibling keywords alongside $ref (default, constraints, deprecated, etc.)
  • #9802 openapi3 - Fix tsp-openapi3 ignoring array constraints (minItems, maxItems) on nullable arrays defined with anyOf + null

@typespec/json-schema

Bump dependencies

  • #9838 Upgrade dependencies

typespec-vscode

Bump dependencies

  • #9838 Upgrade dependencies

@typespec/prettier-plugin-typespec

Bump dependencies

  • #9838 Upgrade dependencies

tmlanguage-generator@0.6.8

10 Mar 19:57
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies

@typespec/xml@0.80.0

10 Mar 19:59
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies

@typespec/versioning@0.80.0

10 Mar 19:59
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies

Bug Fixes

  • #9932 [API] Fix running multiple versioning mutators together

@typespec/tspd@0.74.1

10 Mar 19:59
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies

@typespec/streams@0.80.0

10 Mar 19:59
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies

@typespec/sse@0.80.0

10 Mar 19:59
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies

@typespec/rest@0.80.0

10 Mar 19:58
707a748

Choose a tag to compare

Bump dependencies

  • #9838 Upgrade dependencies