Repository navigation
What's Changed
7.0.1 is the first patch of the 7.x line, and a security release: every 7.0 app
should take it. It changes no API, and nothing that compiled on 7.0.0 stops
compiling. Upgrading is a version bump. Two things change at the deploy: requests
that broke a rule unnoticed are now refused, and live rate-limit counters start
afresh once.
- Security
- An argument is validated through every value it carries. 7.0.0 validated
an argument only when its own type implementedValidate. A
Json<HashMap<String, Dto>>body or aVec<Option<Dto>>argument therefore
reached the handler with none of the DTO's rules run. Every edge now holds an
argument to the rules of every value inside it: HTTP, GraphQL, WebSocket, MCP
and the queue. - A rate-limit bucket is one unit and one caller, on every edge. These now
keep their own budgets: two verbs of one path, a query and a mutation of one
name, one event on two gateways, a tool and a prompt of one name. A WebSocket
connection's bucket is no longer shared across gateways, replicas or restarts.
(#14) - A reconnecting client no longer fills the in-memory store for every other
caller. Connections are counted in a table of their own. - The in-memory store's refusal, its
Retry-Afterand its eviction agree.
Retry-Afteris never zero while a bucket still refuses, and a caller can no
longer reset its own denial by minting fresh keys. (#14)
- An argument is validated through every value it carries. 7.0.0 validated
- Fixed
- A validation refusal keeps a field named
params, and says a list by
position. A list's failures that 7.0.0 filed under_tmp_validatornow sit
one level up, by position. (#13)
- A validation refusal keeps a field named
- Changed
- 6.1 receives no more fixes. The latest minor of 7.x is the one supported
line (Security policy).
- 6.1 receives no more fixes. The latest minor of 7.x is the one supported
Thanks to @HatemSaadallah for reporting #13 and #14, each with a reproduction.
Every entry, with its upgrading note, is in
changelog/7.0.md.
Full Changelog: v7.0.0...v7.0.1