Files
lix/doc/manual/rl-next/remove-old-wires.md
T
eldritch horrors fca0a30470 libstore: remove pre-2.18 protocols
the old protocols are largely untested, mostly unused, and have design
problems that make the RPC transition a lot harder, if not impossible.
in theory we could ship a transparent protocol-converting proxy that'd
isolate the daemon itself from old protocol versions, but that's a lot
of code to maintain for presumably little gain or even no gain at all.

Change-Id: I4c3f3bb34d39044f6aeb07c10caaf13b8340a220
2025-06-02 22:43:24 +00:00

915 B

synopsis, issues, cls, significance, category, credits
synopsis issues cls significance category credits
Remove support for daemon protocols before 2.18
3249
significant Breaking Changes
horrors

Support for daemon wire protocols belonging to Nix 2.18 or older have been removed. This impacts clients connecting to the local daemon socket or any remote builder configured using the ssh-ng protocol. Builders configured with the ssh protocol are still accessible from clients such as Nix 2.3. Additionally Lix will not be able to connect to an old daemon locally, and remote build connections to old daemons is likewise limited to ssh urls.

We have decided to take this step because the old protocols are very badly tested (if at all), maintenance overhead is high, and a number of problems with their design makes it infeasible to remain backwards compatible while we move Lix to a more modern RPC mechanism with better versioning support.