@zeroxsolutions/server 0.6.1 → 0.6.3

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 +33 -25
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.6.3 (2026-10-19)
2
+
3
+ This was a version bump only for @zeroxsolutions/server to align it with other projects, there were no code changes.
4
+
5
+ ## 0.6.2 (2026-10-18)
6
+
7
+ This was a version bump only for @zeroxsolutions/server to align it with other projects, there were no code changes.
8
+
1
9
  ## 0.6.1 (2026-10-06)
2
10
 
3
11
  No code changes. It depends on @zeroxsolutions/response, so its version follows response 0.14.4.
@@ -6,11 +14,11 @@ No code changes. It depends on @zeroxsolutions/response, so its version follows
6
14
 
7
15
  ### 🚀 Features
8
16
 
9
- - ⚠️ **server:** answer an update a resource does not support 403 ([7607c77](https://github.com/zeroxsolutions/zeroxsolutions/commit/7607c77))
17
+ - ⚠️ **server:** answer an update a resource does not support 403 ([7607c77](https://github.com/zeroxsolutions/zeroxsolutions/commit/7607c77))
10
18
 
11
- ### ⚠️ Breaking Changes
19
+ ### ⚠️ Breaking Changes
12
20
 
13
- - **server:** answer an update a resource does not support 403 ([7607c77](https://github.com/zeroxsolutions/zeroxsolutions/commit/7607c77))
21
+ - **server:** answer an update a resource does not support 403 ([7607c77](https://github.com/zeroxsolutions/zeroxsolutions/commit/7607c77))
14
22
  jsonApiNotFound throws instead of rendering, so a surface
15
23
  installing it installs createErrorHandler as its onError.
16
24
  Refs: zeroxsolutions/travel#283
@@ -50,11 +58,11 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
50
58
 
51
59
  ### 🩹 Fixes
52
60
 
53
- - ⚠️ **server:** read the negotiation headers, never the request body ([cf83e29](https://github.com/zeroxsolutions/zeroxsolutions/commit/cf83e29))
61
+ - ⚠️ **server:** read the negotiation headers, never the request body ([cf83e29](https://github.com/zeroxsolutions/zeroxsolutions/commit/cf83e29))
54
62
 
55
- ### ⚠️ Breaking Changes
63
+ ### ⚠️ Breaking Changes
56
64
 
57
- - **server:** read the negotiation headers, never the request body ([cf83e29](https://github.com/zeroxsolutions/zeroxsolutions/commit/cf83e29))
65
+ - **server:** read the negotiation headers, never the request body ([cf83e29](https://github.com/zeroxsolutions/zeroxsolutions/commit/cf83e29))
58
66
  jsonApiContentNegotiation no longer refuses a body sent
59
67
  with no Content-Type or in another media type, and judges a Content-Type
60
68
  on a bodyless request too. NEGOTIATION_RESPONSES describes the two
@@ -73,27 +81,27 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
73
81
 
74
82
  ### 🚀 Features
75
83
 
76
- - ⚠️ **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
77
- - ⚠️ **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
84
+ - ⚠️ **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
85
+ - ⚠️ **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
78
86
 
79
87
  ### 🩹 Fixes
80
88
 
81
89
  - **server:** name the challenge on every 401 ([0a0b2af](https://github.com/zeroxsolutions/zeroxsolutions/commit/0a0b2af))
82
- - ⚠️ **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
83
- - ⚠️ **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
90
+ - ⚠️ **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
91
+ - ⚠️ **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
84
92
 
85
- ### ⚠️ Breaking Changes
93
+ ### ⚠️ Breaking Changes
86
94
 
87
- - **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
95
+ - **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
88
96
  a missing member points at its parent; a whole-target
89
97
  issue carries pointer "" for a body and no source otherwise; an
90
98
  unrecognized query key is its own 400.
91
- - **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
99
+ - **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
92
100
  a body with no Content-Type is 415, and a response of
93
101
  another media type keeps its own header.
94
- - **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
102
+ - **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
95
103
  createErrorHandler requires authenticationChallenge.
96
- - **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
104
+ - **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
97
105
  QueryNotPermitted is answered by the library before resolve, as <namespace>.query_not_permitted.
98
106
 
99
107
  ### ❤️ Thank You
@@ -150,11 +158,11 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
150
158
 
151
159
  ### 💅 Refactors
152
160
 
153
- - ⚠️ **server:** render a rejected request through the error handler ([59b6f32](https://github.com/zeroxsolutions/zeroxsolutions/commit/59b6f32))
161
+ - ⚠️ **server:** render a rejected request through the error handler ([59b6f32](https://github.com/zeroxsolutions/zeroxsolutions/commit/59b6f32))
154
162
 
155
- ### ⚠️ Breaking Changes
163
+ ### ⚠️ Breaking Changes
156
164
 
157
- - **server:** render a rejected request through the error handler ([59b6f32](https://github.com/zeroxsolutions/zeroxsolutions/commit/59b6f32))
165
+ - **server:** render a rejected request through the error handler ([59b6f32](https://github.com/zeroxsolutions/zeroxsolutions/commit/59b6f32))
158
166
  `createValidationHook` throws the rejection instead of
159
167
  answering it, so an app passing it to `OpenAPIHono` also needs
160
168
  `createErrorHandler` as its `onError`; without one hono answers the
@@ -193,11 +201,11 @@ Repackaged only, no source change: the previous tarball still carried the pre-fl
193
201
 
194
202
  ### 🚀 Features
195
203
 
196
- - ⚠️ **server,jsonapi:** one surface, one error-code vocabulary ([32b4aed](https://github.com/zeroxsolutions/zeroxsolutions/commit/32b4aed))
204
+ - ⚠️ **server,jsonapi:** one surface, one error-code vocabulary ([32b4aed](https://github.com/zeroxsolutions/zeroxsolutions/commit/32b4aed))
197
205
 
198
- ### ⚠️ Breaking Changes
206
+ ### ⚠️ Breaking Changes
199
207
 
200
- - **server,jsonapi:** one surface, one error-code vocabulary ([32b4aed](https://github.com/zeroxsolutions/zeroxsolutions/commit/32b4aed))
208
+ - **server,jsonapi:** one surface, one error-code vocabulary ([32b4aed](https://github.com/zeroxsolutions/zeroxsolutions/commit/32b4aed))
201
209
  createErrorHandler, createValidationHook and
202
210
  jsonApiContentNegotiation take a required `namespace`; negotiateJsonApi takes it
203
211
  as a third argument. Codes these mint are now `<namespace>.<name>`.
@@ -210,11 +218,11 @@ Repackaged only, no source change: the previous tarball still carried the pre-fl
210
218
 
211
219
  ### 💅 Refactors
212
220
 
213
- - ⚠️ **query,response,server:** one wire spelling, flat exports ([5c57b3a](https://github.com/zeroxsolutions/zeroxsolutions/commit/5c57b3a))
221
+ - ⚠️ **query,response,server:** one wire spelling, flat exports ([5c57b3a](https://github.com/zeroxsolutions/zeroxsolutions/commit/5c57b3a))
214
222
 
215
- ### ⚠️ Breaking Changes
223
+ ### ⚠️ Breaking Changes
216
224
 
217
- - **query,response,server:** one wire spelling, flat exports ([5c57b3a](https://github.com/zeroxsolutions/zeroxsolutions/commit/5c57b3a))
225
+ - **query,response,server:** one wire spelling, flat exports ([5c57b3a](https://github.com/zeroxsolutions/zeroxsolutions/commit/5c57b3a))
218
226
  `@zeroxsolutions/response/http`, `@zeroxsolutions/query/http`
219
227
  and `@zeroxsolutions/server/hono/http` are gone, and the surviving `/jsonapi`
220
228
  and `/hono` subpaths move to the package root. Every import drops its subpath.
@@ -236,4 +244,4 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
236
244
  ### ❤️ Thank You
237
245
 
238
246
  - Claude Opus 5 (1M context)
239
- - Lương Văn Tú
247
+ - Lương Văn Tú
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroxsolutions/server",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "tslib": "^2.3.0",
24
- "@zeroxsolutions/jsonapi": "0.13.2",
25
- "@zeroxsolutions/query": "0.7.3",
26
- "@zeroxsolutions/response": "0.14.4"
24
+ "@zeroxsolutions/response": "0.14.5",
25
+ "@zeroxsolutions/jsonapi": "0.13.4",
26
+ "@zeroxsolutions/query": "0.7.4"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@hono/zod-openapi": "^1.0.0",