From 41d8de42c0e146cbfc31933d235675e18a023c54 Mon Sep 17 00:00:00 2001 From: Chang lue Tsen Date: Sat, 4 Oct 2025 05:10:04 -0400 Subject: [PATCH] feat(constant): deprecate Hysteria2 in favor of Hysteria --- internal/logic/server/constant.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/logic/server/constant.go b/internal/logic/server/constant.go index 7515e9e..e2d1584 100644 --- a/internal/logic/server/constant.go +++ b/internal/logic/server/constant.go @@ -9,7 +9,9 @@ const ( AnyTLS = "anytls" Tuic = "tuic" Hysteria = "hysteria" - Hysteria2 = "hysteria2" + // Deprecated: Hysteria2 is deprecated, use Hysteria instead + // TODO: remove in future versions + Hysteria2 = "hysteria2" ) type SecurityConfig struct {