Skip to content

Releases: microsoft/typespec

@typespec/[email protected]

09 Oct 22:19
29c0082
Compare
Choose a tag to compare

Bump dependencies

  • #4424 Bump dependencies

@typespec/[email protected]

09 Oct 22:19
29c0082
Compare
Choose a tag to compare
Pre-release

Bump dependencies

  • #4424 Bump dependencies

@typespec/[email protected]

09 Oct 22:19
29c0082
Compare
Choose a tag to compare
Pre-release

Bump dependencies

  • #4424 Bump dependencies

@typespec/[email protected]

08 Oct 00:12
f69f8fa
Compare
Choose a tag to compare
Add support for defining streams (#4513)

Related: https://github.com/microsoft/typespec/issues/154

---------

Co-authored-by: Christopher Radek <[email protected]>

@typespec/[email protected]

08 Oct 00:12
f69f8fa
Compare
Choose a tag to compare
Add support for defining streams (#4513)

Related: https://github.com/microsoft/typespec/issues/154

---------

Co-authored-by: Christopher Radek <[email protected]>

@typespec/[email protected]

08 Oct 00:12
f69f8fa
Compare
Choose a tag to compare
Add support for defining streams (#4513)

Related: https://github.com/microsoft/typespec/issues/154

---------

Co-authored-by: Christopher Radek <[email protected]>

@typespec/[email protected]

12 Sep 22:17
4a8556c
Compare
Choose a tag to compare

Bug Fixes

  • #4420 Fix: Numeric values defined with e-notation incorrectly resolved

@typespec/[email protected]

12 Sep 00:25
e62e58a
Compare
Choose a tag to compare

Bug Fixes

  • #4408 Fixes versioning when using versioned named union variants

[email protected]

10 Sep 23:40
0be9e8f
Compare
Choose a tag to compare

@typespec/compiler

Bug Fixes

  • #4381 Fix Semantic walker doesn't fire exitOperation or exitModelProperty
  • #4146 Fix model expression defined in alias will resolve its namespace from the namespace where the alias was declared
  • #4147 Fix examples with models using extends
  • #4144 Fix: Model and union expression in template were not considered as template instances
  • #4135 Fix numeric 0 stringify producing 0.0
  • #4064 IDE: Formatting command will use prettier config if provided over the editor's configuration.
  • #4089 Fix tmlanguage for named type argument in type reference.
  • #4324 API: Extract source resolution logic into its own source loader

Features

  • #4139 Add new way to define decorator implementation with $decorators export.
export const $decorators = {
  "TypeSpec.OpenAPI": {
    useRef: $useRef,
    oneOf: $oneOf,
  },
};
  • #4148 Diagnostics logged to the terminal now have a clickable hyperlink to the diagnostic documentation url if applicable.
  • #4141 Diagnostic code in IDE now link to the linter rule documentation url if applicable
  • #4357 Improvements to type relation errors: Show stack when it happens in a nested property otherwise show up in the correct location.

@typespec/http

Bug Fixes

  • #4322 Use user provided description of model if model has a status code property(detect it as an response envelope)

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/versioning

Bug Fixes

  • #4145 Fix error when trying to reference types from another sub namespace of a versioned namespace
  • #4179 Add validation to make sure operation params reference models available in the current version
  • #4179 Add validation to make sure types referencing array in union types have compatible versioning.

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/rest

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/openapi

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/openapi3

Bug Fixes

  • #4133 Fix Bug for OpenAPI 3 Emitter crash on @useAuth({})
  • #4123 Fix OpenAPI3 union names when declared within a namespace
  • #4216 Fixes issue in tsp-openapi3 that resulted in component schemas and parameters with the same name being merged into a single TypeSpec data type.
  • #4232 Improves tsp-openapi3 model generation from schemas utilizing allOf. Models will now extend an allOf member if it is a schema reference and the only member with a discriminator. Other members will be spread into the model if defined as a schema reference, or have their properties treated as top-level properties if they are an inline-schema.
  • #4149 Updates tsp-openapi3 conversion of OpenAPI3 component schemas to improve handling of enums, unions, scalars, and aliases.

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/protobuf

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/prettier-plugin-typespec

No changes, version bump only.

@typespec/eslint-plugin

No changes, version bump only.

@typespec/html-program-viewer

Bug Fixes

  • #4353 Fix crash when using anonymous union variant
  • #4136 Fix namespace with the same name conflicting in the tree navigation

@typespec/json-schema

Bug Fixes

  • #4150 Stop json schema from crashing on unknown scalar and handle unixTimestamp32

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation

@typespec/internal-build-utils

No changes, version bump only.

typespec-vs

No changes, version bump only.

typespec-vscode

No changes, version bump only.

@typespec/library-linter

No changes, version bump only.

@typespec/[email protected]

10 Sep 23:40
0be9e8f
Compare
Choose a tag to compare

Features

  • #4139 Internals: Migrate to new api for declaring decorator implementation