kobako 0.30.0-aarch64-linux → 0.32.0-aarch64-linux
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.
- checksums.yaml +4 -4
- data/.githooks/linux-tests.sh +29 -0
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +460 -0
- data/README.md +43 -4
- data/ROADMAP.md +1 -2
- data/crates/kobako-runtime/CHANGELOG.md +309 -0
- data/crates/kobako-runtime/README.md +7 -4
- data/crates/kobako-transport/CHANGELOG.md +38 -0
- data/crates/kobako-transport/README.md +3 -4
- data/crates/kobako-wasmtime/CHANGELOG.md +208 -0
- data/crates/kobako-wasmtime/README.md +4 -3
- data/crates/kobako-wasmtime/wit/deps/cli.wit +233 -0
- data/crates/kobako-wasmtime/wit/deps/clocks.wit +162 -0
- data/crates/kobako-wasmtime/wit/deps/filesystem.wit +589 -0
- data/crates/kobako-wasmtime/wit/deps/http.wit +733 -0
- data/crates/kobako-wasmtime/wit/deps/io.wit +299 -0
- data/crates/kobako-wasmtime/wit/deps/random.wit +92 -0
- data/crates/kobako-wasmtime/wit/deps/sockets.wit +949 -0
- data/crates/kobako-wasmtime/witx/wasi_snapshot_preview1.witx +13 -0
- data/data/kobako.wasm +0 -0
- data/lib/kobako/3.3/kobako.so +0 -0
- data/lib/kobako/3.4/kobako.so +0 -0
- data/lib/kobako/4.0/kobako.so +0 -0
- data/lib/kobako/catalog/extensions.rb +14 -2
- data/lib/kobako/catalog/flags.rb +3 -5
- data/lib/kobako/catalog/grants.rb +5 -4
- data/lib/kobako/catalog/handles.rb +14 -32
- data/lib/kobako/catalog/mount.rb +11 -3
- data/lib/kobako/catalog/network.rb +35 -0
- data/lib/kobako/catalog/replacements.rb +28 -0
- data/lib/kobako/catalog/services.rb +5 -19
- data/lib/kobako/catalog/snippets.rb +3 -18
- data/lib/kobako/catalog.rb +3 -0
- data/lib/kobako/codec/{utils.rb → boundary.rb} +4 -2
- data/lib/kobako/codec/decoder.rb +5 -5
- data/lib/kobako/codec/ext_types.rb +3 -3
- data/lib/kobako/codec/handle_walk.rb +3 -43
- data/lib/kobako/codec/state.rb +2 -18
- data/lib/kobako/codec/value_budget.rb +133 -41
- data/lib/kobako/codec.rb +6 -7
- data/lib/kobako/context.rb +24 -11
- data/lib/kobako/errors.rb +18 -18
- data/lib/kobako/extension.rb +3 -2
- data/lib/kobako/filesystem.rb +10 -3
- data/lib/kobako/fork.rb +42 -0
- data/lib/kobako/handle.rb +2 -3
- data/lib/kobako/names.rb +28 -0
- data/lib/kobako/network.rb +210 -0
- data/lib/kobako/outcome.rb +7 -7
- data/lib/kobako/runtime.rb +3 -2
- data/lib/kobako/sandbox.rb +73 -35
- data/lib/kobako/sandbox_options.rb +42 -109
- data/lib/kobako/transport/argument_wrap.rb +64 -0
- data/lib/kobako/transport/block_failure.rb +1 -1
- data/lib/kobako/transport/dispatcher.rb +6 -6
- data/lib/kobako/transport/exposure.rb +26 -15
- data/lib/kobako/transport/reflection.rb +21 -4
- data/lib/kobako/transport/run.rb +8 -23
- data/lib/kobako/transport/yielder.rb +2 -9
- data/lib/kobako/transport.rb +1 -0
- data/lib/kobako/usage.rb +4 -2
- data/lib/kobako/version.rb +1 -1
- data/lib/kobako.rb +8 -4
- data/release-please-config.json +15 -0
- data/sig/kobako/catalog/extensions.rbs +2 -0
- data/sig/kobako/catalog/grants.rbs +7 -4
- data/sig/kobako/catalog/handles.rbs +2 -2
- data/sig/kobako/catalog/mount.rbs +3 -1
- data/sig/kobako/catalog/network.rbs +20 -0
- data/sig/kobako/catalog/replacements.rbs +14 -0
- data/sig/kobako/catalog/services.rbs +0 -4
- data/sig/kobako/catalog/snippets.rbs +0 -2
- data/sig/kobako/codec/{utils.rbs → boundary.rbs} +2 -2
- data/sig/kobako/codec/handle_walk.rbs +0 -6
- data/sig/kobako/codec/state.rbs +0 -4
- data/sig/kobako/codec/value_budget.rbs +48 -5
- data/sig/kobako/codec.rbs +2 -2
- data/sig/kobako/context.rbs +3 -1
- data/sig/kobako/errors.rbs +4 -7
- data/sig/kobako/filesystem.rbs +21 -3
- data/sig/kobako/fork.rbs +17 -0
- data/sig/kobako/network.rbs +115 -0
- data/sig/kobako/outcome.rbs +1 -1
- data/sig/kobako/runtime.rbs +32 -3
- data/sig/kobako/sandbox.rbs +10 -2
- data/sig/kobako/sandbox_options.rbs +29 -40
- data/sig/kobako/transport/argument_wrap.rbs +15 -0
- data/sig/kobako/transport/error.rbs +1 -1
- data/sig/kobako/transport/exposure.rbs +2 -4
- data/sig/kobako/transport/reflection.rbs +10 -0
- data/sig/kobako/transport/run.rbs +0 -2
- data/sig/kobako/transport/yielder.rbs +0 -3
- data/sig/kobako/transport.rbs +1 -1
- data/sig/kobako.rbs +13 -0
- metadata +25 -11
- data/crates/kobako-runtime/tests/linux_baseline/linux-baseline-expected.txt +0 -16
- data/lib/kobako/constant_name.rb +0 -8
- data/lib/kobako/pool.rb +0 -140
- data/sig/kobako/constant_name.rbs +0 -3
- data/sig/kobako/pool.rbs +0 -42
data/README.md
CHANGED
|
@@ -98,6 +98,43 @@ sandbox.eval('File.read("/config/app.yml")').value
|
|
|
98
98
|
| `Bind` | one host directory |
|
|
99
99
|
| `Overlay` | read-only Layers under a Tmpfs |
|
|
100
100
|
|
|
101
|
+
### Network
|
|
102
|
+
|
|
103
|
+
`network` gives the guest's `TCPSocket`, `UDPSocket`, and `Net::HTTP` only the
|
|
104
|
+
endpoints you name. A credential's secret never enters the guest: the host swaps
|
|
105
|
+
it in for its placeholder on the way out.
|
|
106
|
+
|
|
107
|
+
```ruby
|
|
108
|
+
sandbox.network(:api) do |net|
|
|
109
|
+
net.endpoint("api.example.com", port: 443) { |rules| rules.allow("GET", "/v1/**") }
|
|
110
|
+
net.credential(:bearer, placeholder: "API_TOKEN") { ENV.fetch("API_TOKEN") }
|
|
111
|
+
end
|
|
112
|
+
sandbox.eval(<<~RUBY).value
|
|
113
|
+
http = Net::HTTP.new("api.example.com", 443)
|
|
114
|
+
http.use_ssl = true
|
|
115
|
+
http.get("/v1/status", "Authorization" => "Bearer API_TOKEN").code
|
|
116
|
+
RUBY
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
| Endpoint part | Default |
|
|
120
|
+
|---|---|
|
|
121
|
+
| `protocol:` | `:http`; `:tcp` or `:udp` only when written |
|
|
122
|
+
| `addresses:` | `[:public]`; `:private`, `:local`, or a CIDR only when written |
|
|
123
|
+
|
|
124
|
+
A test hands `Sandbox.new` a `Kobako::Network::Mock` as `network:`, so names
|
|
125
|
+
resolve from a table and dials reach a server the test runs. The rules judge
|
|
126
|
+
the Mock as they judge the host network.
|
|
127
|
+
|
|
128
|
+
```ruby
|
|
129
|
+
mock = Kobako::Network::Mock.new
|
|
130
|
+
mock.resolve("api.example.com", to: "93.184.216.34")
|
|
131
|
+
mock.route("93.184.216.34", 80, to: ["127.0.0.1", server.addr[1]])
|
|
132
|
+
sandbox = Kobako::Sandbox.new(network: mock)
|
|
133
|
+
sandbox.network(:api) { |net| net.endpoint("api.example.com", port: 80, protocol: :tcp) }
|
|
134
|
+
mock.hold("slow.example") { sandbox.eval(script) } # lookups of the name wait for the block
|
|
135
|
+
mock.lookups; mock.dialed_addresses # what the guest asked, in order
|
|
136
|
+
```
|
|
137
|
+
|
|
101
138
|
### Execution Records
|
|
102
139
|
|
|
103
140
|
An Execution carries the value, the output, and the usage. A failed run raises
|
|
@@ -127,16 +164,18 @@ Kobako::Sandbox.new(timeout: 5.0, memory_limit: 10 * 1024 * 1024)
|
|
|
127
164
|
| `timeout` | 60 s |
|
|
128
165
|
| `memory_limit` | 4 MiB |
|
|
129
166
|
| `stdout_limit`, `stderr_limit` | 1 MiB |
|
|
130
|
-
| `open_file_limit` |
|
|
167
|
+
| `open_file_limit` | 16 |
|
|
168
|
+
| `open_connection_limit` | 6 |
|
|
169
|
+
| `connection_limit` | 50 |
|
|
131
170
|
|
|
132
171
|
### Concurrency
|
|
133
172
|
|
|
134
173
|
A Sandbox keeps nothing between runs, so Threads may share one. `gvl:
|
|
135
|
-
:release` runs guest code in parallel
|
|
174
|
+
:release` runs guest code in parallel.
|
|
136
175
|
|
|
137
176
|
```ruby
|
|
138
|
-
|
|
139
|
-
|
|
177
|
+
sandbox = Kobako::Sandbox.new(gvl: :release).bind("KV::Lookup", lookup)
|
|
178
|
+
4.times.map { Thread.new { sandbox.eval(script).value } }.map(&:value)
|
|
140
179
|
```
|
|
141
180
|
|
|
142
181
|
### Snippets
|
data/ROADMAP.md
CHANGED
|
@@ -9,7 +9,6 @@ row below links a feature to its scenarios and to where its code starts.
|
|
|
9
9
|
| ✅ [Sandbox](docs/spec/behavior/sandbox.md) | [lib/kobako/sandbox.rb](lib/kobako/sandbox.rb) |
|
|
10
10
|
| ✅ [Service registration](docs/spec/behavior/services.md) | [lib/kobako/catalog/services.rb](lib/kobako/catalog/services.rb) |
|
|
11
11
|
| ✅ [Runtime](docs/spec/behavior/runtime.md) | [lib/kobako/runtime.rb](lib/kobako/runtime.rb) |
|
|
12
|
-
| ✅ [Pool](docs/spec/behavior/pool.md) | [lib/kobako/pool.rb](lib/kobako/pool.rb) |
|
|
13
12
|
| ✅ [Extension](docs/spec/behavior/extension.md) | [lib/kobako/extension.rb](lib/kobako/extension.rb) |
|
|
14
13
|
| ✅ [Outcome attribution](docs/spec/behavior/outcome.md) | [lib/kobako/outcome.rb](lib/kobako/outcome.rb) |
|
|
15
14
|
| ✅ [Transport dispatch](docs/spec/behavior/transport-dispatch.md) | [lib/kobako/transport/dispatcher.rb](lib/kobako/transport/dispatcher.rb) |
|
|
@@ -28,5 +27,5 @@ row below links a feature to its scenarios and to where its code starts.
|
|
|
28
27
|
| ✅ [Guest Dir](docs/spec/behavior/dir.md) | [wasm/kobako-io/src/dir.rs](wasm/kobako-io/src/dir.rs) |
|
|
29
28
|
| ✅ [Filesystem](docs/spec/behavior/filesystem.md) | [crates/kobako-runtime/src/filesystem.rs](crates/kobako-runtime/src/filesystem.rs) |
|
|
30
29
|
| ✅ [Mount](docs/spec/behavior/mount.md) | [lib/kobako/catalog/mount.rb](lib/kobako/catalog/mount.rb) |
|
|
31
|
-
| ✅ [Ruby Filesystem](docs/spec/behavior/ruby-filesystem.md) | [ext/kobako/src/
|
|
30
|
+
| ✅ [Ruby Filesystem](docs/spec/behavior/ruby-filesystem.md) | [ext/kobako/src/filesystem/ruby.rs](ext/kobako/src/filesystem/ruby.rs) |
|
|
32
31
|
| ✅ [Journeys](docs/spec/behavior/journeys.md) | [test/e2e/test_journeys.rb](test/e2e/test_journeys.rb) |
|
|
@@ -1,5 +1,314 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.22.0](https://github.com/elct9620/kobako/compare/kobako-runtime-v0.21.0...kobako-runtime-v0.22.0) (2026-11-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **runtime:** vfs::cp_new_stat returns Result<Kstat, Errno> and vfs::ino_of returns Result<u64, Errno> in place of Kstat and u64; a Wasm Driver passes their EOVERFLOW to the guest.
|
|
9
|
+
* **runtime:** Tmpfs::new() and Tmpfs::DEFAULT_SIZE hold 4 MiB and 1025 entries instead of 64 MiB and 16385. Call
|
|
10
|
+
* **runtime:** a listing, a walk, or a copy up in a run past its deadline or interrupted now answers EINTR mid-way instead of finishing.
|
|
11
|
+
* **runtime:** a reader may now take a free directory ahead of a writer already waiting for it, and a trylock fails while any thread waits, so calls on a contended directory land in another order.
|
|
12
|
+
* **runtime:** connection_limit now also counts name lookups, failed dials, and each further address an HTTP request dials, so a run reaches the default 50 sooner; a socket to a new name spends two. Raise connection_limit for a script that needs more.
|
|
13
|
+
* **codec:** kobako-runtime drops Limits::value_budget; read kobako_codec::msgpack::codec::MAX_PAYLOAD_VALUES instead. A Sandbox whose memory_limit is above 4 MiB or None, or one built with_runtime, no longer accepts a guest payload of more than 262144 values.
|
|
14
|
+
* **runtime:** memory_limit measures the guest's own memory only; host buffers no longer answer ENOMEM or fail a request as internal.
|
|
15
|
+
* **memcg:** a run whose start function, global initializers, table growth, or request grow past memory_limit now raises Kobako::MemoryLimitError, growth of several memories and the GC heap adds up, and Usage#memory_peak includes them. Raise memory_limit by that growth to keep the earlier headroom.
|
|
16
|
+
* **net:** on Windows, a dropped lookup keeps its place against `open_connection_limit` until the host's query finishes.
|
|
17
|
+
* **runtime:** `Limits::default().open_file_limit` is `Some(16)` instead of `Some(1024)`; set `open_file_limit` for an invocation that holds more at once.
|
|
18
|
+
* **net:** a connection the guest closes with bytes the peer has not taken counts against `open_file_limit` until it closes, and resets when no open file is left for it.
|
|
19
|
+
* **filesystem:** an Overlay directory over N Bind Layers takes N of an invocation's `open_file_limit`; raise the limit by the Layers each held directory spans.
|
|
20
|
+
* **net:** TcpSock::send_room counts the Invocation's memory, and MemoryBudget::peak, and so Usage::memory_peak, can pass the limit by a permitted write as well as a forced read, at most 68 KiB more per open connection.
|
|
21
|
+
* **net:** net::send asks no CredentialSource for a TRACE and answers HttpError::Denied for one whose OutgoingRequest::body is not empty, where it swapped the value and sent the body.
|
|
22
|
+
* **net:** net::send answers HttpError::Denied for an OutgoingRequest whose method is CONNECT, where it sent one. A caller that needs a tunnel dials a TcpSock through an endpoint of Protocol::Tcp.
|
|
23
|
+
* **net:** MemoryBudget::peak, and so Usage::memory_peak, can pass the limit by one forced network read per open connection.
|
|
24
|
+
* **gvl:** a Service of a Sandbox releasing the GVL no longer takes interrupts the Host App's own Thread.handle_interrupt mask defers; it takes them as that mask allows, as under gvl: :hold. The warning a run releasing the GVL gave on the main Thread is gone.
|
|
25
|
+
* **vfs:** a FileOperations implementing iterate_shared must also return true from has_iterate_shared, or its listings answer NotADirectory.
|
|
26
|
+
* **vfs:** a guest now holds one preopen, `/`, at descriptor 3, instead of one per outermost Mount named by its path. A Guest Binary built on wasi-libc is unaffected; one that reads a Mount through descriptor 3 directly walks from `/` now, or the Host App mounts its Filesystem at `/`. `kobako_runtime::mount::outermost_of` is removed; a Wasm Driver opens `Cred::root` instead.
|
|
27
|
+
* **security:** a Sandbox whose nested mount path passes a host link, at its last name or above it, now fails each run with "stands nowhere: ELOOP" instead of standing where the link leads. Mount the directory the link leads to by its own path instead.
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **http:** stream a request body as the guest writes it ([ed2b571](https://github.com/elct9620/kobako/commit/ed2b571820d46b1fdfff577b3c8257fd7c63ce71))
|
|
32
|
+
* **runtime:** tell how many datagrams a UDP socket holds unread ([48df527](https://github.com/elct9620/kobako/commit/48df52794238e2c13e27cc45f78e31e24101d82e))
|
|
33
|
+
* **sandbox:** have a fork wait for the runs in progress, or raise where it cannot ([3c33928](https://github.com/elct9620/kobako/commit/3c3392818a0454cfd72fc720560afc32b0a04aa5))
|
|
34
|
+
* **vfs:** preopen the guest's root alone, beneath which every Mount stands ([2a6d18d](https://github.com/elct9620/kobako/commit/2a6d18d78814f0529b15e109bbcd50f8b372e51b))
|
|
35
|
+
* **wasmtime:** bound what one host call copies out of the guest by memory_limit ([044090e](https://github.com/elct9620/kobako/commit/044090eef9430584d970b0bd0a773fd37ce61ffc))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* **codec:** hold every guest payload to the Codec's own 262144 values ([1eee6ec](https://github.com/elct9620/kobako/commit/1eee6ecaf578687e9785753afa475d269d3fa750))
|
|
41
|
+
* **filesystem:** charge each host directory an Overlay holds to the caller ([437ada0](https://github.com/elct9620/kobako/commit/437ada00b268cf793cee8e7fadee1067dd0a4bf7))
|
|
42
|
+
* **filesystem:** let a process drop every directory its Binds keep ([ecd9756](https://github.com/elct9620/kobako/commit/ecd9756bbfb828930864c658a969f80fc9bbbe3f))
|
|
43
|
+
* **filesystem:** make way for a Bind's root when the host is out of descriptors ([ed7edd4](https://github.com/elct9620/kobako/commit/ed7edd40ea87e7ada687732eb28e6631e28b19a7))
|
|
44
|
+
* **filesystem:** share one bound on the directories Binds keep ([e7f2ff2](https://github.com/elct9620/kobako/commit/e7f2ff26fc50ee36ef31ac025363986f2a7ee99b))
|
|
45
|
+
* **fork:** tell a descendant apart from the ancestor whose pid it reuses ([15f6540](https://github.com/elct9620/kobako/commit/15f6540488a1a44a817a7f0349ca767a01fd0829))
|
|
46
|
+
* **gvl:** have a run on a Fiber a callback starts hold locks as that run ([723db42](https://github.com/elct9620/kobako/commit/723db4236131c95f140bef07e583e014e2ac8168))
|
|
47
|
+
* **gvl:** run each guest on a thread of its own, served by its caller ([7710c21](https://github.com/elct9620/kobako/commit/7710c212552415eaa4dd683d54e20d5aad89de26))
|
|
48
|
+
* **memcg:** charge every growth from the run's Store past what the binary declares ([44c7a8b](https://github.com/elct9620/kobako/commit/44c7a8bdc444b96a5d34a137a72b4e2f3c292d80))
|
|
49
|
+
* **net:** charge what a socket and an exchange hold as it arrives ([8c44cb4](https://github.com/elct9620/kobako/commit/8c44cb42b0bb996294715bd8eebe204707ea4c87))
|
|
50
|
+
* **net:** declare close on every request the proxy sends ([0ef6aa1](https://github.com/elct9620/kobako/commit/0ef6aa12eb1c5497e098570cdaf51c6b7cf7495e))
|
|
51
|
+
* **net:** draw each DNS query ID from the kernel ([99548ed](https://github.com/elct9620/kobako/commit/99548ed51cb73123a529072f49926b887a6a30e4))
|
|
52
|
+
* **net:** give a dropped lookup's place back at once on every host ([a8f8c4a](https://github.com/elct9620/kobako/commit/a8f8c4a9d9188fa9132571a5b279bca0e4130c3b))
|
|
53
|
+
* **net:** hold an open file for a socket still sending after its release ([d309bff](https://github.com/elct9620/kobako/commit/d309bff11cd22a323eef0695c19ef6db96532d2e))
|
|
54
|
+
* **net:** keep a lookup's place in a Windows query until its routine runs ([537b7f5](https://github.com/elct9620/kobako/commit/537b7f566abb75b46b18ee958141bdd2e717262b))
|
|
55
|
+
* **net:** keep an output stream's permit whole once its memory fills ([2b641cc](https://github.com/elct9620/kobako/commit/2b641ccee300a160d39c5edf691487d05ac4e365))
|
|
56
|
+
* **net:** move each request on the thread that waits for it ([425f82a](https://github.com/elct9620/kobako/commit/425f82abc5fc0b78774d0ae4e448a13a547bac29))
|
|
57
|
+
* **net:** never let a Windows lookup's completion wait on its cancel ([020673b](https://github.com/elct9620/kobako/commit/020673baaaf438e3bf62655101d43a87c0ee4760))
|
|
58
|
+
* **net:** refuse CONNECT at the L7 proxy ([8c69128](https://github.com/elct9620/kobako/commit/8c69128e6548037c8c66f7cb444db85585a43a70))
|
|
59
|
+
* **net:** shut a connection down as its exchange lets it go ([054e70a](https://github.com/elct9620/kobako/commit/054e70a2f467688297a9c640efb55cbd27e0553b))
|
|
60
|
+
* **net:** swap nothing into a TRACE and refuse one with content ([2135449](https://github.com/elct9620/kobako/commit/21354496a920c073bdafdb738538e273bf60a49a))
|
|
61
|
+
* **runtime:** answer a name no DNS query carries before the lookup holds it ([6b50f3a](https://github.com/elct9620/kobako/commit/6b50f3ad92fc0557f9485cc517b4931e2ea0a11a))
|
|
62
|
+
* **runtime:** append through a Windows Bind in one step ([bcc692b](https://github.com/elct9620/kobako/commit/bcc692b788ea86e79af5416344c991c1ccc992f9))
|
|
63
|
+
* **runtime:** count only the guest's descriptors against the open-file cap ([b0deca2](https://github.com/elct9620/kobako/commit/b0deca26519684729f37bf288a6a40f28968f9d0))
|
|
64
|
+
* **runtime:** default an invocation's open files to 16 ([c091b90](https://github.com/elct9620/kobako/commit/c091b90f2590e4a4746e482cd6d8e8c45e58bc5d))
|
|
65
|
+
* **runtime:** hand a socket what its event reported, so Windows hears a reset ([67874f7](https://github.com/elct9620/kobako/commit/67874f7e7a67604ab35c1fe8c123e17ab4f6092e))
|
|
66
|
+
* **runtime:** hold 4 MiB in a Tmpfs given no size of its own ([23ad4fe](https://github.com/elct9620/kobako/commit/23ad4feaca61f0c320fffe6f29021ced42b5601e))
|
|
67
|
+
* **runtime:** hold what the host keeps for a run by counts, not memory ([5428293](https://github.com/elct9620/kobako/commit/54282932e5f8a523d3d9e79275b846265102a22f))
|
|
68
|
+
* **runtime:** keep the reactor's repolls through an interrupted wait ([5275c77](https://github.com/elct9620/kobako/commit/5275c777e56241597ca8a6d469b1fdfe69be2258))
|
|
69
|
+
* **runtime:** let a TCP socket hear a reset that follows its peer's FIN ([dac6ecb](https://github.com/elct9620/kobako/commit/dac6ecba588867e734e7797f4153e54a659edbe2))
|
|
70
|
+
* **runtime:** let a write trylock pass a line nobody was handed, as mutex_trylock ([de510f5](https://github.com/elct9620/kobako/commit/de510f53e3bb451c7f840aa6373ccf88dc7fcb4d))
|
|
71
|
+
* **runtime:** let the process's open connections start unbounded ([55c03c5](https://github.com/elct9620/kobako/commit/55c03c51e10ebab0415ace38640c8595f86a321f))
|
|
72
|
+
* **runtime:** number a hermetic invocation's entries in the order it meets them ([4e23399](https://github.com/elct9620/kobako/commit/4e23399eca979ae4526735c72e34133907dceeb3))
|
|
73
|
+
* **runtime:** promise a reset past the peer's FIN no sooner than a write ([5de137c](https://github.com/elct9620/kobako/commit/5de137c94efad7aa69f5486af099d2da5f72f699))
|
|
74
|
+
* **runtime:** reach a Windows Bind entry by any spelling its host folds ([0a38543](https://github.com/elct9620/kobako/commit/0a38543c42c73a8b0e9557f205ef663f925bf670))
|
|
75
|
+
* **runtime:** read a Windows Bind's link as a guest path ([f1f04f6](https://github.com/elct9620/kobako/commit/f1f04f689d2da83f148b741a2a4abdf232d161f1))
|
|
76
|
+
* **runtime:** remove a Windows Bind's link to a directory as itself ([f200e1e](https://github.com/elct9620/kobako/commit/f200e1ef157d1b12cc71c0f5efba42745a8e0738))
|
|
77
|
+
* **runtime:** report a Windows Bind entry's times ([8584c90](https://github.com/elct9620/kobako/commit/8584c90e2f406edfeeb54477a330fd2f9937b602))
|
|
78
|
+
* **runtime:** serve a directory lock's waiters in turn, as Linux's rwsem ([4ab9bd0](https://github.com/elct9620/kobako/commit/4ab9bd0e2e134ce10a1bd87f3d4924e2acc4c8e5))
|
|
79
|
+
* **runtime:** set a time through a Windows Bind's descriptor opened to read ([397e0b5](https://github.com/elct9620/kobako/commit/397e0b52feec1d29a41212dfeb4227a4be4d8352))
|
|
80
|
+
* **runtime:** spend a poll budget on each step an HTTP connection takes ([efea22b](https://github.com/elct9620/kobako/commit/efea22b06ede0b27e98a03d174cfc7b4b23ae5f4))
|
|
81
|
+
* **runtime:** spend connection_limit before each lookup and dial leaves the host ([f958a44](https://github.com/elct9620/kobako/commit/f958a44ad39b9b3870685fbe23d911f4c4c3fe33))
|
|
82
|
+
* **runtime:** stand a poll on each wait queue once ([ad9c2b5](https://github.com/elct9620/kobako/commit/ad9c2b503c56b604d2ea6ee16d5676f3d9bce312))
|
|
83
|
+
* **runtime:** stop a listing and a copy up between steps once the run is to stop ([b2aebca](https://github.com/elct9620/kobako/commit/b2aebca6a83499b4659c95be17a2f68202932d74))
|
|
84
|
+
* **runtime:** watch a socket for room only while a writer found none ([b7e1c4d](https://github.com/elct9620/kobako/commit/b7e1c4d9bcf53e8050dee44d7e68f726055a56ed))
|
|
85
|
+
* **sched:** let a wait go on through a wakeup that raises nothing ([cf7f484](https://github.com/elct9620/kobako/commit/cf7f484ca645be1a0c64b0f9530b6e39034d3db3))
|
|
86
|
+
* **security:** refuse a nested mount whose path passes a link ([71abead](https://github.com/elct9620/kobako/commit/71abead05818696ef9a2e2b9082bb871087cfa34))
|
|
87
|
+
* **vfs:** climb out of the walk's own Filesystem mounted again ([1cf46c2](https://github.com/elct9620/kobako/commit/1cf46c2ba61af87631208ae2aed0471b419bb531))
|
|
88
|
+
* **vfs:** keep each Filesystem's moves to the walks on it ([42062b9](https://github.com/elct9620/kobako/commit/42062b9c2f22e00f6317fa92ebd6abe2b3fd76b0))
|
|
89
|
+
* **vfs:** refuse a listing of a file without iterate_shared before locking it ([34eb327](https://github.com/elct9620/kobako/commit/34eb3273cd537ccbd2b7a3592ece38da79d60d2f))
|
|
90
|
+
* **vfs:** wake a name's waiters and a move's readers when a panic unwinds ([515343c](https://github.com/elct9620/kobako/commit/515343c71075517c7c4b9a05624df2ef733b62bc))
|
|
91
|
+
* **wasmtime:** stop a guest that only computes once its run takes a fatal signal ([32990b6](https://github.com/elct9620/kobako/commit/32990b63cd6ae16c5d8a0e473a218d46d29c8919))
|
|
92
|
+
|
|
93
|
+
## [0.21.0](https://github.com/elct9620/kobako/compare/kobako-runtime-v0.20.0...kobako-runtime-v0.21.0) (2026-11-18)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### ⚠ BREAKING CHANGES
|
|
97
|
+
|
|
98
|
+
* **transport:** kobako_transport::envelope::Reply is CallReply.
|
|
99
|
+
* **runtime:** kobako_runtime::network::{Ruleset, AddressSet, address_set_of} and kobako_runtime::net::{Transport, Connector, new_platform_tls} are no longer public.
|
|
100
|
+
* **security:** call kobako_runtime::security::prepare_creds in place of prepare_creds_within.
|
|
101
|
+
* **vfs:** call Rdir::iterate_shared and File::is_readable, is_writable, is_append, is_nonblock, is_dsync, and is_sync in place of the bare names.
|
|
102
|
+
* **vfs:** call Iattr::for_size, Iattr::for_times, Kiocb::new, and get_anon_bdev in place of Iattr::size, Iattr::times, Kiocb::at, and
|
|
103
|
+
* **vfs:** call Inode::file_type and File::file_type in place of kind.
|
|
104
|
+
* **runtime:** match SetupError::GuestBinaryNotFound in place of
|
|
105
|
+
* **network:** open_connection_limit bounds what one invocation holds open at once, not what all of a Sandbox's invocations hold together.
|
|
106
|
+
* **network:** an Entry's Policies are built with with_request_policy, with_resolve_policy, and with_connect_policy in place of with_request, with_resolve, and with_connect.
|
|
107
|
+
* **transport:** a Guest Binary built against ABI 5 is refused at construction. Rebuild it against kobako-core, whose export_guest! emits the new names. kobako-transport drops ABI_VERSION as a u32, FRAME_LEN_SIZE, MAX_FRAME_LEN, pack_ptr_len, and unpack_ptr_len, and names the ABI through ABI_VERSION ("0.6.0"), GUEST_INTERFACE, HOST_INTERFACE, DOWNCALL, UPCALL, and PREAMBLE. kobako-core drops alloc; answer returns the return area's address.
|
|
108
|
+
* **sdk:** `kobako::Options` and `kobako_wasmtime::Config` read and set every cap through `limits`: write `options.limits.timeout = …` where `options.timeout = …` was written, and likewise for `setup_timeout`, `memory_limit`, `stdout_limit`, `stderr_limit`, `open_file_limit`, `open_connection_limit`, and `connection_limit`.
|
|
109
|
+
* **transport:** kobako_transport::abi::MAX_DISPATCH_PAYLOAD is renamed to MAX_MESSAGE_LEN; its value is unchanged.
|
|
110
|
+
* **runtime:** `memory_limit` now bounds the guest's `memory.grow` and what the host holds for the run together, where a Filesystem written in Ruby had its directory listings counted against a limit of their own. A run that grew close to `memory_limit` and listed a large directory may now raise `Errno::ENOMEM` in the guest or `Kobako::MemoryLimitError`, and `Usage#memory_peak` includes the listings. Raise `memory_limit` by what those listings hold to keep the earlier headroom.
|
|
111
|
+
* **runtime:** `kobako_runtime::FilesystemError`, `kobako_runtime::vfs::FilesystemError`, and `kobako_runtime::filesystem::FilesystemError` are now `kobako_runtime::Errno`, also reachable as `kobako::Errno`. Rename the type in a Filesystem or security module; its variants are unchanged.
|
|
112
|
+
|
|
113
|
+
### Features
|
|
114
|
+
|
|
115
|
+
* bound a guest's connections per Sandbox, per run, and per process ([7a4f869](https://github.com/elct9620/kobako/commit/7a4f8692cbc788a23c582b90112cd0275739d496))
|
|
116
|
+
* **filesystem:** let a Host App mark a Filesystem only the guest changes ([b7e0c81](https://github.com/elct9620/kobako/commit/b7e0c81b7338bd16243a9157de5c8194227b95c8))
|
|
117
|
+
* **network:** route and refuse a Mock's dials by protocol, UDP included ([9e8b44d](https://github.com/elct9620/kobako/commit/9e8b44d425db205fe0bb2faccca0782acf1e1b4e))
|
|
118
|
+
* **runtime:** answer the guest's network from a table a test writes ([b3aba65](https://github.com/elct9620/kobako/commit/b3aba650760b8cff3113341500fa414b17f4dd76))
|
|
119
|
+
* **runtime:** end a guest's HTTPS on the host, trusting the OS's own store ([5809be2](https://github.com/elct9620/kobako/commit/5809be20fb1127f29811e97062e68cfb11972b82))
|
|
120
|
+
* **runtime:** hold a socket's hop limit, and a UDP socket's buffer sizes ([8cf7385](https://github.com/elct9620/kobako/commit/8cf7385474c9ef569a4fee7d025cc5887fe8bb8a))
|
|
121
|
+
* **runtime:** hold a TCP socket's keepalive probes and buffer sizes ([a435964](https://github.com/elct9620/kobako/commit/a435964d9d61fcfec7435061b230367008a25fc9))
|
|
122
|
+
* **runtime:** hold a TCP socket's keepalive setting for its host socket ([4562f51](https://github.com/elct9620/kobako/commit/4562f510685a92ae02050674968679e15171b637))
|
|
123
|
+
* **runtime:** judge a guest's HTTP request by its endpoint's rules and the request policies ([69de0da](https://github.com/elct9620/kobako/commit/69de0dac95d0dfd2ce8f76c8dc39fdd1f92235ef))
|
|
124
|
+
* **runtime:** make a Filesystem from its kind without wrapping it first ([e7eb8a0](https://github.com/elct9620/kobako/commit/e7eb8a00a37794226edce2aa7f1bdcab2ef6790b))
|
|
125
|
+
* **runtime:** stream datagrams with one peer through a UDP socket file ([f72fd2e](https://github.com/elct9620/kobako/commit/f72fd2e80c8a85acdd66a07b394b723124a5c6ed))
|
|
126
|
+
* **runtime:** swap an entry's credential into a request bound to its own endpoints ([4b64ccb](https://github.com/elct9620/kobako/commit/4b64ccb61bcae18907bf424d2539052e9588875e))
|
|
127
|
+
* **transport:** carry the Guest ABI in the Canonical ABI's core shape ([34b9560](https://github.com/elct9620/kobako/commit/34b956001a05e15fe29febd7098b2ceb054e1bab))
|
|
128
|
+
* **wasmtime:** take the network's Protocol Family and Resolver from Config ([56cc53f](https://github.com/elct9620/kobako/commit/56cc53fa56cd987666f6b18b16e5264e314d8ef8))
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Bug Fixes
|
|
132
|
+
|
|
133
|
+
* answer an oversized datagram EMSGSIZE from the socket itself ([02317bc](https://github.com/elct9620/kobako/commit/02317bcc8e1ef86aa4b4a5e7a3b63b297cb6aeab))
|
|
134
|
+
* bound a guest's header list by size and charge it to its memory ([80c9ee2](https://github.com/elct9620/kobako/commit/80c9ee2523e0a3ad5de78e769a45136bcbcb6dc8))
|
|
135
|
+
* **filesystem:** answer a Bind's macOS stored name that is not UTF-8 as an illegal sequence ([6b68ede](https://github.com/elct9620/kobako/commit/6b68edee7f48797104fb9c14948ebd9a79548e63))
|
|
136
|
+
* **filesystem:** answer a Bind's stored name that is not UTF-8 as an illegal sequence ([ca755a6](https://github.com/elct9620/kobako/commit/ca755a65576698c17ade2da337956fb2ef187382))
|
|
137
|
+
* **filesystem:** open on Linux only the file a Bind judged ([8073129](https://github.com/elct9620/kobako/commit/8073129219ee49c6b6d4fe6a1199e316bf4bbfa5))
|
|
138
|
+
* **http:** answer a request whose name has no address with DNS-error ([295fe03](https://github.com/elct9620/kobako/commit/295fe036232e9256b2b3ce49f46168a51ce3f7e2))
|
|
139
|
+
* **http:** refuse an outgoing body finished with trailers ([c3c8f1b](https://github.com/elct9620/kobako/commit/c3c8f1b3b6277865f119c04065109a8cb4e1ab76))
|
|
140
|
+
* **http:** send the trailers an outgoing body finishes with ([7792bcc](https://github.com/elct9620/kobako/commit/7792bccbedff4758b2ec85bae344c45769997518))
|
|
141
|
+
* **io:** answer a script's socket addr at the guest's own virtual address ([6e8891a](https://github.com/elct9620/kobako/commit/6e8891a9b242849f1d1d9cea825ab47480b69b0e))
|
|
142
|
+
* judge a request's authority, path, and headers as wasmtime does ([903cc7b](https://github.com/elct9620/kobako/commit/903cc7b39217f3038de6bab5981ea37499f25e1c))
|
|
143
|
+
* make each guest socket and its file at creation, as socket() does ([fca4311](https://github.com/elct9620/kobako/commit/fca4311060be90df2ec79c1d21bb3a9a5b0b36ca))
|
|
144
|
+
* **net:** abort a socket still waited on when its Invocation ends ([a1e8fd1](https://github.com/elct9620/kobako/commit/a1e8fd1bf2368e386812db0d637064c4675792b1))
|
|
145
|
+
* **net:** answer a dial with no local address as a DNS error ([954c486](https://github.com/elct9620/kobako/commit/954c4868bfe548c459b718897c22a5d3c7a8b0c7))
|
|
146
|
+
* **net:** answer a host down by its own name until a WASI code groups it ([1ec6001](https://github.com/elct9620/kobako/commit/1ec60013934486bf54fe2fa2e6fb6785009d4af1))
|
|
147
|
+
* **net:** answer a host socket's errno as wasmtime-wasi does on every host ([293ea2c](https://github.com/elct9620/kobako/commit/293ea2cccabc6d63840e199e796af419e2687658))
|
|
148
|
+
* **net:** answer a lookup's failure by its kind, as getaddrinfo does ([c70ae48](https://github.com/elct9620/kobako/commit/c70ae48796eb85f8ef62f9648acd1cd605070a02))
|
|
149
|
+
* **net:** answer a TLS handshake the server ends as connection-terminated ([7fa36bf](https://github.com/elct9620/kobako/commit/7fa36bf0b6121a27471134c7688550af5a479905))
|
|
150
|
+
* **net:** answer an IPv4-mapped address's lookup with its IPv4 address ([99f67c5](https://github.com/elct9620/kobako/commit/99f67c5da05bcc5d08222c8e505353475b68a93d))
|
|
151
|
+
* **net:** answer an unreachable request and a TLS alert as wasmtime-wasi-http does ([06bb9f9](https://github.com/elct9620/kobako/commit/06bb9f91c98bdb897853fc9fe0571ee20a6ee60d))
|
|
152
|
+
* **net:** answer connection-terminated for a connection cut mid-request ([bc7550c](https://github.com/elct9620/kobako/commit/bc7550c62e6fc12cbea1acc0f53349fc54a3e190))
|
|
153
|
+
* **net:** answer EAGAIN on a shut UDP read, as non-blocking Linux does ([675376d](https://github.com/elct9620/kobako/commit/675376d971c721ca23a5bd581e7d83db59dc94aa))
|
|
154
|
+
* **net:** answer preview2 permits, options, and schemes as wasmtime-wasi ([3489166](https://github.com/elct9620/kobako/commit/3489166945852ca53626b82510f5c0a728cf0b26))
|
|
155
|
+
* **net:** answer what the name server answered and sort as RFC 6724 does ([54fe183](https://github.com/elct9620/kobako/commit/54fe1838aadbbd9099298362944bdede7311be7b))
|
|
156
|
+
* **net:** ask a lost question again before taking half an answer ([0d8725e](https://github.com/elct9620/kobako/commit/0d8725efc9f8654f90ea6e9fc58000ac82d3fb5c))
|
|
157
|
+
* **net:** bound an HTTP request by the timeouts request-options sets ([b0e35d8](https://github.com/elct9620/kobako/commit/b0e35d80a275ecb33679ff1967e05f476f155ce7))
|
|
158
|
+
* **net:** bound each wait a request leaves without a timeout at 600 seconds ([bd0fb84](https://github.com/elct9620/kobako/commit/bd0fb848904a57fff6dbd8eff413915dc2eecc8c))
|
|
159
|
+
* **net:** cancel a name lookup nobody waits for ([bf8c668](https://github.com/elct9620/kobako/commit/bf8c6682055f8993060de7c79c2d4af51a0bd111))
|
|
160
|
+
* **net:** cancel a Windows name lookup through GetAddrInfoExW ([db42e04](https://github.com/elct9620/kobako/commit/db42e042859bbafc32fd929cc9c8b9ddb4226513))
|
|
161
|
+
* **net:** close a guest's TCP socket the way Linux closes one ([c0f95e0](https://github.com/elct9620/kobako/commit/c0f95e0410edd7498bb4a0cea0039cacef1253a4))
|
|
162
|
+
* **net:** dial an HTTP request's upstream through a TCP socket of the Invocation's own ([c4cb150](https://github.com/elct9620/kobako/commit/c4cb150f7cfe65db6cfa2cfc584002623b7b12cc))
|
|
163
|
+
* **net:** disarm a lookup's timer when the lookup is cancelled ([743a806](https://github.com/elct9620/kobako/commit/743a8065dfc98ce19d65f3a894ef1aecdc537b91))
|
|
164
|
+
* **net:** end a lookup whose socket cannot open, as res_send does ([f1c0869](https://github.com/elct9620/kobako/commit/f1c086972882f7fc112f217bba1ba1f075e34b0d))
|
|
165
|
+
* **net:** give a repeated real address one virtual address on every resolver ([c0d4666](https://github.com/elct9620/kobako/commit/c0d46667beff26588fba72e6b872ef0ed73c06af))
|
|
166
|
+
* **net:** hold a request's parts against memory while it is sent ([d1b642b](https://github.com/elct9620/kobako/commit/d1b642b1171d54b4c0d4cbc1ae6e8ff313b3dc89))
|
|
167
|
+
* **net:** hold a request's parts and a response's head against memory ([fbc93c5](https://github.com/elct9620/kobako/commit/fbc93c5d763396cb5b928801380ef3989ec931af))
|
|
168
|
+
* **net:** hold an HTTP request's place until its connection closes ([d6b9a14](https://github.com/elct9620/kobako/commit/d6b9a1404954f768caea6708eed045803651feec))
|
|
169
|
+
* **net:** hold one reactor timer per waiting task ([051b355](https://github.com/elct9620/kobako/commit/051b3559b19624f7c7d4e2f531574db1f77c8c6f))
|
|
170
|
+
* **net:** hold the seam's read buffer against the Invocation's memory ([b589454](https://github.com/elct9620/kobako/commit/b5894545e572e34e17cce06d59bfa08ea1688555))
|
|
171
|
+
* **net:** judge a request's method in the case the guest sends it ([d74784a](https://github.com/elct9620/kobako/commit/d74784a464aa60493e3b1718eb9fd5dd47468c8a))
|
|
172
|
+
* **net:** judge an unaskable name before asking, and move past a server that fails ([646d022](https://github.com/elct9620/kobako/commit/646d0222596ac1bbb352e87d9a1227e2bb271669))
|
|
173
|
+
* **net:** judge and reach a connected peer the way the outbound path promises ([8a2797b](https://github.com/elct9620/kobako/commit/8a2797b867c886cf03cd123b1efc3011d7819bac))
|
|
174
|
+
* **net:** keep a released response's head against the Invocation's memory ([c808ec2](https://github.com/elct9620/kobako/commit/c808ec2c9f7d2507e8e1ae381fc3e2e00f8ea747))
|
|
175
|
+
* **net:** keep one virtual address per name, and judge a UDP send's peer by it ([8cc7afe](https://github.com/elct9620/kobako/commit/8cc7afe97956a25489bccfa82bf7d1ec7e750818))
|
|
176
|
+
* **net:** let a Protocol Family say whether a UDP socket repoints ([d96b0dc](https://github.com/elct9620/kobako/commit/d96b0dcfa32b7f636a360f471d7e0bcb7bc9d453))
|
|
177
|
+
* **net:** name a host socket's failure from its errno where std names none ([dddffa4](https://github.com/elct9620/kobako/commit/dddffa4bdc22575e3af4b27809662b04127aafc6))
|
|
178
|
+
* **net:** never cancel a Windows lookup through a handle it already ended ([6fc0bd4](https://github.com/elct9620/kobako/commit/6fc0bd4bfca32bc166d26b7ca6feb2d5c21a24c1))
|
|
179
|
+
* **net:** poll a TCP socket writable once its room is half what it queued ([a1873ee](https://github.com/elct9620/kobako/commit/a1873eead26a9a69f24bfe2d4d17ed9806d758cc))
|
|
180
|
+
* **net:** read a host the guest names as wasmtime-wasi's lookup does ([2defe86](https://github.com/elct9620/kobako/commit/2defe8666e9046179dab4ff8b74057e69c9ab10a))
|
|
181
|
+
* **net:** read back the very failure an upstream socket answered ([2c5a158](https://github.com/elct9620/kobako/commit/2c5a1588d73c1d858008c99fd7cda7f41bb9fac3))
|
|
182
|
+
* **net:** read DNS replies and resolver files as glibc's stub does ([ca6ed41](https://github.com/elct9620/kobako/commit/ca6ed41d4bc5384f1b0a78eda49045971c5748d4))
|
|
183
|
+
* **net:** read EDESTADDRREQ and ENOPROTOOPT from a host socket's errno ([84f310e](https://github.com/elct9620/kobako/commit/84f310ee0e4102d6899d8144bc4b202ebe8b65cc))
|
|
184
|
+
* **net:** refuse a request whose target is not in origin form ([4d02252](https://github.com/elct9620/kobako/commit/4d02252ec6a5c4a714f99cc67f4f79bbab95558a))
|
|
185
|
+
* **net:** repoint a UDP socket within the family its route sends in ([a1d1696](https://github.com/elct9620/kobako/commit/a1d1696bad555b4af162f997ae0e47a32a495e1c))
|
|
186
|
+
* **net:** repoll a socket once, after the round that follows its request ([df2a0e2](https://github.com/elct9620/kobako/commit/df2a0e201442e3ebef4743fcc88e67597e1ead89))
|
|
187
|
+
* **net:** resolve names on Linux with a stub resolver that can be cancelled ([cd3e4eb](https://github.com/elct9620/kobako/commit/cd3e4eb0b6041c47ce01c29c844299cf0e90c745))
|
|
188
|
+
* **net:** send a request's Host as the endpoint judged it ([30cb26d](https://github.com/elct9620/kobako/commit/30cb26d4c66e00e3fffeff7d4824658c1c10bb61))
|
|
189
|
+
* **net:** start a request's name lookup on the thread that sends it ([20c0d8c](https://github.com/elct9620/kobako/commit/20c0d8c1df7752e79df1fc98132be9dd4a6373d1))
|
|
190
|
+
* **net:** start a TCP socket's send buffer at Linux's default until it connects ([ea560c8](https://github.com/elct9620/kobako/commit/ea560c8ecdb0af143f94581ed10147bdc3e0359a))
|
|
191
|
+
* **net:** take a UDP peer's datagrams in before repointing, and refuse an empty label ([a67fa20](https://github.com/elct9620/kobako/commit/a67fa200521fe16379c0db5afb556268a0f606a7))
|
|
192
|
+
* **net:** take a UDP socket's datagrams in bounded turns, counting what each holds ([3362df2](https://github.com/elct9620/kobako/commit/3362df24070231ecaa8aec4f556309a02e5b3949))
|
|
193
|
+
* **net:** take a UDP socket's turn again once it spends its bound ([2711e0d](https://github.com/elct9620/kobako/commit/2711e0dd45290758bea28031c1cde5c5797ff593))
|
|
194
|
+
* **net:** try the next address when a request's first one is refused at once ([ac04578](https://github.com/elct9620/kobako/commit/ac04578bd77cb666433fda285587451fc66d5692))
|
|
195
|
+
* **net:** wait on a socket by its own flag, and reset a released one sent to ([9dbac06](https://github.com/elct9620/kobako/commit/9dbac065500e78c84a2ae000f06064f6f21b17f1))
|
|
196
|
+
* **net:** wait on a socket whose non-blocking flag was cleared ([ad36e6c](https://github.com/elct9620/kobako/commit/ad36e6c41011f3cebe4f3b653a2bef8c05dbbf21))
|
|
197
|
+
* **network:** answer an endpoint the ruleset refuses as the Host App's argument ([1c6d710](https://github.com/elct9620/kobako/commit/1c6d710855495f874761eef1933f51c93a7a62b0))
|
|
198
|
+
* **network:** bind a credential a Basic pair carries encoded ([7b40467](https://github.com/elct9620/kobako/commit/7b40467218d347ca588a55d573a4457231782a5a))
|
|
199
|
+
* **network:** close a TCP socket once both ends sent their FIN, as tcp_done does ([db99d3b](https://github.com/elct9620/kobako/commit/db99d3b7128343fb307ef8f95e9fa97f03c8c275))
|
|
200
|
+
* **network:** compile a DNS endpoint like any other ([f47524b](https://github.com/elct9620/kobako/commit/f47524b888444314cd8762e45e4ef5ba4db92b64))
|
|
201
|
+
* **network:** count each invocation's open connections apart ([dc426f6](https://github.com/elct9620/kobako/commit/dc426f60595b2df4ff508e7534ae37b7afed502c))
|
|
202
|
+
* **network:** hand a request policy each header name in lower case ([fd8efae](https://github.com/elct9620/kobako/commit/fd8efaeb74340dcc9ba224020ffd596b21a7f4af))
|
|
203
|
+
* **network:** judge a path rule in work bounded by the path ([20f37fc](https://github.com/elct9620/kobako/commit/20f37fcece42d3aea0018c987948a0814448b38e))
|
|
204
|
+
* **network:** leave a refused hop limit out of a UDP connect's outcome ([0879854](https://github.com/elct9620/kobako/commit/087985403063cb1be453854f13d20e0822ba8fc8))
|
|
205
|
+
* **network:** never let an HTTP exchange go from inside its own task ([84b0ad9](https://github.com/elct9620/kobako/commit/84b0ad9ee5fca6be009e35cf7178503005d1b7f0))
|
|
206
|
+
* **network:** read a Mock's names with the URL host parser ([a170e19](https://github.com/elct9620/kobako/commit/a170e197a85a1f7ca1dd6d00d62cb7dfa33b39b7))
|
|
207
|
+
* **network:** read a socket's own end at a virtual port, not the host's ([1ef8486](https://github.com/elct9620/kobako/commit/1ef84864b6f8106e25eaa5fd0abf7310d56835c6))
|
|
208
|
+
* **network:** refuse a denied path in another case or with a trailing slash ([ff727bc](https://github.com/elct9620/kobako/commit/ff727bc5307f9739a54878d45e2359868877e4e8))
|
|
209
|
+
* **network:** refuse a Mock's dial with an errno that reads alike on every host ([3a7b705](https://github.com/elct9620/kobako/commit/3a7b705d82b195b4de1c54bc56fd04464dadba11))
|
|
210
|
+
* **network:** refuse a request carrying a credential's placeholder more than once ([03caf31](https://github.com/elct9620/kobako/commit/03caf319a318bbdec14273822dfcd612256a6b84))
|
|
211
|
+
* **network:** refuse a request whose credential cannot answer ([5b1f0c2](https://github.com/elct9620/kobako/commit/5b1f0c2abe8e2738aa3263ff3027245e7b654fb7))
|
|
212
|
+
* **network:** refuse a request whose method is not a token before any policy ([23a8e75](https://github.com/elct9620/kobako/commit/23a8e75d573b14610bdb048a0a3600017be0d69a))
|
|
213
|
+
* **network:** refuse an endpoint whose port was set to zero after it was built ([cac4605](https://github.com/elct9620/kobako/commit/cac46052eeffe272a7e5453e27aa8d97ff7e8409))
|
|
214
|
+
* **runtime:** answer a host refusal by the errno it holds, as Linux does ([637e02b](https://github.com/elct9620/kobako/commit/637e02b9a2a037b7d85e8216128c02c702d6c50a))
|
|
215
|
+
* **runtime:** answer a TCP socket's error, close, and shutdown as Linux does ([dd4c684](https://github.com/elct9620/kobako/commit/dd4c68478c431833d79073eda8de83fde020ba81))
|
|
216
|
+
* **runtime:** answer a UDP port unreachable as refused on Windows too ([32a94c3](https://github.com/elct9620/kobako/commit/32a94c3991265a6e967253d7d624c27282acc9c4))
|
|
217
|
+
* **runtime:** charge empty datagrams and virtual addresses ([9a4d9ba](https://github.com/elct9620/kobako/commit/9a4d9ba92cbd3ba5f7570f1693282202db43b6d9))
|
|
218
|
+
* **runtime:** charge the guest's growth and host-held memory to one budget ([f19659e](https://github.com/elct9620/kobako/commit/f19659ed93d0f5b0c1472dbc3bdbbb6815efbb4f))
|
|
219
|
+
* **runtime:** check a socket's state before its connect is translated or judged ([044f471](https://github.com/elct9620/kobako/commit/044f471f82aa5ac9edae39fae6dfae31be4e3dbf))
|
|
220
|
+
* **runtime:** class IPv6 addresses by IANA's special-purpose registry ([205ae65](https://github.com/elct9620/kobako/commit/205ae65e1924d65087e33472ba0074c840109932))
|
|
221
|
+
* **runtime:** connect a TCP socket again as Linux does ([7679d71](https://github.com/elct9620/kobako/commit/7679d71bd2bd71268b7da10a210be9522b032347))
|
|
222
|
+
* **runtime:** finish an Overlay's cut-short workdir cleanup before its next change ([5f04225](https://github.com/elct9620/kobako/commit/5f04225a4f584bff876d7ad059f61a67b376da86))
|
|
223
|
+
* **runtime:** follow Linux's inet socket through a connect that fails ([596febd](https://github.com/elct9620/kobako/commit/596febdbce08a45f5fc49b713977af5acc664702))
|
|
224
|
+
* **runtime:** give a socket its virtual port as Linux's inet layer does ([2c80c02](https://github.com/elct9620/kobako/commit/2c80c027801b5a00501fb8141e8ebde53879a855))
|
|
225
|
+
* **runtime:** give a Tmpfs whiteout an inode and times of its own ([34d8c31](https://github.com/elct9620/kobako/commit/34d8c312ba9864dd463af78a31589c93f5589cd0))
|
|
226
|
+
* **runtime:** give back a TCP socket's unnamed port once a connect fails ([03a5d7f](https://github.com/elct9620/kobako/commit/03a5d7fda454ba42a6a6798c1698b282be1c0f4e))
|
|
227
|
+
* **runtime:** give each Invocation's outbound seam its own TLS sessions ([75119d8](https://github.com/elct9620/kobako/commit/75119d88a49f546a2d827a9476c5067d99bc02dd))
|
|
228
|
+
* **runtime:** give each real address its own virtual address and dial one destination ([71c1b8d](https://github.com/elct9620/kobako/commit/71c1b8d7c3ee5ee34f57e5f1a48b43619176d129))
|
|
229
|
+
* **runtime:** hold a socket's buffers against the Invocation's memory ([5d629a7](https://github.com/elct9620/kobako/commit/5d629a71f1940222dac36a57502030025575ef70))
|
|
230
|
+
* **runtime:** hold a TCP socket's virtual port before it dials ([dff5cfe](https://github.com/elct9620/kobako/commit/dff5cfe788339146fda4ef3cb9b88c2cb6bd0302))
|
|
231
|
+
* **runtime:** judge a connect in Linux's order inside the runtime ([f5ede3a](https://github.com/elct9620/kobako/commit/f5ede3af5e8329c21f7630066c1ec539863ef433))
|
|
232
|
+
* **runtime:** judge IDN endpoints, Basic credentials, and request order as promised ([a1d4a35](https://github.com/elct9620/kobako/commit/a1d4a353f439cfa2fc5a9b11119f0bda622122ef))
|
|
233
|
+
* **runtime:** judge the guest's HTTP headers, binds, and peerless streams in the runtime ([bc3e024](https://github.com/elct9620/kobako/commit/bc3e024483e43d8b121cb67e661e06e99997f604))
|
|
234
|
+
* **runtime:** judge the request target the server reads ([9bc185e](https://github.com/elct9620/kobako/commit/9bc185e6f00375498f4d9119a34357e32d52279b))
|
|
235
|
+
* **runtime:** keep a deadline in a forked child with a ticker of its own ([030a3fa](https://github.com/elct9620/kobako/commit/030a3fa9360b93c0fcee4ba77c2f110ddf8d4b13))
|
|
236
|
+
* **runtime:** keep a failed growth in the memory peak ([2e2b986](https://github.com/elct9620/kobako/commit/2e2b986dfa47aff61f0c20ad9b63178bfccbd441))
|
|
237
|
+
* **runtime:** keep a name a Mock holds twice held until both holds drop ([26b362c](https://github.com/elct9620/kobako/commit/26b362cc9e61509f025ac6c5700bf3e95ed2b137))
|
|
238
|
+
* **runtime:** keep a refused connect's error when its options cannot be set ([258b51e](https://github.com/elct9620/kobako/commit/258b51e1d8398619da5cd6a1dcbd8e0ba42cf7d6))
|
|
239
|
+
* **runtime:** keep a socket's names for a host down to sockets ([6895bf9](https://github.com/elct9620/kobako/commit/6895bf97e7e1e2fa95d00e6602b39c16f3cb2f60))
|
|
240
|
+
* **runtime:** keep a TCP socket's options when its host socket refuses one ([53284a4](https://github.com/elct9620/kobako/commit/53284a4ad02da8dd23dd9402b070462f58b765aa))
|
|
241
|
+
* **runtime:** keep a UDP socket's port as it connects again ([070cf8a](https://github.com/elct9620/kobako/commit/070cf8a50c6b8cc93816b5a34711c3910d13333e))
|
|
242
|
+
* **runtime:** keep an interrupt to the run of the call it reached ([fa61002](https://github.com/elct9620/kobako/commit/fa610027b2d19fd746a4197340a1aa768964bc42))
|
|
243
|
+
* **runtime:** keep Nagle's algorithm on a guest's own TCP socket ([7db0695](https://github.com/elct9620/kobako/commit/7db06959f615300783b606a3cb7416c8b909980c))
|
|
244
|
+
* **runtime:** leave a parent watching a socket its forked child lets go ([25161bf](https://github.com/elct9620/kobako/commit/25161bfb079a3cee169bafbe11a5fafe7471adf5))
|
|
245
|
+
* **runtime:** let an HTTP exchange go once nothing holds it ([2d78df9](https://github.com/elct9620/kobako/commit/2d78df98d11cdd8671629b1da2a5ac4b0b1862e7))
|
|
246
|
+
* **runtime:** name a host failure the same way through a Bind as through a socket ([8d30507](https://github.com/elct9620/kobako/commit/8d30507987771fb94892c2388e19dcfb52f30d04))
|
|
247
|
+
* **runtime:** name a host failure through one table for files and sockets ([1490a1f](https://github.com/elct9620/kobako/commit/1490a1f7c5fdfa5a383a12bfb0e0b8a4fef3fcdd))
|
|
248
|
+
* **runtime:** name a host out of quota, links, or a busy program as Linux does ([6f5f816](https://github.com/elct9620/kobako/commit/6f5f816a6192dec2ea21c219a3a2f2497a6b2aac))
|
|
249
|
+
* **runtime:** name a local address another socket holds as EADDRINUSE ([6b39011](https://github.com/elct9620/kobako/commit/6b3901117e18568bd1c47d3f1a913df67f09ea35))
|
|
250
|
+
* **runtime:** read a UDP socket's own queue alone, leaving the rest to the reactor's next turn ([b1a9208](https://github.com/elct9620/kobako/commit/b1a92088e56c2f9f934aa4e7f6963f497d30c456))
|
|
251
|
+
* **runtime:** refuse a cap of zero in one place both frontends ask ([aef531e](https://github.com/elct9620/kobako/commit/aef531eda4f2b32bc4748b0d09b98058331af3b6))
|
|
252
|
+
* **runtime:** refuse a connect to an unmapped virtual address ([6a65311](https://github.com/elct9620/kobako/commit/6a653119a14d428df421157accf76ecb2ec04efb))
|
|
253
|
+
* **runtime:** refuse a connect when the host's addresses are unread ([47b1cd0](https://github.com/elct9620/kobako/commit/47b1cd0d168a6baa8c94bc5da85513bd3dc7e878))
|
|
254
|
+
* **runtime:** refuse a path servers normalize differently ([ba45e4f](https://github.com/elct9620/kobako/commit/ba45e4f5a48bf8f28e4e812465ad122bcbd8f72d))
|
|
255
|
+
* **runtime:** refuse a return area before the guest gives room for the answer ([8fe210c](https://github.com/elct9620/kobako/commit/8fe210ce77e4168a51842b57b05a076a65320a9f))
|
|
256
|
+
* **runtime:** refuse a second connect on a connecting or connected socket ([2949d40](https://github.com/elct9620/kobako/commit/2949d402303e11af2b4346a866fee754e1e00dbd))
|
|
257
|
+
* **runtime:** refuse an https request with no trust roots before dialing ([ba0995c](https://github.com/elct9620/kobako/commit/ba0995cd6dc3f5f9f6b0e74e8b0801348f35ebb5))
|
|
258
|
+
* **runtime:** report socket failures as Linux does and keep the reactor and resolver honest ([b7e9a0d](https://github.com/elct9620/kobako/commit/b7e9a0dfc55f32bbe2a844ff89c0bc4162429438))
|
|
259
|
+
* **runtime:** resolve a request's authority as a lookup holding its place ([fd62ff6](https://github.com/elct9620/kobako/commit/fd62ff6ba9a53ab66eb8a68037ae85bb95f01387))
|
|
260
|
+
* **runtime:** send a UDP datagram at once and answer its failures as Linux does ([6abbab0](https://github.com/elct9620/kobako/commit/6abbab0e0da88f4b05797396aa7c96b8e061b3ed))
|
|
261
|
+
* **runtime:** stop an Overlay copy up between chunks once its run must end ([855dfcc](https://github.com/elct9620/kobako/commit/855dfcc0a91d02730527b3219bc209c0231738a4))
|
|
262
|
+
* **runtime:** take a datagram past the receive buffer into an empty queue ([8f2f670](https://github.com/elct9620/kobako/commit/8f2f670619c7997e0c75a7869e1d5592b4c0e50a))
|
|
263
|
+
* **runtime:** take the reactor before a TCP socket dials ([e056522](https://github.com/elct9620/kobako/commit/e0565227c357d05bca12610cd26d4aaac85b604a))
|
|
264
|
+
* **runtime:** tell a Bind's entries apart by identity on Windows too ([7f42b5c](https://github.com/elct9620/kobako/commit/7f42b5c264ab095866beed471a433ed28e5830ea))
|
|
265
|
+
* **security:** fail the run when a nested mount's last name is missing ([757b654](https://github.com/elct9620/kobako/commit/757b654aa56336f72496f6b4f23de3635429849c))
|
|
266
|
+
* **security:** hold every name a nested mount's path leads through ([ae77f10](https://github.com/elct9620/kobako/commit/ae77f10589678601a1cd18807eff9d077938c86c))
|
|
267
|
+
* **security:** hold every name the walk placing a mount stepped onto ([ef9970e](https://github.com/elct9620/kobako/commit/ef9970ec6fa3b0b291a1fbd8873c4267b3465218))
|
|
268
|
+
* **security:** make no Cred for a Mount that stands nowhere ([c2c6190](https://github.com/elct9620/kobako/commit/c2c619095eb452d19be1aab65941b7cb86b339dd))
|
|
269
|
+
* **security:** refuse to move a directory above a nested mount ([e81193e](https://github.com/elct9620/kobako/commit/e81193e5259a296f71842053258cd78bf62487bf))
|
|
270
|
+
* **vfs:** ask a mount moved onto its name again as later mounts land ([515e944](https://github.com/elct9620/kobako/commit/515e944addca4b173cdd60b00949764e9f44e91e))
|
|
271
|
+
* **vfs:** ask a walk again when a move lands before a `..` out of a mount ([06b5bd8](https://github.com/elct9620/kobako/commit/06b5bd8e839dccde5dc25f4bd67df5f7058898ab))
|
|
272
|
+
* **vfs:** fail the run when a nested mount stands nowhere ([b6e44fa](https://github.com/elct9620/kobako/commit/b6e44fa43723831b2c7d37c64bbfea95f2086b83))
|
|
273
|
+
* **vfs:** find a directory's inode in use by its identity ([d817440](https://github.com/elct9620/kobako/commit/d817440b61ca50a192f0f8f1b3d1fd03fe80595d))
|
|
274
|
+
* **vfs:** find a mount point busy only once a removal or move may go ahead ([468e539](https://github.com/elct9620/kobako/commit/468e539513238a3235140f23b2b9a4f7703e1118))
|
|
275
|
+
* **vfs:** find a rename's source busy only when nothing stands at its name ([8a6416a](https://github.com/elct9620/kobako/commit/8a6416a69a48f7e6779be1ab53eff07d9d00ac0e))
|
|
276
|
+
* **vfs:** keep a dentry a move carried while its revalidation was asked ([cb20bb6](https://github.com/elct9620/kobako/commit/cb20bb6658d59e000d07fe6e9e299a0a0c5d3f35))
|
|
277
|
+
* **vfs:** keep a mount on its name where its link leads nowhere it can stand ([5100c3d](https://github.com/elct9620/kobako/commit/5100c3de9bfff5e9a2a17f981f8ea90bc9037b93))
|
|
278
|
+
* **vfs:** keep every mount reached as later mounts are placed ([1e550e6](https://github.com/elct9620/kobako/commit/1e550e684e857d524a72ea56a3669cf94c310e5e))
|
|
279
|
+
* **vfs:** place each mount as Linux's mount does, and open its preopen there ([a750bc7](https://github.com/elct9620/kobako/commit/a750bc75b3f1e8bcaf62ecaca1227fc0c92914c4))
|
|
280
|
+
* **vfs:** preopen only the outermost mounts and place the rest as Linux does ([7d21f34](https://github.com/elct9620/kobako/commit/7d21f348ab237497f4a509e464563f6c472a8a17))
|
|
281
|
+
* **vfs:** reach a nested mount however the guest spells its path ([73fb96a](https://github.com/elct9620/kobako/commit/73fb96ab63eaf01c73aaef1c803424513b2b07fd))
|
|
282
|
+
* **vfs:** show the later of two mounts standing on one directory ([baa4f16](https://github.com/elct9620/kobako/commit/baa4f16fba855d5383376c30cd442c6953b6ca58))
|
|
283
|
+
* **vfs:** stand a mount on the directory a link at its path leads to ([6f7d8ef](https://github.com/elct9620/kobako/commit/6f7d8eff35269165014300ea36b1af9db4d24f21))
|
|
284
|
+
* **vfs:** stand a mount on the name its path spells again ([5ed6e51](https://github.com/elct9620/kobako/commit/5ed6e51ebc6b146d13c39fe1d7722a9c054b5712))
|
|
285
|
+
* **vfs:** stand a mount only where a walk of its own path reaches it ([f9138b0](https://github.com/elct9620/kobako/commit/f9138b0eee7eea5298b4dced99428ed0492a7319))
|
|
286
|
+
* **vfs:** stand a nested mount on its mount point's dentry ([9ae2dd8](https://github.com/elct9620/kobako/commit/9ae2dd8b2403bd62faa62208d05a704d00de709a))
|
|
287
|
+
* **wasmtime:** answer a connect, a short write, and a datagram's sender as wasmtime-wasi ([d1762d0](https://github.com/elct9620/kobako/commit/d1762d0a6f703c003cdb8bf00c81628f61ce2b6f))
|
|
288
|
+
* **wasmtime:** give back the charge of a growth wasmtime then fails ([070c463](https://github.com/elct9620/kobako/commit/070c463e11428eb27465d6d9a9e7ba38b738249f))
|
|
289
|
+
* **wasmtime:** judge a TCP socket's pollable by the connect under way as it is polled ([b89bccd](https://github.com/elct9620/kobako/commit/b89bccdba789d69dc7b69ad07a7176b0d310b963))
|
|
290
|
+
* **wasmtime:** refuse a short socket write whole, before any byte leaves ([5be1ec0](https://github.com/elct9620/kobako/commit/5be1ec027474376ecfcadce6d280891efe1a0afa))
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
### Performance Improvements
|
|
294
|
+
|
|
295
|
+
* **vfs:** keep a walk's trail only where a mount is placed ([ab34a1a](https://github.com/elct9620/kobako/commit/ab34a1a373fceb54167545aeb0a9aea7ebd98af2))
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### Code Refactoring
|
|
299
|
+
|
|
300
|
+
* **network:** name each Policies setter after the policy it sets ([299bfe1](https://github.com/elct9620/kobako/commit/299bfe114dae25fe82de8d10a27db6b7de14f018))
|
|
301
|
+
* **runtime:** keep the ruleset and the L7 transport inside the runtime ([18db50b](https://github.com/elct9620/kobako/commit/18db50b68c11fa0d8e7764fc40523453b1032852))
|
|
302
|
+
* **runtime:** name the errno type Errno at the crate root ([f608e31](https://github.com/elct9620/kobako/commit/f608e31e81d1be9ddc6bb2fc8f6a26e5acafced4))
|
|
303
|
+
* **runtime:** name the missing Guest Binary's setup failure after what is missing ([732b8be](https://github.com/elct9620/kobako/commit/732b8bece8e796bd36d5e350b623c5ab8db28349))
|
|
304
|
+
* **sdk:** hold a Sandbox's caps as the runtime's Limits ([9730d6a](https://github.com/elct9620/kobako/commit/9730d6a73fec595c2b75ac8981aeb655937045df))
|
|
305
|
+
* **security:** prepare an invocation's Cred as Linux's prepare_creds does ([e4f8f86](https://github.com/elct9620/kobako/commit/e4f8f86f3b25fd468f54dcc332e5767ac4ac9c32))
|
|
306
|
+
* **transport:** name a Call's reply CallReply beside YieldReply and CompileReply ([f34063e](https://github.com/elct9620/kobako/commit/f34063ee94edb723800b4a0670cf912aa1a445e0))
|
|
307
|
+
* **transport:** name the message cap by what it bounds ([133e1c1](https://github.com/elct9620/kobako/commit/133e1c151506a1f41d5f2d17ac2678648c6ed262))
|
|
308
|
+
* **vfs:** build a change, a call, and a device number by the names Rust and Linux use ([f5710f8](https://github.com/elct9620/kobako/commit/f5710f82f0452d8aeb7dd8ee7cc2b822ae7c14fe))
|
|
309
|
+
* **vfs:** read an inode's or a file's type as file_type ([48150f7](https://github.com/elct9620/kobako/commit/48150f75263e9c195a8751ba8a9654c029162aa6))
|
|
310
|
+
* **vfs:** spell a rename, a listing, and an open file's flags as Linux and Rust do ([5bc0175](https://github.com/elct9620/kobako/commit/5bc01757679c2b68c77e22dd86e3dac9f001f4b5))
|
|
311
|
+
|
|
3
312
|
## [0.20.0](https://github.com/elct9620/kobako/compare/kobako-runtime-v0.19.0...kobako-runtime-v0.20.0) (2026-11-07)
|
|
4
313
|
|
|
5
314
|
|
|
@@ -14,13 +14,16 @@ engine stays swappable.
|
|
|
14
14
|
| `snapshot` | each invocation's `Completion` (outcome or trap), both output `Capture`s, and `Usage` |
|
|
15
15
|
| `error` | the neutral failure types: `Trap`, `SetupError`, and `InvokeError` over both |
|
|
16
16
|
| `profile` | the isolation `Profile` a runtime declares |
|
|
17
|
-
| `grant` | the `Grant`
|
|
18
|
-
| `mount` | the `Mount` at a guest path, its `Access`, and the `
|
|
17
|
+
| `grant` | the `Grant` each invocation receives, the supported `GrantKind`s, and the `Policy` |
|
|
18
|
+
| `mount` | the `Mount` at a guest path, its `Access`, and the `MountRequest` its `Policy` judges |
|
|
19
|
+
| `network` | a named `Network` entry: its endpoints, credentials, and `Policies` |
|
|
20
|
+
| `net` | the `Namespace` behind the guest's sockets and HTTP, and its seams |
|
|
19
21
|
| `filesystem` | the `FileSystemType` and `InodeOperations` traits and the three kinds kobako ships |
|
|
20
22
|
| `endpoint` | the host side of the kobako ABI, over the `GuestInstance` an engine implements |
|
|
21
23
|
| `vfs` | the walk, open files, and pipes each engine's calls reach, whichever ABI it encodes |
|
|
22
24
|
| `security` | the security modules an invocation registers: kobako's own rules and each Mount's `Policy` |
|
|
23
|
-
| `sched` | the `Blocking` a frontend registers, how its threads wait
|
|
25
|
+
| `sched` | the `Blocking` a frontend registers, how its threads wait |
|
|
26
|
+
| `wait` | the wait queues and `do_poll` a host-side wait sleeps on |
|
|
24
27
|
| `dispatch` / `yielder` | the `DispatchHandler` and `Yielder` traits a frontend supplies for guest→host dispatch and block-yield re-entry |
|
|
25
28
|
|
|
26
29
|
Engine implementations such as `kobako-wasmtime` implement `Runtime`.
|
|
@@ -33,7 +36,7 @@ Add the crate to an engine or a frontend that speaks the contract.
|
|
|
33
36
|
|
|
34
37
|
```toml
|
|
35
38
|
[dependencies]
|
|
36
|
-
kobako-runtime = "0.
|
|
39
|
+
kobako-runtime = "0.22.0" # x-release-please-version
|
|
37
40
|
```
|
|
38
41
|
|
|
39
42
|
## License
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.22.0](https://github.com/elct9620/kobako/compare/kobako-transport-v0.21.0...kobako-transport-v0.22.0) (2026-11-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **kobako-transport:** Synchronize kobako crates versions
|
|
9
|
+
|
|
10
|
+
## [0.21.0](https://github.com/elct9620/kobako/compare/kobako-transport-v0.20.0...kobako-transport-v0.21.0) (2026-11-18)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* **transport:** kobako_transport::envelope::Reply is CallReply.
|
|
16
|
+
* **transport:** call Driver::from_file in place of Driver::new;
|
|
17
|
+
* **transport:** a Guest Binary built against ABI 5 is refused at construction. Rebuild it against kobako-core, whose export_guest! emits the new names. kobako-transport drops ABI_VERSION as a u32, FRAME_LEN_SIZE, MAX_FRAME_LEN, pack_ptr_len, and unpack_ptr_len, and names the ABI through ABI_VERSION ("0.6.0"), GUEST_INTERFACE, HOST_INTERFACE, DOWNCALL, UPCALL, and PREAMBLE. kobako-core drops alloc; answer returns the return area's address.
|
|
18
|
+
* **transport:** kobako_transport::abi::MAX_DISPATCH_PAYLOAD is renamed to MAX_MESSAGE_LEN; its value is unchanged.
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **transport:** carry the Guest ABI in the Canonical ABI's core shape ([34b9560](https://github.com/elct9620/kobako/commit/34b956001a05e15fe29febd7098b2ceb054e1bab))
|
|
23
|
+
* **transport:** expose the Capability Handle id bound the Envelope holds ([8a48012](https://github.com/elct9620/kobako/commit/8a48012cbac62c6a4a67c0c47664ee03a8089605))
|
|
24
|
+
* **transport:** spell once the form of a name a guest interns ([95c10bc](https://github.com/elct9620/kobako/commit/95c10bcf7180fc0e5ef432a9935ce3f856c75c9f))
|
|
25
|
+
* **transport:** spell once the names a Panic carries that a Frontend reads ([d1fb291](https://github.com/elct9620/kobako/commit/d1fb291082abcc376fc17d2f53b2e7d69dbf5da2))
|
|
26
|
+
* **transport:** spell once the Service and entrypoint names a Panic carries ([fd09028](https://github.com/elct9620/kobako/commit/fd09028dee973397c66eb2029f7fd75bf6e7ee26))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* **guest:** say a guest supports no block, as the glossary words an Unsupported ([3aa9a78](https://github.com/elct9620/kobako/commit/3aa9a7844780ba095fa2d197c3ab1a163a33dce6))
|
|
32
|
+
* **transport:** refuse a Call target past the wire's Handle id range ([8a9b169](https://github.com/elct9620/kobako/commit/8a9b1694f96dc0769fff3251a76c3e1cb52a4866))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Code Refactoring
|
|
36
|
+
|
|
37
|
+
* **transport:** load a Driver from its file, and read an origin as a lookup that may miss ([4ec8d79](https://github.com/elct9620/kobako/commit/4ec8d792ddf14bb21cfd36437b64b2389ee6df89))
|
|
38
|
+
* **transport:** name a Call's reply CallReply beside YieldReply and CompileReply ([f34063e](https://github.com/elct9620/kobako/commit/f34063ee94edb723800b4a0670cf912aa1a445e0))
|
|
39
|
+
* **transport:** name the message cap by what it bounds ([133e1c1](https://github.com/elct9620/kobako/commit/133e1c151506a1f41d5f2d17ac2678648c6ed262))
|
|
40
|
+
|
|
3
41
|
## [0.20.0](https://github.com/elct9620/kobako/compare/kobako-transport-v0.19.0...kobako-transport-v0.20.0) (2026-11-07)
|
|
4
42
|
|
|
5
43
|
|
|
@@ -15,9 +15,8 @@ same in every assembly. This crate is both of them, and nothing else.
|
|
|
15
15
|
The envelope covers the downcall's and the upcall's requests under one
|
|
16
16
|
tag registry. It also covers a dispatch round-trip, how an invocation
|
|
17
17
|
ended, and what an invocation is handed, and re-exports every message
|
|
18
|
-
type. The ABI values are the version, the
|
|
19
|
-
|
|
20
|
-
message size cap.
|
|
18
|
+
type. The ABI values are the version, the interface and function
|
|
19
|
+
names it carries, and the message size cap.
|
|
21
20
|
|
|
22
21
|
## Opaque Payload
|
|
23
22
|
|
|
@@ -52,7 +51,7 @@ reaches the same types through `kobako-core`.
|
|
|
52
51
|
|
|
53
52
|
```toml
|
|
54
53
|
[dependencies]
|
|
55
|
-
kobako-transport = "0.
|
|
54
|
+
kobako-transport = "0.22.0" # x-release-please-version
|
|
56
55
|
```
|
|
57
56
|
|
|
58
57
|
## License
|