# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.2.0] — 2026-08-14 ### Added - Sécurité : clé partagée (Bearer token) + `--generate-key` - Sécurité : validation d'origine (`security.allowed_origins`) - Sécurité : chiffrement TLS optionnel entre pairs + `--generate-cert` - Limite de taille du corps des requêtes (`daemon.max_body_bytes`) - Historique du presse-papiers persistant + commande `clip-sync history` - Mode one-shot : `clip-sync --one-shot [text]` - Transfert de fichiers : `clip-sync send-file ` (réception optionnelle) - Sync d'images via le presse-papiers (`daemon.sync_images`, Linux/Windows/macOS) - Découverte automatique des pairs via mDNS (`daemon.discovery`) - Interface web locale de monitoring (`/`, `/health`, `/history`) - Notifications desktop (`daemon.notify`) - Flag `--config ` pour une configuration personnalisée - Fichier LICENSE (MIT) - Notifications desktop Windows (Shell_NotifyIcon, plus de no-op) - Benchmarks (`make bench`) : dedup, serveur, conversion DIB↔PNG - Signature GPG des releases (CI `GPG_PRIVATE_KEY` + `make sign`) - Site de documentation statique (`docs/index.html`) - Installateur Windows en une ligne (`install.ps1`, `irm | iex`) ### Fixed - Lecture du presse-papiers Windows bornée à la taille réelle (GlobalSize) - Version par défaut non vide (`--version`) - Correction des URLs de téléchargement (tag versionné au lieu de `latest`) - Suppression du fichier d'exemple dupliqué ## [0.1.0] — 2026-08-08 ### Added - Synchronisation bidirectionnelle de presse-papiers texte sur LAN - Communication HTTP POST /clip entre pairs (JSON) - Anti-boucle : double filtre (hash SHA-256 LRU + timestamp/origine) - Configuration TOML (`~/.config/clip-sync/peers.toml`) - Override par variables d'environnement (`CLIP_SYNC_PORT`, `CLIP_SYNC_POLL_MS`) - Support Linux : X11 (xclip) et Wayland (wl-clipboard) avec auto-détection - Support Windows : Win32 API via syscall, zéro CGo - Support macOS : pbpaste/pbcopy - Cross-compilation : linux/windows/darwin, amd64/arm64 - Service systemd --user (Linux) - Installation automatisée via install.sh - CI/CD Gitea Actions : lint, test, build multi-plateforme - Tests unitaires et intégration (simulation LAN 2 instances)