Bump versions for release 0.57 (#3855)
This commit is contained in:
Родитель
90527d9f2d
Коммит
af65ce9220
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Moved compiler dependencies to peer and dev for scaffolded projects.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Allow overriding base operation verb
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix crash of language server on firefox
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Deprecate getAssetEmitter and recommend calling `createAssetEmitter` directly
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/json-schema"
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Fix issue that could result in invalid document generation when running `tsp compile` from another directory
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Fix doc errors for `@errorsDoc` and `@returnsDoc` decorators
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Add support for new `@example` and `@opExample` decorator
|
|
@ -1,43 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Add new `@example` and `@opExample` decorator to provide examples on types and operations.
|
||||
|
||||
```tsp
|
||||
@example(#{
|
||||
id: "some",
|
||||
date: utcDateTime.fromISO("2020-01-01T00:00:00Z"),
|
||||
timeout: duration.fromISO("PT1M"),
|
||||
})
|
||||
model Foo {
|
||||
id: string;
|
||||
date: utcDateTime;
|
||||
|
||||
@encode("seconds", int32) timeout: duration;
|
||||
}
|
||||
```
|
||||
|
||||
```tsp
|
||||
@opExample(
|
||||
#{
|
||||
parameters: #{
|
||||
pet: #{
|
||||
id: "some",
|
||||
name: "Fluffy",
|
||||
dob: plainDate.fromISO("2020-01-01"),
|
||||
},
|
||||
},
|
||||
returnType: #{
|
||||
id: "some",
|
||||
name: "Fluffy",
|
||||
dob: plainDate.fromISO("2020-01-01"),
|
||||
},
|
||||
},
|
||||
#{ title: "First", description: "Show creating a pet" }
|
||||
)
|
||||
op createPet(pet: Pet): Pet;
|
||||
```
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Expose `getHttpPart` and types functions
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix breaking change with `formatIdentifier` renamed to `printIdentifier`
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix semantic highlighting of using of single namespace
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Do not cast model expression to object value if the constraint is allowing the type
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix formatting of object and array literal in decorator to hug parenthesis
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix formatting of scalar constructor called with no args
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix 'typespec vs install' command on windows
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Add error recovery for viewer that crash
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/html-program-viewer"
|
||||
---
|
||||
|
||||
Fix crash in program viewer when trying to display new value type
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/html-program-viewer"
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Enable react hooks linting and fix issues
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix templates initialized on node 22
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Do not carry over `@friendlyName` with `model is` or `op is`
|
||||
|
||||
```tsp
|
||||
@friendlyName("Abc{T}", T)
|
||||
model Foo<T> {}
|
||||
|
||||
model Bar is Foo<string>;
|
||||
|
||||
// This can be changed to
|
||||
model Abcstring is Foo<string>;
|
||||
```
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/http-server-javascript"
|
||||
---
|
||||
|
||||
Added the experimental HTTP server generator for JavaScript.
|
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Keep trailing slash when building http routes, this is breaking if you used to have `@route()` ending with `/`.
|
||||
|
||||
| TypeSpec | Before | After |
|
||||
| ---------------------------------------------------------------- | ----------------- | ------------------ |
|
||||
| `@route("users/")` | `users` | `users/` |
|
||||
| `@route("users")` | `users` | `users` |
|
||||
| on interface `@route("users/")` and on op `@route("addresses/")` | `users/addresses` | `users/addresses/` |
|
||||
| on interface `@route("users/")` and on op `@route("addresses")` | `users/addresses` | `users/addresses` |
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Add new property on the playground to add custom buttons on the toolbar
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Adds option to `tsp init` to generate .gitignore file
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Adds support for converting OpenAPI3 specs to TypeSpec via the new tsp-openapi3 CLI included in the `@typespec/openapi3` package.
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/openapi"
|
||||
---
|
||||
|
||||
Adds public function for setting info object
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Apply openapi3 extension on Security schemes
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Expose `model` property on `HttpAuth` to retrieve original type used to define security scheme
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Updates tsp-openapi3 to always emit main.tsp when formatting encounters an error.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Updates tsp-openapi3 doc line wrapping to only automatically create newlines when they are present in the original documentation.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Updates tsp-openapi3 to escape identifiers that would otherwise be invalid, and automatically resolve namespaces for schemas with dots in their names.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Extract splitpane into separate package
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/html-program-viewer"
|
||||
---
|
||||
|
||||
Complete new dynamic UI to navigate the TypeSpec type graph
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: dependencies
|
||||
packages:
|
||||
- "@typespec/bundler"
|
||||
- "@typespec/compiler"
|
||||
- "@typespec/eslint-plugin"
|
||||
- "@typespec/html-program-viewer"
|
||||
- "@typespec/http"
|
||||
- "@typespec/internal-build-utils"
|
||||
- "@typespec/json-schema"
|
||||
- "@typespec/library-linter"
|
||||
- "@typespec/openapi"
|
||||
- "@typespec/openapi3"
|
||||
- "@typespec/playground"
|
||||
- "@typespec/prettier-plugin-typespec"
|
||||
- "@typespec/protobuf"
|
||||
- "@typespec/rest"
|
||||
- tmlanguage-generator
|
||||
- typespec-vscode
|
||||
- "@typespec/versioning"
|
||||
- "@typespec/xml"
|
||||
---
|
||||
|
||||
Dependency updates July 2024
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/versioning"
|
||||
---
|
||||
|
||||
Updated doc of madeOptional
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Disallows overriding a required inherited property with an optional property.
|
||||
|
||||
In previous versions of TypeSpec, it was possible to override a required property with an optional property. This is no longer allowed. This change may result in errors in your code if you were relying on this bug, but specifications that used this behavior are likely to have been exposed to errors resulting from incoherent type checking behavior.
|
||||
|
||||
The following example demonstrates the behavior that is no longer allowed:
|
||||
|
||||
```tsp
|
||||
model Base {
|
||||
example: string;
|
||||
}
|
||||
|
||||
model Child extends Base {
|
||||
example?: string;
|
||||
}
|
||||
```
|
||||
|
||||
In this example, the `Child` model overrides the `example` property from the `Base` model with an optional property. This is no longer allowed.
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/bundler
|
||||
|
||||
## 0.1.5
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.1.4
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/bundler",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "Package to bundle a TypeSpec library.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,95 @@
|
|||
# Change Log - @typespec/compiler
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3623](https://github.com/microsoft/typespec/pull/3623) Fix crash of language server on firefox
|
||||
- [#3516](https://github.com/microsoft/typespec/pull/3516) Deprecate getAssetEmitter and recommend calling `createAssetEmitter` directly
|
||||
- [#3767](https://github.com/microsoft/typespec/pull/3767) Fix semantic highlighting of using of single namespace
|
||||
- [#3824](https://github.com/microsoft/typespec/pull/3824) Do not cast model expression to object value if the constraint is allowing the type
|
||||
- [#3577](https://github.com/microsoft/typespec/pull/3577) Fix formatting of object and array literal in decorator to hug parenthesis
|
||||
- [#3823](https://github.com/microsoft/typespec/pull/3823) Fix formatting of scalar constructor called with no args
|
||||
- [#3743](https://github.com/microsoft/typespec/pull/3743) Fix 'typespec vs install' command on windows
|
||||
- [#3605](https://github.com/microsoft/typespec/pull/3605) Fix templates initialized on node 22
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
### Features
|
||||
|
||||
- [#3699](https://github.com/microsoft/typespec/pull/3699) Moved compiler dependencies to peer and dev for scaffolded projects.
|
||||
- [#3572](https://github.com/microsoft/typespec/pull/3572) Add new `@example` and `@opExample` decorator to provide examples on types and operations.
|
||||
|
||||
```tsp
|
||||
@example(#{
|
||||
id: "some",
|
||||
date: utcDateTime.fromISO("2020-01-01T00:00:00Z"),
|
||||
timeout: duration.fromISO("PT1M"),
|
||||
})
|
||||
model Foo {
|
||||
id: string;
|
||||
date: utcDateTime;
|
||||
|
||||
@encode("seconds", int32) timeout: duration;
|
||||
}
|
||||
```
|
||||
|
||||
```tsp
|
||||
@opExample(
|
||||
#{
|
||||
parameters: #{
|
||||
pet: #{
|
||||
id: "some",
|
||||
name: "Fluffy",
|
||||
dob: plainDate.fromISO("2020-01-01"),
|
||||
},
|
||||
},
|
||||
returnType: #{
|
||||
id: "some",
|
||||
name: "Fluffy",
|
||||
dob: plainDate.fromISO("2020-01-01"),
|
||||
},
|
||||
},
|
||||
#{ title: "First", description: "Show creating a pet" }
|
||||
)
|
||||
op createPet(pet: Pet): Pet;
|
||||
```
|
||||
- [#3751](https://github.com/microsoft/typespec/pull/3751) Adds option to `tsp init` to generate .gitignore file
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- [#3793](https://github.com/microsoft/typespec/pull/3793) Do not carry over `@friendlyName` with `model is` or `op is`
|
||||
|
||||
```tsp
|
||||
@friendlyName("Abc{T}", T)
|
||||
model Foo<T> {}
|
||||
|
||||
model Bar is Foo<string>;
|
||||
|
||||
// This can be changed to
|
||||
model Abcstring is Foo<string>;
|
||||
```
|
||||
- [#3659](https://github.com/microsoft/typespec/pull/3659) Disallows overriding a required inherited property with an optional property.
|
||||
|
||||
In previous versions of TypeSpec, it was possible to override a required property with an optional property. This is no longer allowed. This change may result in errors in your code if you were relying on this bug, but specifications that used this behavior are likely to have been exposed to errors resulting from incoherent type checking behavior.
|
||||
|
||||
The following example demonstrates the behavior that is no longer allowed:
|
||||
|
||||
```tsp
|
||||
model Base {
|
||||
example: string;
|
||||
}
|
||||
|
||||
model Child extends Base {
|
||||
example?: string;
|
||||
}
|
||||
```
|
||||
|
||||
In this example, the `Child` model overrides the `example` property from the `Base` model with an optional property. This is no longer allowed.
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/compiler",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"description": "TypeSpec Compiler Preview",
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"title": "Empty project",
|
||||
"description": "Create an empty project.",
|
||||
"libraries": [],
|
||||
"compilerVersion": "0.57.0"
|
||||
"compilerVersion": "0.58.0"
|
||||
},
|
||||
"rest": {
|
||||
"title": "Generic REST API",
|
||||
"description": "Create a project representing a generic REST API",
|
||||
"compilerVersion": "0.57.0",
|
||||
"compilerVersion": "0.58.0",
|
||||
"libraries": [
|
||||
"@typespec/http",
|
||||
"@typespec/rest",
|
||||
|
@ -23,7 +23,7 @@
|
|||
"library-ts": {
|
||||
"title": "TypeSpec Library (With TypeScript)",
|
||||
"description": "Create a new package to add decorators or linters to typespec.",
|
||||
"compilerVersion": "0.57.0",
|
||||
"compilerVersion": "0.58.0",
|
||||
"libraries": [],
|
||||
"files": [
|
||||
{
|
||||
|
@ -99,7 +99,7 @@
|
|||
"emitter-ts": {
|
||||
"title": "TypeSpec Emitter (With TypeScript)",
|
||||
"description": "Create a new package that will be emitting typespec",
|
||||
"compilerVersion": "0.57.0",
|
||||
"compilerVersion": "0.58.0",
|
||||
"libraries": [],
|
||||
"files": [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/eslint-plugin
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/eslint-plugin",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "Eslint plugin providing set of rules to be used in the JS/TS code of TypeSpec libraries",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,20 @@
|
|||
# Change Log - @typespec/html-program-viewer
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3585](https://github.com/microsoft/typespec/pull/3585) Fix crash in program viewer when trying to display new value type
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
### Features
|
||||
|
||||
- [#3713](https://github.com/microsoft/typespec/pull/3713) Complete new dynamic UI to navigate the TypeSpec type graph
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/html-program-viewer",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for emitting an html view of the program.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Changelog - @typespec/http-server-javascript
|
||||
|
||||
|
||||
|
||||
## 0.58.0
|
||||
|
||||
No changes, version bump only.
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/http-server-javascript",
|
||||
"version": "0.58.0-alpha.1",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec HTTP server code generator for JavaScript",
|
||||
"homepage": "https://github.com/microsoft/typespec",
|
||||
|
|
|
@ -1,5 +1,29 @@
|
|||
# Change Log - @typespec/http
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
### Features
|
||||
|
||||
- [#3717](https://github.com/microsoft/typespec/pull/3717) Allow overriding base operation verb
|
||||
- [#3676](https://github.com/microsoft/typespec/pull/3676) Expose `getHttpPart` and types functions
|
||||
- [#3732](https://github.com/microsoft/typespec/pull/3732) Expose `model` property on `HttpAuth` to retrieve original type used to define security scheme
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- [#3737](https://github.com/microsoft/typespec/pull/3737) Keep trailing slash when building http routes, this is breaking if you used to have `@route()` ending with `/`.
|
||||
|
||||
| TypeSpec | Before | After |
|
||||
| ---------------------------------------------------------------- | ----------------- | ------------------ |
|
||||
| `@route("users/")` | `users` | `users/` |
|
||||
| `@route("users")` | `users` | `users` |
|
||||
| on interface `@route("users/")` and on op `@route("addresses/")` | `users/addresses` | `users/addresses/` |
|
||||
| on interface `@route("users/")` and on op `@route("addresses")` | `users/addresses` | `users/addresses` |
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/http",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec HTTP protocol binding",
|
||||
"homepage": "https://github.com/microsoft/typespec",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/internal-build-utils
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/internal-build-utils",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "Internal library to TypeSpec providing helpers to build.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
# Change Log - @typespec/json-schema
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3516](https://github.com/microsoft/typespec/pull/3516) Fix issue that could result in invalid document generation when running `tsp compile` from another directory
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/json-schema",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for emitting TypeSpec to JSON Schema and converting JSON Schema to TypeSpec",
|
||||
"homepage": "https://github.com/microsoft/typespec",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/library-linter
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/library-linter",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for linting another library.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
# Change Log - @typespec/openapi
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
### Features
|
||||
|
||||
- [#3626](https://github.com/microsoft/typespec/pull/3626) Adds public function for setting info object
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/openapi",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library providing OpenAPI concepts",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,25 @@
|
|||
# Change Log - @typespec/openapi3
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3516](https://github.com/microsoft/typespec/pull/3516) Fix issue that could result in invalid document generation when running `tsp compile` from another directory
|
||||
- [#3794](https://github.com/microsoft/typespec/pull/3794) Updates tsp-openapi3 to always emit main.tsp when formatting encounters an error.
|
||||
- [#3839](https://github.com/microsoft/typespec/pull/3839) Updates tsp-openapi3 doc line wrapping to only automatically create newlines when they are present in the original documentation.
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
### Features
|
||||
|
||||
- [#3572](https://github.com/microsoft/typespec/pull/3572) Add support for new `@example` and `@opExample` decorator
|
||||
- [#3663](https://github.com/microsoft/typespec/pull/3663) Adds support for converting OpenAPI3 specs to TypeSpec via the new tsp-openapi3 CLI included in the `@typespec/openapi3` package.
|
||||
- [#3732](https://github.com/microsoft/typespec/pull/3732) Apply openapi3 extension on Security schemes
|
||||
- [#3844](https://github.com/microsoft/typespec/pull/3844) Updates tsp-openapi3 to escape identifiers that would otherwise be invalid, and automatically resolve namespaces for schemas with dots in their names.
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/openapi3",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding and converting OpenAPI3 to TypeSpec",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,18 @@
|
|||
# Change Log - @typespec/playground
|
||||
|
||||
## 0.4.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
### Features
|
||||
|
||||
- [#3585](https://github.com/microsoft/typespec/pull/3585) Add error recovery for viewer that crash
|
||||
- [#3750](https://github.com/microsoft/typespec/pull/3750) Add new property on the playground to add custom buttons on the toolbar
|
||||
- [#3713](https://github.com/microsoft/typespec/pull/3713) Extract splitpane into separate package
|
||||
|
||||
|
||||
## 0.3.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/playground",
|
||||
"version": "0.3.0",
|
||||
"version": "0.4.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec playground UI components.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/prettier-plugin-typespec
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/prettier-plugin-typespec",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/protobuf
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/protobuf",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library and emitter for Protobuf (gRPC)",
|
||||
"homepage": "https://github.com/microsoft/typespec",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/rest
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/rest",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec REST protocol binding",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - tmlanguage-generator
|
||||
|
||||
## 0.5.7
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.5.6
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tmlanguage-generator",
|
||||
"version": "0.5.6",
|
||||
"version": "0.5.7",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "Helper library to generate TextMate syntax highlighting tmLanguage files.",
|
||||
"homepage": "https://github.com/microsoft/typespec/tree/main/packages/tmlanguage-generator",
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log - typespec-vs
|
||||
|
||||
## 0.58.0
|
||||
|
||||
No changes, version bump only.
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Features
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "typespec-vs",
|
||||
"author": "Microsoft Corporation",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"description": "TypeSpec Language Support for Visual Studio",
|
||||
"homepage": "https://typespec.io",
|
||||
"readme": "https://github.com/microsoft/typespec/blob/main/README.md",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - typespec-vscode
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "typespec-vscode",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec language support for VS Code",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/versioning
|
||||
|
||||
## 0.58.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3718](https://github.com/microsoft/typespec/pull/3718) Dependency updates July 2024
|
||||
|
||||
|
||||
## 0.57.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/versioning",
|
||||
"version": "0.57.0",
|
||||
"version": "0.58.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for declaring and emitting versioned APIs",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[
|
||||
"0.58.x",
|
||||
"0.57.x",
|
||||
"0.56.x",
|
||||
"0.55.x",
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -13,7 +13,7 @@ function $baseUri(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Namespace` |
|
||||
| `baseUri` | `string` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $contains(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `value` | `Type` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $contentEncoding(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `ModelProperty` \| `Scalar` |
|
||||
| `value` | `string` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $contentMediaType(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `ModelProperty` \| `Scalar` |
|
||||
| `value` | `string` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $contentSchema(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `ModelProperty` \| `Scalar` |
|
||||
| `value` | `Type` |
|
||||
|
|
|
@ -14,7 +14,7 @@ function $extension(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `key` | `string` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $id(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `id` | `string` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $jsonSchema(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `baseUri`? | `string` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $maxContains(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `value` | `number` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $maxProperties(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `value` | `number` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $minContains(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `value` | `number` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $minProperties(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `value` | `number` |
|
||||
|
|
|
@ -13,7 +13,7 @@ function $multipleOf(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `ModelProperty` \| `Scalar` |
|
||||
| `value` | `Numeric` |
|
||||
|
|
|
@ -10,7 +10,7 @@ function $onEmit(context): Promise<void>
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `EmitContext`<[`JSONSchemaEmitterOptions`](../interfaces/JSONSchemaEmitterOptions.md)\> |
|
||||
|
||||
## Returns
|
||||
|
|
|
@ -10,7 +10,7 @@ function $oneOf(context, target): void
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `ModelProperty` \| `Union` |
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ function $prefixItems(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
| `value` | `Type` |
|
||||
|
|
|
@ -10,7 +10,7 @@ function $uniqueItems(context, target): void
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Type` |
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ function $validatesRawJson(
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `context` | `DecoratorContext` |
|
||||
| `target` | `Model` |
|
||||
| `value` | `Type` |
|
||||
|
|
|
@ -10,7 +10,7 @@ function findBaseUri(program, target): string | undefined
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `program` | `Program` |
|
||||
| `target` | `Namespace` \| [`JsonSchemaDeclaration`](../type-aliases/JsonSchemaDeclaration.md) |
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ function getBaseUri(program, target): any
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `program` | `Program` |
|
||||
| `target` | `Type` |
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ function getContains(program, target): any
|
|||
## Parameters
|
||||
|
||||
| Parameter | Type |
|
||||
| :------ | :------ |
|
||||
| ------ | ------ |
|
||||
| `program` | `Program` |
|
||||
| `target` | `Type` |
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче