@zeroxsolutions/server 0.6.0 → 0.6.2

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,12 +1,20 @@
1
+ ## 0.6.2 (2026-10-18)
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.1 (2026-10-06)
6
+
7
+ No code changes. It depends on @zeroxsolutions/response, so its version follows response 0.14.4.
8
+
1
9
  ## 0.6.0 (2026-10-05)
2
10
 
3
11
  ### 🚀 Features
4
12
 
5
- - ⚠️ **server:** answer an update a resource does not support 403 ([7607c77](https://github.com/zeroxsolutions/zeroxsolutions/commit/7607c77))
13
+ - ⚠️ **server:** answer an update a resource does not support 403 ([7607c77](https://github.com/zeroxsolutions/zeroxsolutions/commit/7607c77))
6
14
 
7
- ### ⚠️ Breaking Changes
15
+ ### ⚠️ Breaking Changes
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
  jsonApiNotFound throws instead of rendering, so a surface
11
19
  installing it installs createErrorHandler as its onError.
12
20
  Refs: zeroxsolutions/travel#283
@@ -46,11 +54,11 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
46
54
 
47
55
  ### 🩹 Fixes
48
56
 
49
- - ⚠️ **server:** read the negotiation headers, never the request body ([cf83e29](https://github.com/zeroxsolutions/zeroxsolutions/commit/cf83e29))
57
+ - ⚠️ **server:** read the negotiation headers, never the request body ([cf83e29](https://github.com/zeroxsolutions/zeroxsolutions/commit/cf83e29))
50
58
 
51
- ### ⚠️ Breaking Changes
59
+ ### ⚠️ Breaking Changes
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
  jsonApiContentNegotiation no longer refuses a body sent
55
63
  with no Content-Type or in another media type, and judges a Content-Type
56
64
  on a bodyless request too. NEGOTIATION_RESPONSES describes the two
@@ -69,27 +77,27 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
69
77
 
70
78
  ### 🚀 Features
71
79
 
72
- - ⚠️ **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
73
- - ⚠️ **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
80
+ - ⚠️ **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
81
+ - ⚠️ **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
74
82
 
75
83
  ### 🩹 Fixes
76
84
 
77
85
  - **server:** name the challenge on every 401 ([0a0b2af](https://github.com/zeroxsolutions/zeroxsolutions/commit/0a0b2af))
78
- - ⚠️ **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
79
- - ⚠️ **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
86
+ - ⚠️ **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
87
+ - ⚠️ **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
80
88
 
81
- ### ⚠️ Breaking Changes
89
+ ### ⚠️ Breaking Changes
82
90
 
83
- - **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
91
+ - **server:** point error sources at what exists, name unknown keys ([44d2116](https://github.com/zeroxsolutions/zeroxsolutions/commit/44d2116))
84
92
  a missing member points at its parent; a whole-target
85
93
  issue carries pointer "" for a body and no source otherwise; an
86
94
  unrecognized query key is its own 400.
87
- - **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
95
+ - **server:** label only json:api bodies and answer unmatched routes ([a6d3a08](https://github.com/zeroxsolutions/zeroxsolutions/commit/a6d3a08))
88
96
  a body with no Content-Type is 415, and a response of
89
97
  another media type keeps its own header.
90
- - **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
98
+ - **server:** challenge a 401 and keep a thrown response's headers ([e252634](https://github.com/zeroxsolutions/zeroxsolutions/commit/e252634))
91
99
  createErrorHandler requires authenticationChallenge.
92
- - **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
100
+ - **server:** answer a refused query as 400 with its parameter ([61ffe94](https://github.com/zeroxsolutions/zeroxsolutions/commit/61ffe94))
93
101
  QueryNotPermitted is answered by the library before resolve, as <namespace>.query_not_permitted.
94
102
 
95
103
  ### ❤️ Thank You
@@ -146,11 +154,11 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
146
154
 
147
155
  ### 💅 Refactors
148
156
 
149
- - ⚠️ **server:** render a rejected request through the error handler ([59b6f32](https://github.com/zeroxsolutions/zeroxsolutions/commit/59b6f32))
157
+ - ⚠️ **server:** render a rejected request through the error handler ([59b6f32](https://github.com/zeroxsolutions/zeroxsolutions/commit/59b6f32))
150
158
 
151
- ### ⚠️ Breaking Changes
159
+ ### ⚠️ Breaking Changes
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
  `createValidationHook` throws the rejection instead of
155
163
  answering it, so an app passing it to `OpenAPIHono` also needs
156
164
  `createErrorHandler` as its `onError`; without one hono answers the
@@ -189,11 +197,11 @@ Repackaged only, no source change: the previous tarball still carried the pre-fl
189
197
 
190
198
  ### 🚀 Features
191
199
 
192
- - ⚠️ **server,jsonapi:** one surface, one error-code vocabulary ([32b4aed](https://github.com/zeroxsolutions/zeroxsolutions/commit/32b4aed))
200
+ - ⚠️ **server,jsonapi:** one surface, one error-code vocabulary ([32b4aed](https://github.com/zeroxsolutions/zeroxsolutions/commit/32b4aed))
193
201
 
194
- ### ⚠️ Breaking Changes
202
+ ### ⚠️ Breaking Changes
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
  createErrorHandler, createValidationHook and
198
206
  jsonApiContentNegotiation take a required `namespace`; negotiateJsonApi takes it
199
207
  as a third argument. Codes these mint are now `<namespace>.<name>`.
@@ -206,11 +214,11 @@ Repackaged only, no source change: the previous tarball still carried the pre-fl
206
214
 
207
215
  ### 💅 Refactors
208
216
 
209
- - ⚠️ **query,response,server:** one wire spelling, flat exports ([5c57b3a](https://github.com/zeroxsolutions/zeroxsolutions/commit/5c57b3a))
217
+ - ⚠️ **query,response,server:** one wire spelling, flat exports ([5c57b3a](https://github.com/zeroxsolutions/zeroxsolutions/commit/5c57b3a))
210
218
 
211
- ### ⚠️ Breaking Changes
219
+ ### ⚠️ Breaking Changes
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
  `@zeroxsolutions/response/http`, `@zeroxsolutions/query/http`
215
223
  and `@zeroxsolutions/server/hono/http` are gone, and the surviving `/jsonapi`
216
224
  and `/hono` subpaths move to the package root. Every import drops its subpath.
@@ -232,4 +240,4 @@ This was a version bump only for @zeroxsolutions/server to align it with other p
232
240
  ### ❤️ Thank You
233
241
 
234
242
  - Claude Opus 5 (1M context)
235
- - Lương Văn Tú
243
+ - Lương Văn Tú
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroxsolutions/server",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
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.1",
25
- "@zeroxsolutions/response": "0.14.3",
26
- "@zeroxsolutions/query": "0.7.3"
24
+ "@zeroxsolutions/jsonapi": "0.13.3",
25
+ "@zeroxsolutions/query": "0.7.4",
26
+ "@zeroxsolutions/response": "0.14.4"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@hono/zod-openapi": "^1.0.0",