Releases: microsoft/typespec
Releases · microsoft/typespec
typespec-stable@1.9.0
@typespec/compiler
Deprecations
- #9336 Deprecate
programparameter inisArrayModelTypeandisRecordModelTypefunctions. Use the new single-argument overload instead:isArrayModelType(type)andisRecordModelType(type).
Features
- #9078 Remove type constraints from
@continuationTokendecorator - #9512 [API] Add performance reporting utilities for emitters See docs for more info
- #9475 [API]
serializeValueAsJsonthrows aUnsupportedScalarConstructorErrorfor unsupported scalar constructor instead of crashing
Bump dependencies
- #9446 Upgrade dependencies
Bug Fixes
- #9320 Fix
--list-filesnot working when multiple instance of compiler are loaded - #9607 Fix stack overflow for specs with large number of circular references
- #9342 Ensuring ignore-deprecated gets resolved.
- #9588 Fixed several checking errors around template instantiations that could cause TemplateParameter instances to leak into decorator calls.
@typespec/http
Version Bump only.
@typespec/openapi
No changes, version bump only.
@typespec/openapi3
Features
- #9629 importer - Add support for importing the
@continuationTokendecorator based on x-ms-list-continuation-token extension - #9627 importer - Add support for importing paging link decorators (
@prevLink,@nextLink,@firstLink,@lastLink) based on x-ms-list-*-link OpenAPI extensions - #9609 importer - Add support for x-ms-list extension to add
@listdecorator to operations - #9613 importer - Add support for
@offsetdecorator when x-ms-list-offset extension is present - #9618 importer - Add support for
@pageSizedecorator based on x-ms-list-page-size extension - #9615 importer - Add support for x-ms-list-page-items extension to
@pageItemsdecorator - #9611 importer - Add support for x-ms-list-page-index extension to add
@pageIndexdecorator - #9512 Expose performance information when running with
--stats - #9412 importer - OpenAPI number type with duration format now converts to TypeSpec duration type with @encode("seconds", float32) decorator
- #9584 Expose
openapi-versionsemitter option now that both 3.1.0 and 3.2.0 are implemented.
Bump dependencies
- #9446 Upgrade dependencies
Bug Fixes
- #9410 importer - null reference exception if member schema cannot be resolved
- #9533 Fix parameters with default value resulting in
$refwithdefaultas sibling for OpenAPI 3.0 - #9583 Fix: tag metadata not scopped to the service it was defined on
- #9475 Handle use of
.now()constructor on date time types in examples and default.
@typespec/json-schema
Bug Fixes
- #9580 Fix crash on usage of templates that cannot be named
typespec-vscode
Bump dependencies
- #9446 Upgrade dependencies
@typespec/prettier-plugin-typespec
Bump dependencies
- #9446 Upgrade dependencies
@typespec/xml@0.79.0
No changes, version bump only.
@typespec/versioning@0.79.0
Bug Fixes
- #9444 Fix incorrect incompatible versioning error in model expressions
@typespec/tspd@0.74.0
Bump dependencies
- #9446 Upgrade dependencies
@typespec/streams@0.79.0
No changes, version bump only.
@typespec/sse@0.79.0
No changes, version bump only.
@typespec/rest@0.79.0
Bug Fixes
- #8609 Fix
@actionSeparatordecorator to only accept Operation, Interface, and Namespace targets
@typespec/protobuf@0.79.0
No changes, version bump only.
@typespec/playground@0.12.0
@typespec/mutator-framework@0.16.0
Bump dependencies
- #9446 Upgrade dependencies