Skip to content

Commit 662e27e

Browse files
authored
Merge branch 'main' into l0lawrence-typeddict-enum-import
2 parents f686658 + ee0cb3f commit 662e27e

149 files changed

Lines changed: 10043 additions & 8818 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@typespec/http-specs"
5+
---
6+
7+
Add `Routes_QueryParameters_QueryExpansion_Explode_model` scenario covering a named model-valued query parameter with explode expansion (`{?param*}`), which per RFC 6570 form explode expands each property into its own query entry (`?field=status&value=active`).
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/http"
5+
- "@typespec/json-schema"
6+
- "@typespec/rest"
7+
- "@typespec/versioning"
8+
- "@typespec/openapi"
9+
- "@typespec/sse"
10+
- "@typespec/emitter-framework"
11+
- "@typespec/http-server-csharp"
12+
- "@typespec/spec-api"
13+
- "@typespec/http-server-js"
14+
- "@typespec/asset-emitter"
15+
- "@typespec/internal-build-utils"
16+
- "@typespec/html-program-viewer"
17+
- "@typespec/streams"
18+
- "@typespec/library-linter"
19+
- "@typespec/bundler"
20+
- "@typespec/playground"
21+
- "@typespec/spector"
22+
- "@typespec/prettier-plugin-typespec"
23+
- "@typespec/samples"
24+
- "@typespec/spec-dashboard"
25+
- "@typespec/tspd"
26+
- "typespec-vscode"
27+
- "@typespec/protobuf"
28+
---
29+
30+
Remove redundant top-level `describe` wrappers from tests per the documented test conventions.

.chronus/changes/doc-generation-subdir-examples-2026-6-30-0-0-0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Replace `js-yaml` with `yaml` for code-model serialization and drop `lodash` in favor of a built-in array comparison.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: dependencies
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Update Node.js dependencies
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@typespec/openapi3"
5+
---
6+
7+
Stop wrapping `$ref` in an unnecessary `allOf` when emitting OpenAPI 3.1 (and 3.2). When a referenced schema carries sibling keywords (for example `description`, `default`, `readOnly`, or `externalDocs`), those keywords are now placed directly next to the `$ref`, as allowed by JSON Schema 2020-12. OpenAPI 3.0 output is unchanged, since it does not permit sibling keywords next to a `$ref`.

docs/samples/client/csharp/SampleService/SampleClient/src/Generated/Internal/ModelSerializationExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ public static ReadOnlySpan<byte> SliceToStartOfPropertyName(this ReadOnlySpan<by
290290
{
291291
return ReadOnlySpan<byte>.Empty;
292292
}
293+
if (local[1] == '.')
294+
{
295+
return local.Slice(2);
296+
}
293297
return local.Length >= 4 && local[1] == '[' && (local[2] == '\'' || local[2] == '"') ? local.Slice(3) : ReadOnlySpan<byte>.Empty;
294298
}
295299

eng/common/pipelines/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ extends:
3232

3333
- template: /eng/common/pipelines/templates/steps/create-authenticated-npmrc.yml
3434

35-
- pwsh: |
36-
$packageJson = Get-Content -Raw "$(Build.SourcesDirectory)/package.json" | ConvertFrom-Json
37-
npm install -g $packageJson.packageManager # Pnpm manage-package-manager-versions will respect packageManager field
38-
displayName: Install pnpm
35+
- template: /eng/common/pipelines/templates/steps/install-pnpm.yml
3936

4037
- script: pnpm install
4138
displayName: Install JavaScript Dependencies
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
steps:
2+
- pwsh: |
3+
$packageJson = Get-Content -Raw "$(Build.SourcesDirectory)/package.json" | ConvertFrom-Json
4+
npm install -g $packageJson.packageManager
5+
displayName: Install pnpm

eng/emitters/pipelines/templates/stages/emitter-stages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,7 @@ stages:
409409
- script: npm run ${{ parameters.PlaygroundBundleBuildScript }}
410410
displayName: Build emitter for playground bundle
411411
workingDirectory: $(Build.SourcesDirectory)/${{ parameters.PackagePath }}
412-
- script: npm install -g pnpm
413-
displayName: Install pnpm for playground bundle upload
412+
- template: /eng/common/pipelines/templates/steps/install-pnpm.yml
414413
- script: pnpm install --filter "@typespec/bundle-uploader..."
415414
displayName: Install bundle-uploader dependencies
416415
workingDirectory: $(Build.SourcesDirectory)

0 commit comments

Comments
 (0)