Skip to content

Commit b3a7cca

Browse files
authored
Update Package for Latest Dependencies and Prepare for Patch Release 0.31.9 (#3167)
* Initial plan * Update core submodule to latest * Update package dependencies to latest versions * Sync tests with latest TypeSpec specs * Bump version to 0.31.9 for patch release --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
1 parent 54e2fad commit b3a7cca

38 files changed

+4484
-353
lines changed

core

Submodule core updated 305 files

typespec-extension/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 0.31.9 (2025-07-16)
4+
5+
Compatible with compiler 1.2.1.
6+
7+
- Updated package dependencies to latest versions.
8+
39
## 0.31.8 (2025-07-11)
410

511
Compatible with compiler 1.1.0.

typespec-extension/package-lock.json

Lines changed: 519 additions & 299 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typespec-extension/package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/typespec-java",
3-
"version": "0.31.8",
3+
"version": "0.31.9",
44
"description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
55
"keywords": [
66
"TypeSpec"
@@ -47,61 +47,61 @@
4747
"generator/http-client-generator/target/classes/PerfAutomation.jfc"
4848
],
4949
"peerDependencies": {
50-
"@azure-tools/typespec-autorest": ">=0.57.1 <1.0.0",
51-
"@azure-tools/typespec-azure-core": ">=0.57.0 <1.0.0",
52-
"@azure-tools/typespec-azure-resource-manager": ">=0.57.2 <1.0.0",
53-
"@azure-tools/typespec-azure-rulesets": ">=0.57.1 <1.0.0",
54-
"@azure-tools/typespec-client-generator-core": ">=0.57.3 <1.0.0",
50+
"@azure-tools/typespec-autorest": ">=0.58.0 <1.0.0",
51+
"@azure-tools/typespec-azure-core": ">=0.58.0 <1.0.0",
52+
"@azure-tools/typespec-azure-resource-manager": ">=0.58.0 <1.0.0",
53+
"@azure-tools/typespec-azure-rulesets": ">=0.58.0 <1.0.0",
54+
"@azure-tools/typespec-client-generator-core": ">=0.58.0 <1.0.0",
5555
"@azure-tools/typespec-liftr-base": ">=0.8.0 <1.0.0",
56-
"@typespec/compiler": "^1.1.0",
57-
"@typespec/http": "^1.1.0",
58-
"@typespec/openapi": "^1.1.0",
59-
"@typespec/rest": ">=0.71.0 <1.0.0",
60-
"@typespec/versioning": ">=0.71.0 <1.0.0",
61-
"@typespec/xml": ">=0.71.0 <1.0.0"
56+
"@typespec/compiler": "^1.2.1",
57+
"@typespec/http": "^1.2.1",
58+
"@typespec/openapi": "^1.2.1",
59+
"@typespec/rest": ">=0.72.1 <1.0.0",
60+
"@typespec/versioning": ">=0.72.1 <1.0.0",
61+
"@typespec/xml": ">=0.72.1 <1.0.0"
6262
},
6363
"dependencies": {
6464
"@autorest/codemodel": "~4.20.1",
6565
"js-yaml": "~4.1.0",
6666
"lodash": "~4.17.21"
6767
},
6868
"devDependencies": {
69-
"@azure-tools/typespec-autorest": "0.57.1",
70-
"@azure-tools/typespec-azure-core": "0.57.0",
71-
"@azure-tools/typespec-azure-resource-manager": "0.57.2",
72-
"@azure-tools/typespec-azure-rulesets": "0.57.1",
73-
"@azure-tools/typespec-client-generator-core": "0.57.3",
69+
"@azure-tools/typespec-autorest": "0.58.0",
70+
"@azure-tools/typespec-azure-core": "0.58.0",
71+
"@azure-tools/typespec-azure-resource-manager": "0.58.0",
72+
"@azure-tools/typespec-azure-rulesets": "0.58.0",
73+
"@azure-tools/typespec-client-generator-core": "0.58.0",
7474
"@azure-tools/typespec-liftr-base": "0.8.0",
7575
"@types/js-yaml": "~4.0.9",
7676
"@types/lodash": "~4.17.20",
77-
"@types/node": "~24.0.12",
77+
"@types/node": "~24.0.14",
7878
"@typescript-eslint/eslint-plugin": "~8.32.1",
79-
"@typescript-eslint/parser": "~8.36.0",
80-
"@typespec/compiler": "1.1.0",
81-
"@typespec/http": "1.1.0",
82-
"@typespec/openapi": "1.1.0",
83-
"@typespec/rest": "0.71.0",
84-
"@typespec/versioning": "0.71.0",
85-
"@typespec/xml": "0.71.0",
86-
"@typespec/events": "0.71.0",
87-
"@typespec/sse": "0.71.0",
88-
"@typespec/streams": "0.71.0",
89-
"@typespec/tspd": "0.71.0",
79+
"@typescript-eslint/parser": "~8.37.0",
80+
"@typespec/compiler": "1.2.1",
81+
"@typespec/http": "1.2.1",
82+
"@typespec/openapi": "1.2.1",
83+
"@typespec/rest": "0.72.1",
84+
"@typespec/versioning": "0.72.1",
85+
"@typespec/xml": "0.72.1",
86+
"@typespec/events": "0.72.1",
87+
"@typespec/sse": "0.72.1",
88+
"@typespec/streams": "0.72.1",
89+
"@typespec/tspd": "0.72.1",
9090
"@microsoft/api-extractor": "^7.52.8",
9191
"@vitest/coverage-v8": "^3.2.4",
9292
"@vitest/ui": "^3.2.4",
9393
"c8": "~10.1.3",
94-
"eslint": "~9.30.1",
94+
"eslint": "~9.31.0",
9595
"eslint-plugin-deprecation": "~3.0.0",
9696
"eslint-plugin-import": "^2.32.0",
9797
"eslint-plugin-unicorn": "^59.0.1",
9898
"prettier": "~3.6.2",
9999
"rimraf": "~6.0.1",
100100
"typescript": "~5.8.3",
101-
"typescript-eslint": "^8.36.0",
101+
"typescript-eslint": "^8.37.0",
102102
"vitest": "^3.2.4"
103103
},
104104
"overrides": {
105-
"eslint": "~9.30.1"
105+
"eslint": "~9.31.0"
106106
}
107107
}

typespec-tests/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@
99
"spector-serve": "tsp-spector serve ./node_modules/@typespec/http-specs/specs ./node_modules/@azure-tools/azure-http-specs/specs --coverageFile ./tsp-spector-coverage-java.json"
1010
},
1111
"dependencies": {
12-
"@typespec/spec-api": "0.1.0-alpha.6",
13-
"@typespec/spector": "0.1.0-alpha.15",
14-
"@typespec/http-specs": "0.1.0-alpha.23",
15-
"@azure-tools/azure-http-specs": "0.1.0-alpha.22",
16-
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.31.8.tgz"
12+
"@typespec/spec-api": "0.1.0-alpha.7",
13+
"@typespec/spector": "0.1.0-alpha.16",
14+
"@typespec/http-specs": "0.1.0-alpha.24",
15+
"@azure-tools/azure-http-specs": "0.1.0-alpha.23",
16+
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.31.9.tgz"
1717
},
1818
"devDependencies": {
19-
"@typespec/prettier-plugin-typespec": "^1.1.0",
19+
"@typespec/prettier-plugin-typespec": "^1.2.1",
2020
"prettier-plugin-organize-imports": "^4.1.0",
2121
"prettier": "^3.6.2"
2222
},
2323
"overrides": {
24-
"@typespec/compiler": "1.1.0",
25-
"@typespec/http": "1.1.0",
26-
"@typespec/rest": "0.71.0",
27-
"@typespec/versioning": "0.71.0",
28-
"@typespec/openapi": "1.1.0",
29-
"@typespec/xml": "0.71.0",
30-
"@typespec/events": "0.71.0",
31-
"@typespec/sse": "0.71.0",
32-
"@typespec/streams": "0.71.0",
33-
"@azure-tools/typespec-azure-core": "0.57.0",
34-
"@azure-tools/typespec-client-generator-core": "0.57.3",
35-
"@azure-tools/typespec-azure-resource-manager": "0.57.2",
36-
"@azure-tools/typespec-autorest": "0.57.1"
24+
"@typespec/compiler": "1.2.1",
25+
"@typespec/http": "1.2.1",
26+
"@typespec/rest": "0.72.1",
27+
"@typespec/versioning": "0.72.1",
28+
"@typespec/openapi": "1.2.1",
29+
"@typespec/xml": "0.72.1",
30+
"@typespec/events": "0.72.1",
31+
"@typespec/sse": "0.72.1",
32+
"@typespec/streams": "0.72.1",
33+
"@azure-tools/typespec-azure-core": "0.58.0",
34+
"@azure-tools/typespec-client-generator-core": "0.58.0",
35+
"@azure-tools/typespec-azure-resource-manager": "0.58.0",
36+
"@azure-tools/typespec-autorest": "0.58.0"
3737
},
3838
"private": true
3939
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) TypeSpec Code Generator.
4+
5+
package azure.clientgenerator.core.methodoverride;
6+
7+
import azure.clientgenerator.core.methodoverride.implementation.GroupParametersImpl;
8+
import azure.clientgenerator.core.methodoverride.models.GroupParametersOptions;
9+
import com.azure.core.annotation.Generated;
10+
import com.azure.core.annotation.ReturnType;
11+
import com.azure.core.annotation.ServiceClient;
12+
import com.azure.core.annotation.ServiceMethod;
13+
import com.azure.core.exception.ClientAuthenticationException;
14+
import com.azure.core.exception.HttpResponseException;
15+
import com.azure.core.exception.ResourceModifiedException;
16+
import com.azure.core.exception.ResourceNotFoundException;
17+
import com.azure.core.http.rest.RequestOptions;
18+
import com.azure.core.http.rest.Response;
19+
import com.azure.core.util.FluxUtil;
20+
import reactor.core.publisher.Mono;
21+
22+
/**
23+
* Initializes a new instance of the asynchronous OverrideClient type.
24+
*/
25+
@ServiceClient(builder = OverrideClientBuilder.class, isAsync = true)
26+
public final class GroupParametersAsyncClient {
27+
@Generated
28+
private final GroupParametersImpl serviceClient;
29+
30+
/**
31+
* Initializes an instance of GroupParametersAsyncClient class.
32+
*
33+
* @param serviceClient the service client implementation.
34+
*/
35+
@Generated
36+
GroupParametersAsyncClient(GroupParametersImpl serviceClient) {
37+
this.serviceClient = serviceClient;
38+
}
39+
40+
/**
41+
* The group operation.
42+
*
43+
* @param param1 The param1 parameter.
44+
* @param param2 The param2 parameter.
45+
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
46+
* @throws HttpResponseException thrown if the request is rejected by server.
47+
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
48+
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
49+
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
50+
* @return the {@link Response} on successful completion of {@link Mono}.
51+
*/
52+
@Generated
53+
@ServiceMethod(returns = ReturnType.SINGLE)
54+
public Mono<Response<Void>> groupWithResponse(String param1, String param2, RequestOptions requestOptions) {
55+
return this.serviceClient.groupWithResponseAsync(param1, param2, requestOptions);
56+
}
57+
58+
/**
59+
* The group operation.
60+
*
61+
* @param options The options parameter.
62+
* @throws IllegalArgumentException thrown if parameters fail the validation.
63+
* @throws HttpResponseException thrown if the request is rejected by server.
64+
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
65+
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
66+
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
67+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
68+
* @return A {@link Mono} that completes when a successful response is received.
69+
*/
70+
@Generated
71+
@ServiceMethod(returns = ReturnType.SINGLE)
72+
public Mono<Void> group(GroupParametersOptions options) {
73+
// Generated convenience method for groupWithResponse
74+
RequestOptions requestOptions = new RequestOptions();
75+
String param1 = options.getParam1();
76+
String param2 = options.getParam2();
77+
return groupWithResponse(param1, param2, requestOptions).flatMap(FluxUtil::toMono);
78+
}
79+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) TypeSpec Code Generator.
4+
5+
package azure.clientgenerator.core.methodoverride;
6+
7+
import azure.clientgenerator.core.methodoverride.implementation.GroupParametersImpl;
8+
import azure.clientgenerator.core.methodoverride.models.GroupParametersOptions;
9+
import com.azure.core.annotation.Generated;
10+
import com.azure.core.annotation.ReturnType;
11+
import com.azure.core.annotation.ServiceClient;
12+
import com.azure.core.annotation.ServiceMethod;
13+
import com.azure.core.exception.ClientAuthenticationException;
14+
import com.azure.core.exception.HttpResponseException;
15+
import com.azure.core.exception.ResourceModifiedException;
16+
import com.azure.core.exception.ResourceNotFoundException;
17+
import com.azure.core.http.rest.RequestOptions;
18+
import com.azure.core.http.rest.Response;
19+
20+
/**
21+
* Initializes a new instance of the synchronous OverrideClient type.
22+
*/
23+
@ServiceClient(builder = OverrideClientBuilder.class)
24+
public final class GroupParametersClient {
25+
@Generated
26+
private final GroupParametersImpl serviceClient;
27+
28+
/**
29+
* Initializes an instance of GroupParametersClient class.
30+
*
31+
* @param serviceClient the service client implementation.
32+
*/
33+
@Generated
34+
GroupParametersClient(GroupParametersImpl serviceClient) {
35+
this.serviceClient = serviceClient;
36+
}
37+
38+
/**
39+
* The group operation.
40+
*
41+
* @param param1 The param1 parameter.
42+
* @param param2 The param2 parameter.
43+
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
44+
* @throws HttpResponseException thrown if the request is rejected by server.
45+
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
46+
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
47+
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
48+
* @return the {@link Response}.
49+
*/
50+
@Generated
51+
@ServiceMethod(returns = ReturnType.SINGLE)
52+
public Response<Void> groupWithResponse(String param1, String param2, RequestOptions requestOptions) {
53+
return this.serviceClient.groupWithResponse(param1, param2, requestOptions);
54+
}
55+
56+
/**
57+
* The group operation.
58+
*
59+
* @param options The options parameter.
60+
* @throws IllegalArgumentException thrown if parameters fail the validation.
61+
* @throws HttpResponseException thrown if the request is rejected by server.
62+
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
63+
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
64+
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
65+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
66+
*/
67+
@Generated
68+
@ServiceMethod(returns = ReturnType.SINGLE)
69+
public void group(GroupParametersOptions options) {
70+
// Generated convenience method for groupWithResponse
71+
RequestOptions requestOptions = new RequestOptions();
72+
String param1 = options.getParam1();
73+
String param2 = options.getParam2();
74+
groupWithResponse(param1, param2, requestOptions).getValue();
75+
}
76+
}

0 commit comments

Comments
 (0)