@typespec/http-server-js 0.58.0-alpha.15-dev.5 → 0.58.0-alpha.16-dev.0
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 +16 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog - @typespec/http-server-js
|
|
2
2
|
|
|
3
|
+
## 0.58.0-alpha.15
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#7256](https://github.com/microsoft/typespec/pull/7256) Implemented canonical visibility transforms. When HTTP operations imply particular implicit visibility transforms, this change enables `@typespec/http-server-js` to perform those transforms, removing invisible properties in contexts where they cannot be used.
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- [#7554](https://github.com/microsoft/typespec/pull/7554) Fixes emitter crash when operation return types included metadata or `@body` properties that only contained underscores
|
|
12
|
+
- [#7494](https://github.com/microsoft/typespec/pull/7494) Corrected a bug that sometimes caused the generated server code to sometimes attempt to extract path parameters from the wrong location.
|
|
13
|
+
|
|
14
|
+
Fixed an issue that caused all generated helper modules to be emitted even if they were not used. Now, the generator will only emit the helper modules that are actually used by the generated code.
|
|
15
|
+
- [#7280](https://github.com/microsoft/typespec/pull/7280) Fixed an error in which the scaffolding script incorrectly considered built-in Node.js modules external dependencies.
|
|
16
|
+
- [#7276](https://github.com/microsoft/typespec/pull/7276) Fixed an issue in which differences between model and JSON serialized property names were not correctly detected and property names for JSON serialization were not correctly quoted as necessary.
|
|
17
|
+
|
|
18
|
+
|
|
3
19
|
## 0.58.0-alpha.14
|
|
4
20
|
|
|
5
21
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/http-server-js",
|
|
3
|
-
"version": "0.58.0-alpha.
|
|
3
|
+
"version": "0.58.0-alpha.16-dev.0",
|
|
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/compiler": "^1.
|
|
36
|
-
"@typespec/http": "^1.0
|
|
37
|
-
"@typespec/openapi3": "^1.
|
|
35
|
+
"@typespec/compiler": "^1.1.0",
|
|
36
|
+
"@typespec/http": "^1.1.0",
|
|
37
|
+
"@typespec/openapi3": "^1.1.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"@typespec/openapi3": {
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"@types/morgan": "^1.9.9",
|
|
51
51
|
"@types/node": "~22.13.11",
|
|
52
52
|
"@types/swagger-ui-express": "^4.1.8",
|
|
53
|
-
"@typespec/compiler": "^1.
|
|
54
|
-
"@typespec/http": "^1.0
|
|
55
|
-
"@typespec/http-specs": "^0.1.0-alpha.
|
|
56
|
-
"@typespec/internal-build-utils": "^0.
|
|
57
|
-
"@typespec/openapi3": "^1.
|
|
58
|
-
"@typespec/spector": "^0.1.0-alpha.
|
|
59
|
-
"@typespec/tspd": "^0.
|
|
53
|
+
"@typespec/compiler": "^1.1.0",
|
|
54
|
+
"@typespec/http": "^1.1.0",
|
|
55
|
+
"@typespec/http-specs": "^0.1.0-alpha.23 || >=0.1.0-alpha.24-dev <0.1.0-alpha.24",
|
|
56
|
+
"@typespec/internal-build-utils": "^0.71.0 || >=0.72.0-dev <0.72.0",
|
|
57
|
+
"@typespec/openapi3": "^1.1.0",
|
|
58
|
+
"@typespec/spector": "^0.1.0-alpha.15 || >=0.1.0-alpha.16-dev <0.1.0-alpha.16",
|
|
59
|
+
"@typespec/tspd": "^0.71.0 || >=0.72.0-dev <0.72.0",
|
|
60
60
|
"@vitest/coverage-v8": "^3.1.2",
|
|
61
61
|
"@vitest/ui": "^3.1.2",
|
|
62
62
|
"decimal.js": "^10.5.0",
|