Releases: microsoft/typespec
[email protected]
@typespec/compiler
Bug Fixes
- #5295 Fix incorrectly returning a positive
BigInt
for a negativeNumeric
. - #5353 Meta property are auto-completed, current only supported '::type', '::parameters', '::returnType'
- #5180 Fixed serialization of object examples on unions
- #5525 Enum-driven visibility decorators and projections now interact correctly.
Projections now project EnumValue values to preserve consistency with projected Enum/EnumMember types using a best-effort
strategy.
Features
- #5415 Added support for emitter selections for init template.
- #5316 Compiler trace will be sent to IDE as trace log through language server
- #5594 Support Emitters section in Init Template when creating TypeSpec project in vscode
- #5294 Add capacities in TypeSpec Language Server to support "Scaffolding new TypeSpec project" in IDE
@typespec/http
Features
- #5153 Adds getStreamMetadata JS API to simplify getting stream metadata from operation parameters and responses.
@typespec/versioning
No changes, version bump only.
@typespec/rest
Bug Fixes
- #5455 In some scenarios, the options for the
@path
decorator do not accurately reflect the provided parameters, including the#{allowReserved: true}
which is thex-ms-skip-url-encoding
option. This change addresses and fixes this issue.
@typespec/openapi
No changes, version bump only.
@typespec/openapi3
Bug Fixes
- 234eaeb Allow void to be the response body type when other fields are present in the model. Previously, using
void
as a response body type would fail compilation if the model contained other fields (likestatusCode
). - #5456 Fix: OpenAPI YAML converts strings to boolean
Features
- #5372 Adds support for @typespec/json-schema decorators with Open API 3.0 and 3.1 emitters.
- #5372 Adds support for emitting Open API 3.1 models using the
openapi-versions
emitter configuration option.
Open API 3.0 is emitted by default.
@typespec/protobuf
No changes, version bump only.
@typespec/prettier-plugin-typespec
No changes, version bump only.
@typespec/eslint-plugin
No changes, version bump only.
@typespec/html-program-viewer
No changes, version bump only.
@typespec/json-schema
No changes, version bump only.
@typespec/internal-build-utils
Bug Fixes
- #5312 resolve the program crash when there is no package name in package.json
typespec-vs
No changes, version bump only.
typespec-vscode
Bug Fixes
- #5413 Do not start TypeSpec Language Server when there is no workspace opened
- #5131 Support 'See Document' quick action to view the details of linter rules
- #5428 improve console output when tsp-server not found
Features
- #5312 integrate client SDK generation
- #5314 Rename vscode extension from "TypeSpec for VS Code" to "TypeSpec"
- #5594 Support Emitters section in Init Template when creating TypeSpec project in vscode
- #5294 Support "Create TypeSpec Project" in vscode command and EXPLORER when no folder opened
Add Setting "typespec.initTemplatesUrls" where user can configure additional template to use to create TypeSpec project
example:
{
"typespec.initTemplatesUrls": [
{
"name": "displayName",
"url": "https://urlToTheFileContainsTemplates"
}],
}
Support "Install TypeSpec Compiler/CLI globally" in vscode command to install TypeSpec compiler globally easily
@typespec/library-linter
No changes, version bump only.
@typespec/events
No changes, version bump only.
@typespec/sse
No changes, version bump only.
@typespec/streams
No changes, version bump only.
@typespec/xml
No changes, version bump only.
@typespec/[email protected]
Features
- #5372 Add support for displaying array-based emitter options
@typespec/[email protected]
No changes, version bump only.
@typespec/[email protected]
No changes, version bump only.
@typespec/[email protected]
No changes, version bump only.
@typespec/[email protected]
@typespec/[email protected]
Features
- #5514 - Implemented new-style multipart request handling.
- Fixed JSON serialization/deserialization in some cases where models that required serialization occurred within arrays.
@typespec/[email protected]
@typespec/[email protected]
Bug Fixes
- #5535 In some scenarios, the options for the
@path
decorator do not accurately reflect the provided parameters, including the#{allowReserved: true}
which is thex-ms-skip-url-encoding
option. This change addresses and fixes this issue.
[email protected]
@typespec/compiler
Bug Fixes
Features
- #4937 Add mutateSubgraphWithNamespace as a separate API
- #4837 Allow trailing delimiter in array values, tuple, decorator declaration, scalar initializer, etc.
- #5149 Experimental: Improve Realm, Mutator, and Typekit implementations.
This change strongly binds a Realm and Typekit together, and changes mutators so that new types are cloned within the
mutator's realm. The default Typekit now creates a default typekit realm for the current program, and a Typekit can be
easily created to work in a specific Program or Realm as needed.
- #4825 Adds support for enum-driven visibility in the compiler core.
@typespec/http
Bug Fixes
- #5016 Uri template attributes were not extracted when parameter was explicitly mark with
@path
or@query
as well
@typespec/versioning
Bug Fixes
- #5262 Fixes diagnostics for @typeChangedFrom to properly detect when an incompatible version is referenced inside of a template, union, or tuple.
@typespec/rest
No changes, version bump only.
@typespec/openapi
No changes, version bump only.
@typespec/openapi3
Bug Fixes
Features
- #5029 Add support for
#deprecated
for OpenAPI3Parameter
@typespec/protobuf
No changes, version bump only.
@typespec/prettier-plugin-typespec
No changes, version bump only.
@typespec/eslint-plugin
No changes, version bump only.
@typespec/html-program-viewer
No changes, version bump only.
@typespec/json-schema
Bug Fixes
- #5189 Fixes crash that occurred when a template instantiation's template argument was a union that references a declaration.
@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/events
No changes, version bump only.
@typespec/sse
No changes, version bump only.
@typespec/streams
No changes, version bump only.
@typespec/xml
No changes, version bump only.