Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion protocol/simplex-messaging.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 20, 2026-05-25
Version 21, 2026-07-05

# Simplex Messaging Protocol (SMP)

Expand Down Expand Up @@ -107,6 +107,7 @@ This document describes SMP protocol version 20. Versions 1-5 are discontinued.
- v18: support client notices in BLOCKED error
- v19: service subscriptions to messages (SUBS, NSUBS, SOKS, ENDS, ALLS commands)
- v20: public namespaces resolver (RSLV command, RNAME response) — direct or forwarded via PFWD
- v21: server public information in handshake

## Introduction

Expand Down
9 changes: 5 additions & 4 deletions src/Simplex/Messaging/Transport.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ smpBlockSize = 16384
-- 17 - create notification credentials with NEW (7/12/2025)
-- 18 - support client notices (10/10/2025)
-- 19 - service subscriptions to messages (10/20/2025)
-- 20 - server public information in handshake (7/5/2026)
-- 20 - public namespaces resolver, RSLV command (6/20/2026)
-- 21 - server public information in handshake (7/5/2026)

data SMPVersion

Expand Down Expand Up @@ -204,7 +205,7 @@ namesSMPVersion :: VersionSMP
namesSMPVersion = VersionSMP 20

serverInfoSMPVersion :: VersionSMP
serverInfoSMPVersion = VersionSMP 20
serverInfoSMPVersion = VersionSMP 21

minClientSMPRelayVersion :: VersionSMP
minClientSMPRelayVersion = VersionSMP 14
Expand All @@ -213,10 +214,10 @@ minServerSMPRelayVersion :: VersionSMP
minServerSMPRelayVersion = VersionSMP 14

currentClientSMPRelayVersion :: VersionSMP
currentClientSMPRelayVersion = VersionSMP 20
currentClientSMPRelayVersion = VersionSMP 21

currentServerSMPRelayVersion :: VersionSMP
currentServerSMPRelayVersion = VersionSMP 20
currentServerSMPRelayVersion = VersionSMP 21

-- Max SMP protocol version to be used in e2e encrypted connection between
-- client and server, as defined by SMP proxy. Normally set below the current
Expand Down
Loading