-
Notifications
You must be signed in to change notification settings - Fork 80
Bump TypeSpec dependencies to latest stable (1.8.0) #3681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2568873
Initial plan
Copilot 6212845
Update TypeSpec dependencies to latest stable versions
Copilot 9481021
Fix test baseline typo for TypeSpec version bump
Copilot 9adb953
Complete TypeSpec version bump to latest stable
Copilot 6485e52
regen code
v-jiaodi a9bf616
fix nightly ci
v-jiaodi 8631f95
update version
v-jiaodi 6d4405f
update
v-jiaodi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,15 +65,15 @@ | |
| "license": "MIT", | ||
| "devDependencies": { | ||
| "@azure-rest/core-client": "^2.3.1", | ||
| "@typespec/http-specs": "0.1.0-alpha.30-dev.0", | ||
| "@typespec/spector": "0.1.0-alpha.22-dev.0", | ||
| "@typespec/spec-api": "0.1.0-alpha.12-dev.0", | ||
| "@typespec/tspd": "0.73.2", | ||
| "@azure-tools/azure-http-specs": "0.1.0-alpha.34-dev.1", | ||
| "@azure-tools/typespec-autorest": "^0.63.0", | ||
| "@azure-tools/typespec-azure-core": "^0.63.0", | ||
| "@azure-tools/typespec-azure-resource-manager": "^0.63.0", | ||
| "@azure-tools/typespec-client-generator-core": "^0.63.3", | ||
| "@typespec/http-specs": "0.1.0-alpha.31-dev.1", | ||
| "@typespec/spector": "0.1.0-alpha.23-dev.0", | ||
| "@typespec/spec-api": "0.1.0-alpha.13-dev.0", | ||
| "@typespec/tspd": "0.73.3", | ||
| "@azure-tools/azure-http-specs": "0.1.0-alpha.35-dev.9", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LRO+paging issue track: #2313 |
||
| "@azure-tools/typespec-autorest": "^0.64.0", | ||
| "@azure-tools/typespec-azure-core": "^0.64.0", | ||
| "@azure-tools/typespec-azure-resource-manager": "^0.64.0", | ||
| "@azure-tools/typespec-client-generator-core": "^0.64.1", | ||
| "@azure/abort-controller": "^2.1.2", | ||
| "@azure/core-auth": "^1.6.0", | ||
| "@azure/core-lro": "^3.1.0", | ||
|
|
@@ -87,12 +87,12 @@ | |
| "@types/mocha": "^10.0.6", | ||
| "@typescript-eslint/eslint-plugin": "^8.28.0", | ||
| "@typescript-eslint/parser": "^8.28.0", | ||
| "@typespec/compiler": "^1.7.0", | ||
| "@typespec/http": "^1.7.0", | ||
| "@typespec/openapi": "^1.7.0", | ||
| "@typespec/rest": "^0.77.0", | ||
| "@typespec/compiler": "^1.8.0", | ||
| "@typespec/http": "^1.8.0", | ||
| "@typespec/openapi": "^1.8.0", | ||
| "@typespec/rest": "^0.78.0", | ||
| "@typespec/ts-http-runtime": "^0.1.0", | ||
| "@typespec/versioning": "^0.77.0", | ||
| "@typespec/versioning": "^0.78.0", | ||
| "chai": "^4.3.6", | ||
| "chalk": "^4.0.0", | ||
| "cross-env": "^7.0.3", | ||
|
|
@@ -111,13 +111,13 @@ | |
| "js-yaml": "^4.1.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "@azure-tools/typespec-azure-core": "^0.63.0", | ||
| "@azure-tools/typespec-client-generator-core": "^0.63.3", | ||
| "@typespec/compiler": "^1.7.0", | ||
| "@typespec/http": "^1.7.0", | ||
| "@typespec/rest": "^0.77.0", | ||
| "@typespec/versioning": "^0.77.0", | ||
| "@typespec/xml": "^0.77.0" | ||
| "@azure-tools/typespec-azure-core": "^0.64.0", | ||
| "@azure-tools/typespec-client-generator-core": "^0.64.1", | ||
| "@typespec/compiler": "^1.8.0", | ||
| "@typespec/http": "^1.8.0", | ||
| "@typespec/rest": "^0.78.0", | ||
| "@typespec/versioning": "^0.78.0", | ||
| "@typespec/xml": "^0.78.0" | ||
| }, | ||
| "dependencies": { | ||
| "@azure-tools/rlc-common": "workspace:^0.48.0", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -333,6 +333,42 @@ export declare interface FormDataMultiBinaryPartsMediaTypesParam { | |
|
|
||
| export declare type FormDataMultiBinaryPartsParameters = FormDataMultiBinaryPartsMediaTypesParam & FormDataMultiBinaryPartsBodyParam & RequestParameters; | ||
|
|
||
| export declare interface FormDataOptionalParts { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Improve spector case for payload MultiPart: #3683 |
||
| post(options: FormDataOptionalPartsParameters): StreamableMethod<FormDataOptionalParts204Response>; | ||
| } | ||
|
|
||
| export declare interface FormDataOptionalParts204Response extends HttpResponse { | ||
| status: "204"; | ||
| } | ||
|
|
||
| export declare interface FormDataOptionalPartsBodyParam { | ||
| body: MultiPartOptionalRequest; | ||
| } | ||
|
|
||
| export declare interface FormDataOptionalPartsMediaTypesParam { | ||
| contentType: "multipart/form-data"; | ||
| } | ||
|
|
||
| export declare type FormDataOptionalPartsParameters = FormDataOptionalPartsMediaTypesParam & FormDataOptionalPartsBodyParam & RequestParameters; | ||
|
|
||
| export declare interface FormDataWithWireName { | ||
| post(options: FormDataWithWireNameParameters): StreamableMethod<FormDataWithWireName204Response>; | ||
| } | ||
|
|
||
| export declare interface FormDataWithWireName204Response extends HttpResponse { | ||
| status: "204"; | ||
| } | ||
|
|
||
| export declare interface FormDataWithWireNameBodyParam { | ||
| body: MultiPartRequestWithWireName; | ||
| } | ||
|
|
||
| export declare interface FormDataWithWireNameMediaTypesParam { | ||
| contentType: "multipart/form-data"; | ||
| } | ||
|
|
||
| export declare type FormDataWithWireNameParameters = FormDataWithWireNameMediaTypesParam & FormDataWithWireNameBodyParam & RequestParameters; | ||
|
|
||
| export declare type JsonPartRequest = FormData | Array<JsonPartRequestAddressPartDescriptor | JsonPartRequestProfileImagePartDescriptor>; | ||
|
|
||
| export declare interface JsonPartRequestAddressPartDescriptor { | ||
|
|
@@ -370,6 +406,20 @@ export declare type MultiPartClient = Client & { | |
| export declare interface MultiPartClientOptions extends ClientOptions { | ||
| } | ||
|
|
||
| export declare type MultiPartOptionalRequest = FormData | Array<MultiPartOptionalRequestIdPartDescriptor | MultiPartOptionalRequestProfileImagePartDescriptor>; | ||
|
|
||
| export declare interface MultiPartOptionalRequestIdPartDescriptor { | ||
| name: "id"; | ||
| body: string; | ||
| } | ||
|
|
||
| export declare interface MultiPartOptionalRequestProfileImagePartDescriptor { | ||
| name: "profileImage"; | ||
| body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File; | ||
| filename?: string; | ||
| contentType?: string; | ||
| } | ||
|
|
||
| export declare type MultiPartRequest = FormData | Array<MultiPartRequestIdPartDescriptor | MultiPartRequestProfileImagePartDescriptor>; | ||
|
|
||
| export declare interface MultiPartRequestIdPartDescriptor { | ||
|
|
@@ -384,8 +434,24 @@ export declare interface MultiPartRequestProfileImagePartDescriptor { | |
| contentType?: string; | ||
| } | ||
|
|
||
| export declare type MultiPartRequestWithWireName = FormData | Array<MultiPartRequestWithWireNameIdentifierPartDescriptor | MultiPartRequestWithWireNameImagePartDescriptor>; | ||
|
|
||
| export declare interface MultiPartRequestWithWireNameIdentifierPartDescriptor { | ||
| name: "identifier"; | ||
| body: string; | ||
| } | ||
|
|
||
| export declare interface MultiPartRequestWithWireNameImagePartDescriptor { | ||
| name: "image"; | ||
| body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File; | ||
| filename?: string; | ||
| contentType?: string; | ||
| } | ||
|
|
||
| export declare interface Routes { | ||
| (path: "/multipart/form-data/mixed-parts"): FormDataBasic; | ||
| (path: "/multipart/form-data/mixed-parts-with-wire-name"): FormDataWithWireName; | ||
| (path: "/multipart/form-data/optional-parts"): FormDataOptionalParts; | ||
| (path: "/multipart/form-data/complex-parts"): FormDataFileArrayAndBasic; | ||
| (path: "/multipart/form-data/json-part"): FormDataJsonPart; | ||
| (path: "/multipart/form-data/binary-array-parts"): FormDataBinaryArrayParts; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
related pr: Azure/typespec-azure#3591