Skip to content

Commit

Permalink
Merge branch 'main' into introduction-sdk-client-emitters
Browse files Browse the repository at this point in the history
  • Loading branch information
lirenhe authored Jan 26, 2025
2 parents 9ba0e86 + d5aaf39 commit f2c4dfe
Show file tree
Hide file tree
Showing 207 changed files with 7,982 additions and 3,753 deletions.
33 changes: 33 additions & 0 deletions .chronus/changes/another-branch-2025-0-24-3-4-49.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: internal
packages:
- "@typespec/bundler"
- "@typespec/compiler"
- "@typespec/eslint-plugin"
- "@typespec/events"
- "@typespec/html-program-viewer"
- "@typespec/http-server-javascript"
- "@typespec/http-specs"
- "@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/spec-api"
- "@typespec/spec-coverage-sdk"
- "@typespec/spector"
- "@typespec/sse"
- "@typespec/streams"
- tmlanguage-generator
- typespec-vscode
- "@typespec/versioning"
- "@typespec/xml"
---

Upgrade playwright dev dependency
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@typespec/spec-coverage-sdk"
---

Fix invalid type with coverage report
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: feature
packages:
- "@typespec/compiler"
- "@typespec/http"
---

Add Experimental Typekit helpers for @typespec/http

This file was deleted.

7 changes: 7 additions & 0 deletions .chronus/changes/fix-namespace-new-2025-0-24-16-11-9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@typespec/http-client-python"
---

Fix output folder of models when output folder is different with namespace in configuration
7 changes: 7 additions & 0 deletions .chronus/changes/fix_builtinTemplate-2025-0-24-1-37-7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/compiler"
---

Adjust built-in init template sample
8 changes: 8 additions & 0 deletions .chronus/changes/fix_builtinTemplate-2025-0-24-21-57-49.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: internal
packages:
- typespec-vscode
---

update test framework version
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/compiler"
---

Fixing package name for JavaScript service codegen emitter
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: feature
packages:
- "@typespec/compiler"
---

Support the auto completion for extends, imports, rule, rule sets and variables in tspconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@typespec/compiler"
---

Fix bug in tspconfig.yaml
- Fix the issue that extra " will be added when auto completing emitter options inside ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: feature
packages:
- "@typespec/compiler"
---

Show required/optional information in the details of emitter's options completion item in tspconfig.yaml
12 changes: 12 additions & 0 deletions .chronus/changes/promote-state-accessor-2025-0-23-9-50-42.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
changeKind: deprecation
packages:
- "@typespec/compiler"
- "@typespec/events"
- "@typespec/json-schema"
- "@typespec/openapi"
- "@typespec/sse"
- "@typespec/streams"
---

Deprecate `unsafe_useStateMap` and `unsafe_useStateSet`, export `useStateMap` and `useStateSet`
7 changes: 7 additions & 0 deletions .chronus/changes/python-prepareRelease-2025-0-24-11-0-41.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/http-client-python"
---

Bump version 0.6.8
7 changes: 7 additions & 0 deletions .chronus/changes/refineLog-2025-0-24-9-48-43.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- typespec-vscode
---

refine the log
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/compiler"
---

Make `createStateSymbol` a common utility function for `@typespec/compiler`
4 changes: 1 addition & 3 deletions .chronus/changes/upgrade-deps-jan-2025-2025-0-21-23-21-7.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: dependencies
packages:
- "@typespec/bundler"
- "@typespec/compiler"
- "@typespec/eslint-plugin"
- "@typespec/events"
- "@typespec/html-program-viewer"
- "@typespec/http-server-csharp"
- "@typespec/http-server-javascript"
- "@typespec/http-specs"
- "@typespec/http"
Expand All @@ -31,4 +29,4 @@ packages:
- "@typespec/xml"
---

Upgrade dependencies
Upgrade dependencies
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: "pip"
directories:
- "/packages/http-client-python/eng/"
- "/packages/http-client-python/generator/test"
- "/packages/http-client-python/generator/test/azure"
- "/packages/http-client-python/generator/test/unbranded"
schedule:
interval: "weekly"
commit-message:
prefix: "pip prod"
prefix-development: "pip dev"
include: "scope"
labels:
- "emitter:client:python"
7 changes: 6 additions & 1 deletion cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ words:
- espt
- ESRP
- etree
- fastify
- fluentui
- français
- genproto
- getpgid
- giacamo
Expand All @@ -80,8 +82,11 @@ words:
- Hdvcmxk
- headasbooleanfalse
- headasbooleantrue
- hscs
- HSTS
- imple
- Infima
- initcs
- inlines
- inmemory
- instanceid
Expand Down Expand Up @@ -203,6 +208,7 @@ words:
- ssvs
- statment
- strs
- swaggerui
- syncpack
- TCGC
- timegm
Expand Down Expand Up @@ -253,7 +259,6 @@ words:
- xplat
- xxsubtype
- yamls
- français
ignorePaths:
- "**/node_modules/**"
- "**/dist/**"
Expand Down
44 changes: 0 additions & 44 deletions eng/tsp-core/pipelines/dashboard-deploy.yml

This file was deleted.

3 changes: 1 addition & 2 deletions eng/tsp-core/pipelines/templates/install-browsers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Template installing browsers
steps:
- script: npx playwright install --with-deps
- script: pnpm exec playwright install
displayName: Install playwright browsers
workingDirectory: packages/playground-website
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"@octokit/plugin-rest-endpoint-methods": "^13.3.0",
"@pnpm/find-workspace-packages": "^6.0.9",
"@types/micromatch": "^4.0.9",
"@types/node": "~22.10.7",
"@vitest/coverage-v8": "^3.0.3",
"@types/node": "~22.10.10",
"@vitest/coverage-v8": "^3.0.4",
"c8": "^10.1.3",
"cspell": "^8.17.2",
"eslint": "^9.18.0",
Expand All @@ -61,7 +61,7 @@
"eslint-plugin-vitest": "^0.5.4",
"micromatch": "^4.0.8",
"picocolors": "~1.1.1",
"playwright": "^1.49.1",
"playwright": "^1.50.0",
"prettier": "~3.4.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-organize-imports": "~4.1.0",
Expand All @@ -70,7 +70,7 @@
"tsx": "^4.19.2",
"typescript": "~5.7.3",
"typescript-eslint": "^8.21.0",
"vitest": "^3.0.3",
"vitest": "^3.0.4",
"yaml": "~2.7.0"
},
"syncpack": {
Expand Down
6 changes: 3 additions & 3 deletions packages/best-practices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"@typespec/compiler": "workspace:~"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@typespec/compiler": "workspace:~",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/bundle-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
"semver": "^7.6.3"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~22.10.7",
"@types/node": "~22.10.10",
"@types/yargs": "~17.0.33",
"@vitest/coverage-v8": "^3.0.3",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/ui": "^3.0.3",
"c8": "^10.1.3",
"rimraf": "~6.0.1",
"typescript": "~5.7.3",
"vite": "^6.0.11",
"vitest": "^3.0.3"
"vitest": "^3.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/compiler/.scripts/build-init-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const builtInTemplates: Record<string, InitTemplate> = {
"emitter-output-dir": "{output-dir}/clients/java",
},
},
"@typespec/http-client-js": {
"@azure-tools/typespec-ts": {
description: "JavaScript Client emitter",
options: {
"emitter-output-dir": "{output-dir}/clients/js",
Expand All @@ -54,10 +54,10 @@ const builtInTemplates: Record<string, InitTemplate> = {
"@typespec/http-server-csharp": {
description: "CSharp server stubs",
options: {
"emitter-output-dir": "{output-dir}/server",
"emitter-output-dir": "{output-dir}/server/generated",
},
},
"@typespec/http-server-js": {
"@typespec/http-server-javascript": {
description: "Javascript server stubs",
options: {
"emitter-output-dir": "{output-dir}/server",
Expand Down
Loading

0 comments on commit f2c4dfe

Please sign in to comment.