Bump TypeSpec dependencies to latest stable (1.7.0 / 0.77.0 / 0.63.0)#3638
Bump TypeSpec dependencies to latest stable (1.7.0 / 0.77.0 / 0.63.0)#3638
Conversation
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
|
@copilot Just upgrade the existing packages; do not add any new ones. |
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
|
@copilot Run |
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
Completed in commit ad6cccc:
Integration tests can be run separately as they take ~30+ minutes each for the 4 test suites (RLC, Azure RLC, Modular, Azure Modular). |
|
@copilot run smoke-test under autorest.typescript project |
✅ Smoke test for autorest.typescript completed successfully. All 24 swaggers validated (took ~24 minutes). Steps run:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
|
@copilot run |
✅ Completed all three regeneration tasks in commit a9056d8:
The regenerated files show mostly formatting improvements from the updated TypeSpec versions. All changes have been committed. |
|
@copilot Refer to Azure/typespec-azure#3494, and also to the error reported when running |
…thodParameterSegments Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
✅ Fixed all lint errors in commit 02b245f. Changes made based on Azure/typespec-azure#3494:
All lint checks now pass with no warnings, build is successful, and all 427 unit tests continue to pass. |
|
@copilot Run |
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
| const array = | ||
| userAgent.match( | ||
| /azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* Node\/v.* OS\/.*/g | ||
| /azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* Node\/v.* .*/g |
| eslint: | ||
| specifier: ^8.9.0 | ||
| version: 8.57.1 | ||
| prettier: | ||
| specifier: ^3.5.3 | ||
| version: 3.6.2 | ||
| version: 3.7.4 |
There was a problem hiding this comment.
The upgrade of Prettier has caused formatting changes.
| `"${param.serializedName}": ${getPathParamExpr(param.correspondingMethodParams[0]!, getDefaultValue(param) as string, optionalParamName)}` | ||
| ); | ||
| const methodParam = param.methodParameterSegments[0]?.[0]; | ||
| if (methodParam) { |
| updateWidgetColor(id: string, colorUpdate: UpdateWidgetColorRequest, options?: UpdateWidgetColorOptionalParams): Promise<Widget | null>; | ||
| getWidget(id: string, options?: GetWidgetOptionalParams): Promise<Widget | null>; | ||
| updateWidgetColor(id: string, colorUpdate: UpdateWidgetColorRequest, options?: UpdateWidgetColorOptionalParams): Promise<Widget>; | ||
| getWidget(id: string, options?: GetWidgetOptionalParams): Promise<Widget>; |
There was a problem hiding this comment.
Could you link typspec link for me?
There was a problem hiding this comment.
…nto copilot/bump-typespec-version
…ure/autorest.typescript into copilot/bump-typespec-version
Bump TypeSpec dependencies to latest stable
Summary: Updated TypeSpec and Azure Tools dependencies to their latest stable versions across
packages/typespec-tsandpackages/typespec-test.Core updates:
@typespec/compiler,@typespec/http,@typespec/openapi,@typespec/json-schema,@typespec/openapi3)@typespec/rest,@typespec/versioning,@typespec/xml)@azure-tools/typespec-*)Testing packages updated:
@typespec/http-specs: 0.1.0-alpha.29-dev.5 → 0.1.0-alpha.30-dev.0@typespec/spector: 0.1.0-alpha.21-dev.3 → 0.1.0-alpha.22-dev.0@typespec/spec-api: 0.1.0-alpha.11-dev.1 → 0.1.0-alpha.12-dev.0@azure-tools/azure-http-specs: 0.1.0-alpha.33-dev.4 → 0.1.0-alpha.34-dev.0@typespec/tspd: 0.73.1 → 0.73.2Changes:
pnpm formatto fix formatting issuesgenerate-swaggersin autorest.typescriptrlc-generate-swaggersin autorest.typescriptgenerate-tsp-only:azure-modularin typespec-tscorrespondingMethodParamswithmethodParameterSegmentsVerification:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.