# Changelog

All notable changes to **DVeProto** are documented here.

Format: milestone-oriented (Alpha → Beta → RC → Stable).  
**Current status: DVeVPN 2.0 Stable** (2026-08-03).

---

## [2.0.0] — DVeVPN 2.0 Stable — 2026-08-03

### Stable

* Product version `2.0.0` / DVeVPN `2.0 Stable` / Protocol **FROZEN**
* Public installer: `https://dveproto.serversys.ru/install.sh` (always latest Stable)
* API: `https://dveproto.serversys.ru/api/version`
* Release artifacts: `release/dve-2.0-linux-{amd64,arm64}.tar.gz` + checksums
* `dve doctor` reports **READY**
* `dve vpn remote-test HOST` real-network validation
* Docs: getting-started, server-deployment, client-setup, migration-rc-to-stable
* Lifecycle gate: `STABLE_RELEASE_CHECK.md`

### Frozen (unchanged from RC)

* Wire · Handshake · Carrier · DVeNet · Routing · Multipath · packet format · crypto defaults

---

## [Unreleased] — Beta Development

### Added

* Beta Entry opened (2026-08-02)
* Phase 6 — Discovery + Peers (`v2/dvenet.py`)
  * Node Advertisement · Peer Database · Static bootstrap · Direct announce
  * Peer states UNKNOWN→…→ACTIVE
  * Milestone: discover → handshake → encrypted channel
* Phase 8 — Multipath (`v2/multipath.py` · `v2/ws_carrier.py`)
  * MultiRoute · Carrier Manager · Smart Transport · Session Migration
* Phase 9 — Real VPN (`v2/dvevpn/`)
  * TUN/Wintun adapter · IP tunnel over DVeNet · Address Manager
  * DNS push · split/full tunnel · NAT (Linux) · Portal · Invite join
* DVeVPN Foundation (`v2/dvevpn/`) — server/client/config skeleton
* Unified CLI (`./dve` · `python -m v2`) — server / client / vpn / net
* CLI home `~/.dve` — init, config, service (systemd), logs, doctor, backup/restore
* Phase 7 — Routing (`v2/routing.py` · `v2/dvenet.py`)
  * Route Table + RouteEntry (destination, next_hop, metric, rtt_ms, expires_at, flags)
  * API: add_route / remove_route / find_route / update_route / purge_expired
  * Neighbor exchange: ROUTE_REQUEST / RESPONSE / UPDATE / REMOVE / UNREACHABLE
  * Overlay forwarding (TTL, loop guards); path A→B→C
  * Metrics (RTT, loss, last_seen, uptime) + auto metric + stats()
  * Best-path selection (min metric); failover + neighbor notify
* Topology Viewer (`v2/topology_viewer.py`) — diagnostic only
  * `GET /api/dvenet/topology` · interactive HTML diagram
* Tests: `dveproto-tests/dvenet/test_discovery_channel.py`
* Tests: `dveproto-tests/routing/test_route_table.py`, `test_routing_interop.py`

### Not in this release slice

* Wintun native impl · mesh flood · ACL · relay · LAN/DHT · BETA_EXIT hardening

---

## [2.0.0-alpha] — DVeProto 2.0 Alpha Released — 2026-08-02

### Added

* Carrier API (UDP / TCP) + events + stats
* Wire 2.0 (`ver=0x20`, magic `DV`)
* Handshake 2.0 (X25519, HKDF-SHA256, AES-256-GCM / ChaCha20-Poly1305, Ed25519 NodeID)
* Interop: Python · Node.js · browser-class JS (`handshake.js`) over TCP + WebSocket
* Canonical `v2/test_vectors.json`
* Negative + fuzz gates
* CI matrix workflow (Python 3.11–3.13 · Node 20/22 · Windows/Linux)
* Exit Criteria · Release Gate · Compatibility policy
* Freeze report template

### Frozen

* Wire 2.0 binary layout
* Handshake transcript / key schedule labels
* NodeID = Ed25519 public key; ConnectionID = per-path id
* Carrier send_frame / receive_frame contract

### Not in Alpha

* DVeNet mesh / routing / multipath / VPN (Beta+)

---
