Repository navigation
ThinkWatch Core 0.80.0
This release records requests that are refused before they reach any upstream, so a mistyped or unavailable model name shows up in the request records instead of disappearing.
Upgrade notes
- The control-plane protocol version stays at 51, and the request store's schema is unchanged; nothing is cleared.
- No configuration key is added, renamed or removed.
Refused requests are recorded. Once the gateway key is recognized, a request that goes to no upstream now gets a request record and the usual RequestStarted, RequestRouted and RequestFailed events, the same way a request denied by a rule already did. This covers:
- a model name that does not exist, is not allowed for the key, or whose alias or specified model does not resolve (
gw.model.*); - a request no rule decided on, or whose rules could not be evaluated (
gw.route.failed); - a request made before any upstream is configured (
gw.config.no_upstreams); - on a Responses WebSocket connection, each turn refused for the same reasons, and a Realtime upgrade refused for its model or its route.
The record holds the model name the client sent, the error code with its arguments, the key and the route. The upstream and the attempts are empty, and so is the rule when no rule decided. The status code the client receives and the error body are unchanged; the body is now sent chunked instead of with Content-Length, as it already was for requests denied by a rule.
Requests refused before the key is recognized (no key, an invalid or disabled key, a source address that is not allowed) are still not recorded.
Route statistics count these records under their route and no longer list an empty rule name.
Security. rustls-webpki is updated to 0.103.16 for RUSTSEC-2026-0382 (certificate verification could accept distrusted intermediates), and webpki-root-certs to 1.0.10 for RUSTSEC-2026-0383 (the bundled roots trusted distrusted emSign intermediates).
Downloads
| Platform | Binary | Archive for server installation |
|---|---|---|
| Linux, x86_64 | twcore-x86_64-unknown-linux-gnu |
twcore-x86_64-unknown-linux-gnu.tar.gz |
| Linux, aarch64 | twcore-aarch64-unknown-linux-gnu |
twcore-aarch64-unknown-linux-gnu.tar.gz |
| macOS, Apple silicon | twcore-aarch64-apple-darwin |
— |
| Windows, x64 | twcore-x86_64-pc-windows-msvc.exe |
— |
| Windows, ARM64 | twcore-aarch64-pc-windows-msvc.exe |
— |
Each file is published with a .sha256 file beside it. A Linux archive contains twcore, the systemd unit twcore.service and LICENSE. ThinkWatch Lite includes its own copy of twcore; the files here are for running core separately, such as on a server.
Server installation
On Linux (x86_64 or aarch64), the install script sets up twcore as a systemd service. This installs 0.80.0:
curl -fsSL https://raw.githubusercontent.com/ThinkWatchProject/ThinkWatch-Core/main/scripts/install.sh | sudo sh -s -- --version 0.80.0An installation made with the script switches to 0.80.0 with:
sudo twcore upgrade --version 0.80.0 --restartConfiguration, the remote control port and connecting ThinkWatch Lite are described in docs/server.md.
Verifying a download
A .sha256 file holds the SHA-256 of the file followed by its name. With both files in the current directory, on Linux:
sha256sum -c twcore-x86_64-unknown-linux-gnu.tar.gz.sha256On macOS:
shasum -a 256 -c twcore-aarch64-apple-darwin.sha256On Windows, in PowerShell, the following prints True when the binary matches:
(Get-FileHash .\twcore-x86_64-pc-windows-msvc.exe).Hash -eq (Get-Content .\twcore-x86_64-pc-windows-msvc.exe.sha256).Split()[0]The install script and twcore upgrade check the SHA-256 themselves.
What's Changed
Full Changelog: v0.79.0...v0.80.0