@autorest/java 4.1.62 → 4.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typespec/monorepo",
3
3
  "version": "0.0.1",
4
4
  "private": true,
5
- "packageManager": "pnpm@10.23.0",
5
+ "packageManager": "pnpm@10.30.2",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "pnpm build:all && pnpm check:eng && pnpm gen-compiler-extern-signature",
@@ -37,42 +37,43 @@
37
37
  "validate-scenarios": "pnpm -r --filter=@typespec/http-specs run validate-scenarios",
38
38
  "validate-mock-apis": "pnpm -r --filter=@typespec/http-specs run validate-mock-apis",
39
39
  "generate-scenarios-summary": "pnpm -r --filter=@typespec/http-specs run generate-scenarios-summary",
40
- "install-conflict": "git checkout upstream/main -- pnpm-lock.yaml && pnpm install"
40
+ "install-conflict": "git checkout upstream/main -- pnpm-lock.yaml && pnpm install",
41
+ "tsp-integration": "pnpm --filter @azure-tools/integration-tester exec tsp-integration"
41
42
  },
42
43
  "devDependencies": {
43
44
  "@chronus/chronus": "^1.0.1",
44
45
  "@chronus/github": "^1.0.1",
45
46
  "@chronus/github-pr-commenter": "^1.0.1",
46
- "@eslint/js": "^9.23.0",
47
- "@microsoft/api-extractor": "^7.52.1",
47
+ "@eslint/js": "^10.0.1",
48
+ "@microsoft/api-extractor": "^7.57.4",
48
49
  "@octokit/core": "^7.0.2",
49
50
  "@octokit/plugin-paginate-graphql": "^6.0.0",
50
51
  "@octokit/plugin-rest-endpoint-methods": "^17.0.0",
51
52
  "@types/micromatch": "^4.0.9",
52
- "@types/node": "~24.10.1",
53
- "@vitest/coverage-v8": "^4.0.4",
54
- "@vitest/eslint-plugin": "^1.1.38",
55
- "c8": "^10.1.3",
56
- "cspell": "^9.0.1",
57
- "eslint": "^9.23.0",
53
+ "@types/node": "~25.3.0",
54
+ "@vitest/coverage-v8": "^4.0.18",
55
+ "@vitest/eslint-plugin": "^1.5.2",
56
+ "c8": "^11.0.0",
57
+ "cspell": "^9.4.0",
58
+ "eslint": "^10.0.2",
58
59
  "eslint-plugin-import": "^2.31.0",
59
60
  "eslint-plugin-react-hooks": "7.0.1",
60
- "eslint-plugin-unicorn": "^62.0.0",
61
+ "eslint-plugin-unicorn": "^63.0.0",
61
62
  "micromatch": "^4.0.8",
62
63
  "picocolors": "~1.1.1",
63
- "playwright": "^1.51.1",
64
- "prettier": "~3.6.2",
64
+ "playwright": "^1.57.0",
65
+ "prettier": "~3.8.0",
65
66
  "prettier-plugin-astro": "^0.14.1",
66
67
  "prettier-plugin-organize-imports": "~4.3.0",
67
- "prettier-plugin-sh": "^0.17.4",
68
- "rimraf": "~6.1.2",
68
+ "prettier-plugin-sh": "^0.18.0",
69
+ "rimraf": "~6.1.3",
69
70
  "syncpack": "^13.0.3",
70
- "tsx": "^4.19.3",
71
- "typescript": "~5.9.2",
72
- "typescript-eslint": "^8.27.0",
73
- "vite-plugin-node-polyfills": "^0.24.0",
74
- "vitest": "^4.0.4",
75
- "yaml": "~2.8.0"
71
+ "tsx": "^4.21.0",
72
+ "typescript": "~5.9.3",
73
+ "typescript-eslint": "^8.49.0",
74
+ "vite-plugin-node-polyfills": "^0.25.0",
75
+ "vitest": "^4.0.18",
76
+ "yaml": "~2.8.2"
76
77
  },
77
78
  "syncpack": {
78
79
  "dependencyTypes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/java",
3
- "version": "4.1.62",
3
+ "version": "4.1.63",
4
4
  "description": "The Java extension for classic generators in AutoRest.",
5
5
  "scripts": {
6
6
  "autorest": "autorest",
package/readme.md CHANGED
@@ -15,7 +15,7 @@ npm install -g autorest
15
15
  ```
16
16
 
17
17
  # Usage
18
- To use the latest released preview(https://github.com/Azure/autorest.java/releases), run
18
+ To use the latest released preview (https://github.com/Azure/autorest.java/releases), run
19
19
  ```bash
20
20
  autorest --java
21
21
  --use:@autorest/java@4.x.x
@@ -45,7 +45,7 @@ autorest --java
45
45
 
46
46
  Java files will be generated under `where/to/generate/java/files/src/main/java/specified/java/package`.
47
47
 
48
- To debug, add `--java.debugger` to the argument list. The JVM will suspend at the beginning of the execution. Then attach a remote debugger in your IDE to `localhost:5005`. **Make sure you detach the debugger before killing the AutoRest process. Otherwise it will fail to shutdown the JVM and leave it orphaned. (which can be killed in the Task Manager)**
48
+ To debug, add `--java.debugger` to the argument list. The JVM will suspend at the beginning of the execution. Then attach a remote debugger in your IDE to `localhost:5005`. **Make sure you detach the debugger before killing the AutoRest process. Otherwise it will fail to shut down the JVM and leave it orphaned. (which can be killed in the Task Manager)**
49
49
 
50
50
  # Recommended Settings
51
51
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-java",
3
- "version": "0.37.2",
3
+ "version": "0.41.0",
4
4
  "description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
5
5
  "keywords": [
6
6
  "TypeSpec"
@@ -47,63 +47,67 @@
47
47
  "generator/http-client-generator/target/classes/PerfAutomation.jfc"
48
48
  ],
49
49
  "peerDependencies": {
50
- "@azure-tools/typespec-autorest": ">=0.62.0 <1.0.0",
51
- "@azure-tools/typespec-azure-core": ">=0.62.0 <1.0.0",
52
- "@azure-tools/typespec-azure-resource-manager": ">=0.62.1 <1.0.0",
53
- "@azure-tools/typespec-azure-rulesets": ">=0.62.0 <1.0.0",
54
- "@azure-tools/typespec-client-generator-core": ">=0.62.0 <1.0.0",
55
- "@azure-tools/typespec-liftr-base": ">=0.11.0 <1.0.0",
56
- "@typespec/compiler": "^1.6.0",
57
- "@typespec/http": "^1.6.0",
58
- "@typespec/openapi": "^1.6.0",
59
- "@typespec/rest": ">=0.76.0 <1.0.0",
60
- "@typespec/versioning": ">=0.76.0 <1.0.0",
61
- "@typespec/xml": ">=0.76.0 <1.0.0"
50
+ "@azure-tools/openai-typespec": "^1.11.0",
51
+ "@azure-tools/typespec-autorest": ">=0.65.0 <1.0.0",
52
+ "@azure-tools/typespec-azure-core": ">=0.65.0 <1.0.0",
53
+ "@azure-tools/typespec-azure-resource-manager": ">=0.65.0 <1.0.0",
54
+ "@azure-tools/typespec-azure-rulesets": ">=0.65.0 <1.0.0",
55
+ "@azure-tools/typespec-client-generator-core": ">=0.65.4 <1.0.0",
56
+ "@azure-tools/typespec-liftr-base": ">=0.12.0 <1.0.0",
57
+ "@typespec/compiler": "^1.9.0",
58
+ "@typespec/http": "^1.9.1",
59
+ "@typespec/openapi": "^1.9.0",
60
+ "@typespec/openapi3": "^1.9.0",
61
+ "@typespec/rest": ">=0.79.0 <1.0.0",
62
+ "@typespec/versioning": ">=0.79.0 <1.0.0",
63
+ "@typespec/xml": ">=0.79.0 <1.0.0"
62
64
  },
63
65
  "dependencies": {
64
66
  "@autorest/codemodel": "~4.20.1",
65
67
  "js-yaml": "~4.1.1",
66
- "lodash": "~4.17.21"
68
+ "lodash": "~4.17.23"
67
69
  },
68
70
  "devDependencies": {
69
- "@azure-tools/typespec-autorest": "0.62.0",
70
- "@azure-tools/typespec-azure-core": "0.62.0",
71
- "@azure-tools/typespec-azure-resource-manager": "0.62.1",
72
- "@azure-tools/typespec-azure-rulesets": "0.62.0",
73
- "@azure-tools/typespec-client-generator-core": "0.62.0",
74
- "@azure-tools/typespec-liftr-base": "0.11.0",
75
- "@microsoft/api-extractor": "^7.55.1",
71
+ "@azure-tools/openai-typespec": "1.11.0",
72
+ "@azure-tools/typespec-autorest": "0.65.0",
73
+ "@azure-tools/typespec-azure-core": "0.65.0",
74
+ "@azure-tools/typespec-azure-resource-manager": "0.65.0",
75
+ "@azure-tools/typespec-azure-rulesets": "0.65.0",
76
+ "@azure-tools/typespec-client-generator-core": "0.65.4",
77
+ "@azure-tools/typespec-liftr-base": "0.12.0",
78
+ "@microsoft/api-extractor": "^7.57.6",
76
79
  "@types/js-yaml": "~4.0.9",
77
- "@types/lodash": "~4.17.21",
78
- "@types/node": "~24.10.1",
79
- "@typescript-eslint/eslint-plugin": "~8.48.0",
80
- "@typescript-eslint/parser": "~8.48.0",
81
- "@typespec/compiler": "1.6.0",
82
- "@typespec/events": "0.76.0",
83
- "@typespec/http": "1.6.0",
84
- "@typespec/openapi": "1.6.0",
85
- "@typespec/rest": "0.76.0",
86
- "@typespec/sse": "0.76.0",
87
- "@typespec/streams": "0.76.0",
88
- "@typespec/tspd": "0.73.1",
89
- "@typespec/versioning": "0.76.0",
90
- "@typespec/xml": "0.76.0",
91
- "@vitest/coverage-v8": "^4.0.14",
92
- "@vitest/ui": "^4.0.14",
93
- "c8": "~10.1.3",
94
- "eslint": "~9.39.1",
80
+ "@types/lodash": "~4.17.24",
81
+ "@types/node": "~25.3.5",
82
+ "@typescript-eslint/eslint-plugin": "~8.56.1",
83
+ "@typescript-eslint/parser": "~8.56.1",
84
+ "@typespec/compiler": "1.9.0",
85
+ "@typespec/events": "0.79.0",
86
+ "@typespec/http": "1.9.1",
87
+ "@typespec/openapi": "1.9.0",
88
+ "@typespec/openapi3": "1.9.0",
89
+ "@typespec/rest": "0.79.0",
90
+ "@typespec/sse": "0.79.0",
91
+ "@typespec/streams": "0.79.0",
92
+ "@typespec/tspd": "0.74.0",
93
+ "@typespec/versioning": "0.79.0",
94
+ "@typespec/xml": "0.79.0",
95
+ "@vitest/coverage-v8": "^4.0.18",
96
+ "@vitest/ui": "^4.0.18",
97
+ "c8": "~11.0.0",
98
+ "eslint": "~10.0.2",
95
99
  "eslint-plugin-deprecation": "~3.0.0",
96
100
  "eslint-plugin-import": "^2.32.0",
97
- "eslint-plugin-unicorn": "^62.0.0",
98
- "prettier": "~3.7.3",
99
- "rimraf": "~6.1.2",
101
+ "eslint-plugin-unicorn": "^63.0.0",
102
+ "prettier": "~3.8.1",
103
+ "rimraf": "~6.1.3",
100
104
  "typescript": "~5.9.3",
101
- "typescript-eslint": "^8.48.0",
102
- "vitest": "^4.0.14"
105
+ "typescript-eslint": "^8.56.1",
106
+ "vitest": "^4.0.18"
103
107
  },
104
108
  "overrides": {
105
- "eslint": "~9.39.1",
106
- "@typescript-eslint/eslint-plugin": "~8.48.0",
107
- "@typescript-eslint/parser": "~8.48.0"
109
+ "eslint": "~10.0.2",
110
+ "@typescript-eslint/eslint-plugin": "~8.56.1",
111
+ "@typescript-eslint/parser": "~8.56.1"
108
112
  }
109
113
  }
@@ -9,32 +9,32 @@
9
9
  "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"
10
10
  },
11
11
  "dependencies": {
12
- "@typespec/spec-api": "0.1.0-alpha.10",
13
- "@typespec/spector": "0.1.0-alpha.20",
14
- "@typespec/http-specs": "0.1.0-alpha.28",
15
- "@azure-tools/azure-http-specs": "0.1.0-alpha.32",
16
- "@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.37.2.tgz"
12
+ "@typespec/spec-api": "0.1.0-alpha.12",
13
+ "@typespec/spector": "0.1.0-alpha.23",
14
+ "@typespec/http-specs": "0.1.0-alpha.32",
15
+ "@azure-tools/azure-http-specs": "0.1.0-alpha.37",
16
+ "@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.41.0.tgz"
17
17
  },
18
18
  "devDependencies": {
19
- "@typespec/prettier-plugin-typespec": "^1.6.0",
19
+ "@typespec/prettier-plugin-typespec": "^1.9.0",
20
20
  "prettier-plugin-organize-imports": "^4.3.0",
21
- "prettier": "^3.7.3"
21
+ "prettier": "^3.8.1"
22
22
  },
23
23
  "overrides": {
24
- "@typespec/compiler": "1.6.0",
25
- "@typespec/http": "1.6.0",
26
- "@typespec/rest": "0.76.0",
27
- "@typespec/versioning": "0.76.0",
28
- "@typespec/openapi": "1.6.0",
29
- "@typespec/xml": "0.76.0",
30
- "@typespec/events": "0.76.0",
31
- "@typespec/sse": "0.76.0",
32
- "@typespec/streams": "0.76.0",
33
- "@azure-tools/typespec-azure-core": "0.62.0",
34
- "@azure-tools/typespec-client-generator-core": "0.62.0",
35
- "@azure-tools/typespec-azure-resource-manager": "0.62.1",
36
- "@azure-tools/typespec-autorest": "0.62.0",
37
- "@azure-tools/typespec-liftr-base": "0.11.0"
24
+ "@typespec/compiler": "1.9.0",
25
+ "@typespec/http": "1.9.1",
26
+ "@typespec/rest": "0.79.0",
27
+ "@typespec/versioning": "0.79.0",
28
+ "@typespec/openapi": "1.9.0",
29
+ "@typespec/xml": "0.79.0",
30
+ "@typespec/events": "0.79.0",
31
+ "@typespec/sse": "0.79.0",
32
+ "@typespec/streams": "0.79.0",
33
+ "@azure-tools/typespec-azure-core": "0.65.0",
34
+ "@azure-tools/typespec-client-generator-core": "0.65.4",
35
+ "@azure-tools/typespec-azure-resource-manager": "0.65.0",
36
+ "@azure-tools/typespec-autorest": "0.65.0",
37
+ "@azure-tools/typespec-liftr-base": "0.12.0"
38
38
  },
39
39
  "private": true
40
40
  }