RELEASE 4 June 2026
v0.3.5
skeg-resp3 typed Command variants
From the changelog · release notes and binaries
Added
-
skeg-resp3typedCommandvariants for the 21 KV andSKEG.*verbs the server already exposed via the legacy untyped fallback. KV (11):GET,SET,DEL,EXISTS,MGET,MSET,INCR,DECR,INCRBY,DECRBY,SELECT.SKEG.*(10):STATS,SHARDS,WHOAMI,AUTH,VINDEX.LIST,VINDEX.CREATE,VINDEX.DROP,VSET,VDEL,VSEARCH. The newCommandErrorvariants (WrongArity,WrongAritySkeg,SelectDbOutOfRange,SelectInvalidIndex,NotAnInteger) render the same error strings the server emitted byte-for-byte, so existingredis-cliscripts and Redis client libraries that match onERR ...text keep working.Effect on consumers:
skeg-resp3is now the source of truth for command arity + simple arg parsing. Downstream crates (skeg-server, futureskeg-client-rs/skeg-py) get the same typed dispatch instead of duplicating the validation logic.- 180 unit tests in
skeg-resp3(43 new typed-command tests + 5 proptests covering KV byte-preservation across random inputs). - Verified end-to-end with
redis-clion the live binary: 14 commands round-trip with identical error strings.
Changed
skeg-server::resp3_handlerdispatches the new typed variants directly, bypassing the legacydispatch_unknownfor KV andSKEG.*. The legacy untyped path is preserved for genuinely unknown commands (FOO bar->ERR unknown command 'FOO').
Versions bumped
skeg-resp30.1.2 -> 0.1.3 (added publicCommandandCommandErrorvariants; backwards-compatible additive change)skeg-server0.3.0 -> 0.3.1 (depends onskeg-resp30.1.3; dispatch rewired)