@typespec/http-server-js 0.58.0-alpha.15-dev.5 → 0.58.0-alpha.15

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +12 -12
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.15-dev.5",
3
+ "version": "0.58.0-alpha.15",
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.0.0",
36
- "@typespec/http": "^1.0.1",
37
- "@typespec/openapi3": "^1.0.0"
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,6 @@
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.0.0",
54
- "@typespec/http": "^1.0.1",
55
- "@typespec/http-specs": "^0.1.0-alpha.22 || >=0.1.0-alpha.23-dev <0.1.0-alpha.23",
56
- "@typespec/internal-build-utils": "^0.70.0 || >=0.71.0-dev <0.71.0",
57
- "@typespec/openapi3": "^1.0.0",
58
- "@typespec/spector": "^0.1.0-alpha.14 || >=0.1.0-alpha.15-dev <0.1.0-alpha.15",
59
- "@typespec/tspd": "^0.70.0 || >=0.71.0-dev <0.71.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": "~17.7.2"
70
+ "yargs": "~17.7.2",
71
+ "@typespec/compiler": "^1.1.0",
72
+ "@typespec/http": "^1.1.0",
73
+ "@typespec/http-specs": "^0.1.0-alpha.23",
74
+ "@typespec/internal-build-utils": "^0.71.0",
75
+ "@typespec/openapi3": "^1.1.0",
76
+ "@typespec/spector": "^0.1.0-alpha.15",
77
+ "@typespec/tspd": "^0.71.0"
78
78
  },
79
79
  "scripts": {
80
80
  "clean": "rimraf ./dist ./temp",