@typespec/http-server-js 0.58.0-alpha.18-dev.3 → 0.58.0-alpha.18
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/CHANGELOG.md +15 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog - @typespec/http-server-js
|
|
2
2
|
|
|
3
|
+
## 0.58.0-alpha.18
|
|
4
|
+
|
|
5
|
+
### Bump dependencies
|
|
6
|
+
|
|
7
|
+
- [#7978](https://github.com/microsoft/typespec/pull/7978) Upgrade dependencies
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- [#8084](https://github.com/microsoft/typespec/pull/8084) Corrected an error that caused Array and Record responses to fail to serialize correctly when they were variants of a Union return type.
|
|
12
|
+
- [#7940](https://github.com/microsoft/typespec/pull/7940) Fixed an issue where JSON serialization would not correctly handle optional properties in some cases.
|
|
13
|
+
|
|
14
|
+
Fixed an issue where body serialization would sometimes fail to name anonymous response items, even if a name is required
|
|
15
|
+
to dispatch serialization code.
|
|
16
|
+
|
|
17
|
+
|
|
3
18
|
## 0.58.0-alpha.16
|
|
4
19
|
|
|
5
20
|
### Bump dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/http-server-js",
|
|
3
|
-
"version": "0.58.0-alpha.18
|
|
3
|
+
"version": "0.58.0-alpha.18",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec HTTP server code generator for JavaScript",
|
|
6
6
|
"homepage": "https://github.com/microsoft/typespec",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"hsjs-scaffold": "./cmd/hsjs-scaffold.mjs"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@typespec/
|
|
36
|
-
"@typespec/
|
|
37
|
-
"@typespec/
|
|
35
|
+
"@typespec/http": "^1.3.0",
|
|
36
|
+
"@typespec/openapi3": "^1.3.0",
|
|
37
|
+
"@typespec/compiler": "^1.3.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"@typespec/openapi3": {
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
"@types/morgan": "^1.9.9",
|
|
51
51
|
"@types/node": "~24.1.0",
|
|
52
52
|
"@types/swagger-ui-express": "^4.1.8",
|
|
53
|
-
"@typespec/compiler": "^1.2.1",
|
|
54
|
-
"@typespec/http": "^1.2.1",
|
|
55
|
-
"@typespec/http-specs": "^0.1.0-alpha.24 || >=0.1.0-alpha.25-dev <0.1.0-alpha.25",
|
|
56
|
-
"@typespec/internal-build-utils": "^0.72.1 || >=0.73.0-dev <0.73.0",
|
|
57
|
-
"@typespec/openapi3": "^1.2.1",
|
|
58
|
-
"@typespec/spector": "^0.1.0-alpha.16 || >=0.1.0-alpha.17-dev <0.1.0-alpha.17",
|
|
59
|
-
"@typespec/tspd": "^0.72.1 || >=0.73.0-dev <0.73.0",
|
|
60
53
|
"@vitest/coverage-v8": "^3.1.2",
|
|
61
54
|
"@vitest/ui": "^3.1.2",
|
|
62
55
|
"decimal.js": "^10.5.0",
|
|
@@ -74,7 +67,14 @@
|
|
|
74
67
|
"tsx": "^4.19.3",
|
|
75
68
|
"typescript": "~5.8.2",
|
|
76
69
|
"vitest": "^3.1.2",
|
|
77
|
-
"yargs": "~18.0.0"
|
|
70
|
+
"yargs": "~18.0.0",
|
|
71
|
+
"@typespec/compiler": "^1.3.0",
|
|
72
|
+
"@typespec/http": "^1.3.0",
|
|
73
|
+
"@typespec/http-specs": "^0.1.0-alpha.25",
|
|
74
|
+
"@typespec/internal-build-utils": "^0.73.0",
|
|
75
|
+
"@typespec/openapi3": "^1.3.0",
|
|
76
|
+
"@typespec/spector": "^0.1.0-alpha.17",
|
|
77
|
+
"@typespec/tspd": "^0.72.2"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"clean": "rimraf ./dist ./temp",
|