Skip to content

1.9.0

  • #9336 Deprecate program parameter in isArrayModelType and isRecordModelType functions. Use the new single-argument overload instead: isArrayModelType(type) and isRecordModelType(type).
  • #9078 Remove type constraints from @continuationToken decorator
  • #9512 [API] Add performance reporting utilities for emitters See docs for more info
  • #9475 [API] serializeValueAsJson throws a UnsupportedScalarConstructorError for unsupported scalar constructor instead of crashing
  • #9629 importer - Add support for importing the @continuationToken decorator 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 @list decorator to operations
  • #9613 importer - Add support for @offset decorator when x-ms-list-offset extension is present
  • #9618 importer - Add support for @pageSize decorator based on x-ms-list-page-size extension
  • #9615 importer - Add support for x-ms-list-page-items extension to @pageItems decorator
  • #9611 importer - Add support for x-ms-list-page-index extension to add @pageIndex decorator
  • #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-versions emitter option now that both 3.1.0 and 3.2.0 are implemented.
  • #9320 Fix --list-files not 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.
  • #9410 importer - null reference exception if member schema cannot be resolved
  • #9533 Fix parameters with default value resulting in $ref with default as 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.
  • #9580 Fix crash on usage of templates that cannot be named
  • #9444 Fix incorrect incompatible versioning error in model expressions
  • #8609 Fix @actionSeparator decorator to only accept Operation, Interface, and Namespace targets