Releases: microsoft/typespec
Releases · microsoft/typespec
@typespec/http-specs@0.1.0-alpha.35
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.000Zand2022-08-26T18:38:00Zas valid RFC3339 UTC datetime forms in theModelWithDatetimeXML scenario.
@typespec/http-specs@0.1.0-alpha.34
Bug Fixes
- #9953 Fix response type of putExtensibleStringValue to include explicit content-type header
typespec-stable@1.10.0
@typespec/compiler
Features
- #9819 Export
resolveCodeFixfunction to allow resolving aCodeFixintoCodeFixEdit[]without the LSP layer. - #9829
tsp infonow 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
internalmodifiers on type declarations. Any type exceptnamespacecan be declaredinternal. Aninternalsymbol can only be accessed from within the same package where it was declared.
Bump dependencies
- #9838 Upgrade dependencies
Bug Fixes
- #9939 Fix
@overloadinterface validation failing when the enclosing namespace is versioned - #9641 Don't report
non-literal-string-templatediagnostic when interpolating an invalid reference - #9803 Support
TYPESPEC_NPM_REGISTRYenvironment variable to configure the npm registry used bytsp initandtsp installwhen fetching package manifests and downloading packages. - #9804 Fix crash when using custom scalar initializer in examples or default values
[API] Fix crash inserializeValueAsJsonwhen a custom scalar initializer has no recognized constructor (e.g.S.i()with no args). Now returnsundefinedinstead 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-optionalwarning.
@typespec/openapi
Features
- #9577 Add support for OpenAPI 3.2 nested tags via
parentfield in@tagMetadatadecorator
Bump dependencies
- #9838 Upgrade dependencies
Bug Fixes
- #9686 [API] Expose
setOperationId
@typespec/openapi3
Features
- #9577 Add support for OpenAPI 3.2 nested tags via
parentfield in@tagMetadatadecorator - #9890
file-typecan now receive an array to allow emitting bothjsonandyamloutput in the same run. - #9742 Import tool: Support importing
readOnlyandwriteOnlyproperties from OpenAPI.readOnly: trueis converted to@visibility(Lifecycle.Read)writeOnly: trueis 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-openapi3ignoring array constraints (minItems,maxItems) on nullable arrays defined withanyOf+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
Bump dependencies
- #9838 Upgrade dependencies
@typespec/xml@0.80.0
Bump dependencies
- #9838 Upgrade dependencies
@typespec/versioning@0.80.0
@typespec/tspd@0.74.1
Bump dependencies
- #9838 Upgrade dependencies
@typespec/streams@0.80.0
Bump dependencies
- #9838 Upgrade dependencies
@typespec/sse@0.80.0
Bump dependencies
- #9838 Upgrade dependencies
@typespec/rest@0.80.0
Bump dependencies
- #9838 Upgrade dependencies