Bump versions for 0.56.0 release (#3298)
This commit is contained in:
Родитель
eb8e34a5a9
Коммит
dec504364c
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
`--nostdlib` flag will now work by only applying to optional standard library types
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Add support for new intrinsic vs std lib split in the compiler.
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Empty model after removing metadata and applying visibility always results in "void"
|
||||
This means the following case have changed from returning `{}` to no body
|
||||
|
||||
```tsp
|
||||
op b1(): {};
|
||||
op b2(): {@visibility("none") prop: string};
|
||||
op b3(): {@added(Versions.v2) prop: string};
|
||||
```
|
||||
|
||||
Workaround: Use explicit `@body`
|
||||
|
||||
```tsp
|
||||
op b1(): {@body _: {}};
|
||||
op b2(): {@body _: {@visibility("none") prop: string}};
|
||||
op b3(): {@body _: {@added(Versions.v2) prop: string}};
|
||||
```
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Implicit status code always 200 except if response is explicitly `void`
|
||||
|
||||
```tsp
|
||||
op c1(): {@header foo: string}; // status code 200 (used to be 204)
|
||||
```
|
||||
|
||||
Solution: Add explicit `@statusCode`
|
||||
```tsp
|
||||
op c1(): {@header foo: string, @statusCode _: 204};
|
||||
op c1(): {@header foo: string, ...NoContent}; // or spread common model
|
||||
```
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
`@body` means this is the body
|
||||
|
||||
This change makes using `@body` mean this is the exact body and everything underneath will be included, including metadata properties. If metadata properties are present on the body, a warning will be logged.
|
||||
|
||||
```tsp
|
||||
op a1(): {@body _: {@header foo: string, other: string} };
|
||||
^ warning header in a body, it will not be included as a header.
|
||||
```
|
||||
|
||||
Use `@bodyRoot` if you want to only change where to resolve the body from.
|
||||
|
||||
```tsp
|
||||
op a1(): {@bodyRoot _: {@header foo: string, other: string} };
|
||||
```
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
- "@typespec/rest"
|
||||
---
|
||||
|
||||
Add support for new `@bodyRoot` and `@body` distinction
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: breaking
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Properties are not automatically omitted if everything was removed from metadata or visibility
|
||||
|
||||
```tsp
|
||||
op d1(): {headers: {@header foo: string}}; // body will be {headers: {}}
|
||||
```
|
||||
|
||||
Solution: use `@bodyIgnore`
|
||||
|
||||
```tsp
|
||||
op d1(): {@bodyIgnore headers: {@header foo: string}}; // body will be {headers: {}}
|
||||
```
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/json-schema"
|
||||
- "@typespec/openapi3"
|
||||
- "@typespec/protobuf"
|
||||
---
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
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-vs"
|
||||
---
|
||||
|
||||
Migrate to eslint flat config
|
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
- "@typespec/http"
|
||||
- "@typespec/json-schema"
|
||||
- "@typespec/openapi"
|
||||
- "@typespec/openapi3"
|
||||
- "@typespec/protobuf"
|
||||
- "@typespec/rest"
|
||||
- "@typespec/versioning"
|
||||
- "@typespec/xml"
|
||||
---
|
||||
|
||||
Include `type` in generated extern dec
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Add new `Numeric` data structure
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/xml"
|
||||
---
|
||||
|
||||
Initial release of xml library
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
`getEncode` returns the fully qualified enum member name if using a custom enum.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix: augmenting template model property could result in sending invalid argument to decorator
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix: Do not crash when trying to access member of aliased expressions
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Show template parameters when hovering on an operation template
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix tsp init hanging when done due to unclosed connection
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
IDE: Fix completion of statement keywords
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Fix completion of keywords
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Templated interface extending another templated interface shouldn't run decorator on their operations
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix compare of negative numbers in `Numeric` type
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Model with an optional property should not satisfy a constraint with that property required. (`{foo?: string}` cannot be assigned to a constraint of `{foo: string}`)
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix parser test running 1-4 times
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Fix password flow defining `authorizationUrl` instead of `tokenUrl`
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Fix `@path` param mapping when spreading a record in operation parameters
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix: Model with spread indexer shouldn't validate explicit properties
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Stop running decorators on partially instantiated operations(When interface is instantiated but not the operation)
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/openapi3"
|
||||
---
|
||||
|
||||
Fix: `@path` property should be included in unreachable models
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/http"
|
||||
---
|
||||
|
||||
Fix: `@path` property shouldn't be applicableMetadata if the visibility contains `Read`
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/versioning"
|
||||
---
|
||||
|
||||
Fix crash when `@service` appears inside a versioned namespace
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix issue where directives were not parsed to the leaf node in multi-segment Namespace segments.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix calling `tsp install` on windows due to recent NodeJS breaking change to fix vulnerability.
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
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"
|
||||
- "@typespec/versioning"
|
||||
---
|
||||
|
||||
Ci improvements
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Fix compiler crash when using an invalid `is` target in an interface operation template
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/playground"
|
||||
---
|
||||
|
||||
Pass compiler options for samples
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
[API] Add new `sourceModels` property to model
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: feature
|
||||
packages:
|
||||
- "@typespec/html-program-viewer"
|
||||
---
|
||||
|
||||
Add `sourceModels` property to model view
|
|
@ -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"
|
||||
---
|
||||
|
||||
Update dependencies
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: fix
|
||||
packages:
|
||||
- "@typespec/compiler"
|
||||
---
|
||||
|
||||
Internals: Use node built-in `fetch` API that is now stable since node `18.13.0`
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
|
||||
changeKind: internal
|
||||
packages:
|
||||
- "@typespec/xml"
|
||||
---
|
||||
|
||||
Fix xml version
|
|
@ -15,6 +15,7 @@ jobs:
|
|||
check-changes:
|
||||
name: Check Changes
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -31,7 +32,10 @@ jobs:
|
|||
|
||||
- run: npx chronus verify
|
||||
name: Check changelog
|
||||
if: ${{ !startsWith(github.head_ref, 'publish/') && !startsWith(github.head_ref, 'dependabot/') && !startsWith(github.head_ref, 'backmerge/') }}
|
||||
if: |
|
||||
!startsWith(github.head_ref, 'publish/') &&
|
||||
!startsWith(github.head_ref, 'dependabot/') &&
|
||||
!startsWith(github.head_ref, 'backmerge/')
|
||||
|
||||
# Validate spell check
|
||||
spellcheck:
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/bundler
|
||||
|
||||
## 0.1.3
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.1.2
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/bundler",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "Package to bundle a TypeSpec library.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,34 @@
|
|||
# Change Log - @typespec/compiler
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3170](https://github.com/microsoft/typespec/pull/3170) `--nostdlib` flag will now work by only applying to optional standard library types
|
||||
- [#3212](https://github.com/microsoft/typespec/pull/3212) Fix: augmenting template model property could result in sending invalid argument to decorator
|
||||
- [#3188](https://github.com/microsoft/typespec/pull/3188) Fix: Do not crash when trying to access member of aliased expressions
|
||||
- [#3185](https://github.com/microsoft/typespec/pull/3185) Fix tsp init hanging when done due to unclosed connection
|
||||
- [#3151](https://github.com/microsoft/typespec/pull/3151) IDE: Fix completion of statement keywords
|
||||
- [#3287](https://github.com/microsoft/typespec/pull/3287) Templated interface extending another templated interface shouldn't run decorator on their operations
|
||||
- [#3290](https://github.com/microsoft/typespec/pull/3290) Model with an optional property should not satisfy a constraint with that property required. (`{foo?: string}` cannot be assigned to a constraint of `{foo: string}`)
|
||||
- [#3163](https://github.com/microsoft/typespec/pull/3163) Fix: Model with spread indexer shouldn't validate explicit properties
|
||||
- [#3227](https://github.com/microsoft/typespec/pull/3227) Stop running decorators on partially instantiated operations(When interface is instantiated but not the operation)
|
||||
- [#3180](https://github.com/microsoft/typespec/pull/3180) Fix issue where directives were not parsed to the leaf node in multi-segment Namespace segments.
|
||||
- [#3243](https://github.com/microsoft/typespec/pull/3243) Fix calling `tsp install` on windows due to recent NodeJS breaking change to fix vulnerability.
|
||||
- [#3216](https://github.com/microsoft/typespec/pull/3216) Fix compiler crash when using an invalid `is` target in an interface operation template
|
||||
- [#3246](https://github.com/microsoft/typespec/pull/3246) Internals: Use node built-in `fetch` API that is now stable since node `18.13.0`
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
### Features
|
||||
|
||||
- [#3035](https://github.com/microsoft/typespec/pull/3035) `getEncode` returns the fully qualified enum member name if using a custom enum.
|
||||
- [#3183](https://github.com/microsoft/typespec/pull/3183) Show template parameters when hovering on an operation template
|
||||
- [#3191](https://github.com/microsoft/typespec/pull/3191) [API] Add new `sourceModels` property to model
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/compiler",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.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.55.0"
|
||||
"compilerVersion": "0.56.0"
|
||||
},
|
||||
"rest": {
|
||||
"title": "Generic REST API",
|
||||
"description": "Create a project representing a generic REST API",
|
||||
"compilerVersion": "0.55.0",
|
||||
"compilerVersion": "0.56.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.55.0",
|
||||
"compilerVersion": "0.56.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.55.0",
|
||||
"compilerVersion": "0.56.0",
|
||||
"libraries": [],
|
||||
"files": [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/eslint-plugin
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/eslint-plugin",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.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,16 @@
|
|||
# Change Log - @typespec/html-program-viewer
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
### Features
|
||||
|
||||
- [#3191](https://github.com/microsoft/typespec/pull/3191) Add `sourceModels` property to model view
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/html-program-viewer",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for emitting an html view of the program.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,73 @@
|
|||
# Change Log - @typespec/http
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3196](https://github.com/microsoft/typespec/pull/3196) Fix password flow defining `authorizationUrl` instead of `tokenUrl`
|
||||
- [#3190](https://github.com/microsoft/typespec/pull/3190) Fix `@path` param mapping when spreading a record in operation parameters
|
||||
- [#3218](https://github.com/microsoft/typespec/pull/3218) Fix: `@path` property shouldn't be applicableMetadata if the visibility contains `Read`
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- [#2945](https://github.com/microsoft/typespec/pull/2945) Empty model after removing metadata and applying visibility always results in "void"
|
||||
This means the following case have changed from returning `{}` to no body
|
||||
|
||||
```tsp
|
||||
op b1(): {};
|
||||
op b2(): {@visibility("none") prop: string};
|
||||
op b3(): {@added(Versions.v2) prop: string};
|
||||
```
|
||||
|
||||
Workaround: Use explicit `@body`
|
||||
|
||||
```tsp
|
||||
op b1(): {@body _: {}};
|
||||
op b2(): {@body _: {@visibility("none") prop: string}};
|
||||
op b3(): {@body _: {@added(Versions.v2) prop: string}};
|
||||
```
|
||||
- [#2945](https://github.com/microsoft/typespec/pull/2945) Implicit status code always 200 except if response is explicitly `void`
|
||||
|
||||
```tsp
|
||||
op c1(): {@header foo: string}; // status code 200 (used to be 204)
|
||||
```
|
||||
|
||||
Solution: Add explicit `@statusCode`
|
||||
```tsp
|
||||
op c1(): {@header foo: string, @statusCode _: 204};
|
||||
op c1(): {@header foo: string, ...NoContent}; // or spread common model
|
||||
```
|
||||
- [#2945](https://github.com/microsoft/typespec/pull/2945) `@body` means this is the body
|
||||
|
||||
This change makes using `@body` mean this is the exact body and everything underneath will be included, including metadata properties. If metadata properties are present on the body, a warning will be logged.
|
||||
|
||||
```tsp
|
||||
op a1(): {@body _: {@header foo: string, other: string} };
|
||||
^ warning header in a body, it will not be included as a header.
|
||||
```
|
||||
|
||||
Use `@bodyRoot` if you want to only change where to resolve the body from.
|
||||
|
||||
```tsp
|
||||
op a1(): {@bodyRoot _: {@header foo: string, other: string} };
|
||||
```
|
||||
- [#2945](https://github.com/microsoft/typespec/pull/2945) Properties are not automatically omitted if everything was removed from metadata or visibility
|
||||
|
||||
```tsp
|
||||
op d1(): {headers: {@header foo: string}}; // body will be {headers: {}}
|
||||
```
|
||||
|
||||
Solution: use `@bodyIgnore`
|
||||
|
||||
```tsp
|
||||
op d1(): {@bodyIgnore headers: {@header foo: string}}; // body will be {headers: {}}
|
||||
```
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/http",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.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.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/internal-build-utils",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "Internal library to TypeSpec providing helpers to build.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/json-schema
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/json-schema",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.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.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/library-linter",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for linting another library.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/openapi
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/openapi",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library providing OpenAPI concepts",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,20 @@
|
|||
# Change Log - @typespec/openapi3
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3218](https://github.com/microsoft/typespec/pull/3218) Fix: `@path` property should be included in unreachable models
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
### Features
|
||||
|
||||
- [#2945](https://github.com/microsoft/typespec/pull/2945) Add support for new `@bodyRoot` and `@body` distinction
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/openapi3",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
# Change Log - @typespec/playground
|
||||
|
||||
## 0.2.2
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3170](https://github.com/microsoft/typespec/pull/3170) Add support for new intrinsic vs std lib split in the compiler.
|
||||
- [#3151](https://github.com/microsoft/typespec/pull/3151) Fix completion of keywords
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.2.1
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/playground",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec playground UI components.",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/prettier-plugin-typespec
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/prettier-plugin-typespec",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - @typespec/protobuf
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/protobuf",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library and emitter for Protobuf (gRPC)",
|
||||
"homepage": "https://github.com/microsoft/typespec",
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
# Change Log - @typespec/rest
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
### Features
|
||||
|
||||
- [#2945](https://github.com/microsoft/typespec/pull/2945) Add support for new `@bodyRoot` and `@body` distinction
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/rest",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec REST protocol binding",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log - tmlanguage-generator
|
||||
|
||||
## 0.5.5
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.5.4
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tmlanguage-generator",
|
||||
"version": "0.5.4",
|
||||
"version": "0.5.5",
|
||||
"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.56.0
|
||||
|
||||
No changes, version bump only.
|
||||
|
||||
## 0.55.0
|
||||
|
||||
No changes, version bump only.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "typespec-vs",
|
||||
"author": "Microsoft Corporation",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.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.56.0
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "typespec-vscode",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec language support for VS Code",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
# Change Log - @typespec/versioning
|
||||
|
||||
## 0.56.0
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- [#3264](https://github.com/microsoft/typespec/pull/3264) Fix crash when `@service` appears inside a versioned namespace
|
||||
|
||||
### Bump dependencies
|
||||
|
||||
- [#3169](https://github.com/microsoft/typespec/pull/3169) Update dependencies
|
||||
|
||||
|
||||
## 0.55.0
|
||||
|
||||
### Bump dependencies
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typespec/versioning",
|
||||
"version": "0.55.0",
|
||||
"version": "0.56.0",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "TypeSpec library for declaring and emitting versioned APIs",
|
||||
"homepage": "https://typespec.io",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[
|
||||
"0.56.x",
|
||||
"0.55.x",
|
||||
"0.54.x",
|
||||
"0.53.x",
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче