Skip to content

Commit a81b680

Browse files
authored
Merge branch 'main' into copilot/add-test-case-for-pull-4408
2 parents d812b34 + 083c943 commit a81b680

451 files changed

Lines changed: 14402 additions & 4666 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: internal
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Add e2e tests
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 http-client-java Node.js dependencies and regenerate Java test assets
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@typespec/openapi3"
5+
---
6+
7+
Propagate `@JsonSchema.uniqueItems` to query, path and header parameter schemas. The decorator was only applied to body model property schemas; for HTTP parameter schemas (which go through `applyIntrinsicDecorators`) it was silently dropped, so arrays declared on operation parameters never emitted `uniqueItems: true` even when the decorator was present.
8+
9+
```tsp
10+
op listUsers(
11+
@query
12+
@JsonSchema.uniqueItems
13+
$select?: ("id" | "displayName")[],
14+
): User[];
15+
```

.chronus/changes/fix-python-numeric-float-2026-4-29-23-55-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: feature
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Support crossLanguageVersion
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/json-schema"
5+
---
6+
7+
Add the explicit `<Type, boolean>` generic to the `useStateMap` call backing `@uniqueItems`, matching the convention used by every other state-backed decorator in the compiler. This makes `getUniqueItems` return `boolean | undefined` rather than `unknown | undefined` and lets downstream emitters consume the value without a cast.

.chronus/changes/python-fix-paging-list-typing-2026-4-28-5-36-18.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@typespec/compiler"
5+
---
6+
7+
Enabled resolution of member properties and metaproperties through template parameters based on constraints.
8+
9+
```tsp
10+
model Resource {
11+
id: string;
12+
}
13+
14+
model Read<R extends Resource> {
15+
id: R.id;
16+
}
17+
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/html-program-viewer"
5+
- "@typespec/http-server-csharp"
6+
- "@typespec/tspd"
7+
---
8+
9+
Updated some packages to account for introduction of new TemplateParameterAccess virtual type.

.github/instructions/http-client-java.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Typical task: `add e2e test case for <package>, scenario is <url-to-tsp-file>`.
3636

3737
- The execution of `mvn` and `npm` command should be done in the test directory `<repository-root>/packages/http-client-java/generator/http-client-generator-test`.
3838
- Only commit Java files written by you. Do not commit any generated files.
39+
- If no scenario URL provided, search the related files in either https://github.com/microsoft/typespec/tree/main/packages/http-specs/specs or https://github.com/Azure/typespec-azure/tree/main/packages/azure-http-specs/specs
3940

4041
0. Run `pwsh Setup.ps1` in `generator/http-client-generator-test` to set up the environment if not done before.
4142
1. The source files for the generated client under test are located in `generator/http-client-generator-test/src/main/java/<package>`.

0 commit comments

Comments
 (0)