@ontrails/hono 1.0.0-beta.42 → 1.0.0-beta.45
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 +20 -0
- package/README.md +1 -1
- package/package.json +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @ontrails/hono
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.45
|
|
4
|
+
|
|
5
|
+
## 1.0.0-beta.44
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [`b1fbe57`](https://github.com/outfitter-dev/trails/commit/b1fbe574e6f44d1fecb5e3a000270955c0a77b7b): Publish Bun-validated package tarballs through an npm trusted-publishing adapter
|
|
10
|
+
binding, add exact repository metadata for each public workspace package, and
|
|
11
|
+
correct the native Bun release descriptor to its pack-only runtime boundary.
|
|
12
|
+
|
|
13
|
+
## 1.0.0-beta.43
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`88a6a62`](https://github.com/outfitter-dev/trails/commit/88a6a62a9e9e230ca6d368fa78dc3ece6c816204): Complete the v1 classification-first cutover from projection/project vocabulary
|
|
18
|
+
to derive/derived for contract-owned fact production and render/rendered for
|
|
19
|
+
surface presentation. Public type, helper, rule, relation, and report names move
|
|
20
|
+
without compatibility aliases; ordinary repository/project nouns remain
|
|
21
|
+
explicit preserves or structured review inventory.
|
|
22
|
+
|
|
3
23
|
## 1.0.0-beta.42
|
|
4
24
|
|
|
5
25
|
## 1.0.0-beta.41
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ await surface(graph, {
|
|
|
22
22
|
|
|
23
23
|
Pass `resolvePermit` to resolve HTTP `Authorization: Bearer ...` credentials into `ctx.permit` before protected trails execute. The adapter forwards request headers to the framework-agnostic HTTP route executor, so malformed Authorization headers return `401` and resolved permits with insufficient scopes return `403`.
|
|
24
24
|
|
|
25
|
-
Generic non-TrailsError failures return a redacted 500 response while a redacted diagnostic
|
|
25
|
+
Generic non-TrailsError failures return a redacted 500 response while a redacted diagnostic rendering is written to server diagnostics. `TrailsError` responses keep their taxonomy category and class name but redact sensitive message fragments before writing the public body.
|
|
26
26
|
|
|
27
27
|
For custom HTTP integrations or route inspection, keep using `deriveHttpRoutes()` from `@ontrails/http`. For a framework-neutral runtime handler, use `createRouteHandler()` or `createFetchHandler()` from `@ontrails/http/fetch`. For Bun-native serving without Hono, use `@ontrails/http/bun`.
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontrails/hono",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.45",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/outfitter-dev/trails.git",
|
|
7
|
+
"directory": "adapters/hono"
|
|
8
|
+
},
|
|
4
9
|
"files": [
|
|
5
10
|
"src/**/*.ts",
|
|
6
11
|
"!src/**/__tests__/**",
|
|
@@ -22,11 +27,11 @@
|
|
|
22
27
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
23
28
|
},
|
|
24
29
|
"dependencies": {
|
|
25
|
-
"@ontrails/core": "^1.0.0-beta.
|
|
30
|
+
"@ontrails/core": "^1.0.0-beta.45",
|
|
26
31
|
"hono": "^4.7.0"
|
|
27
32
|
},
|
|
28
33
|
"peerDependencies": {
|
|
29
|
-
"@ontrails/http": "^1.0.0-beta.
|
|
34
|
+
"@ontrails/http": "^1.0.0-beta.45",
|
|
30
35
|
"zod": "^4.3.5"
|
|
31
36
|
},
|
|
32
37
|
"trails": {
|