From 7b30807ed5c22a1f8287c36cfb6e40145fde288ce3932ef124ab5a9f9a22f37d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 28 Apr 2024 12:29:26 +0300 Subject: [PATCH] Prepare for next version --- cmd/client/audio.go | 2 +- cmd/client/main.go | 2 +- cmd/client/stats.go | 2 +- cmd/keygen/main.go | 2 +- cmd/server/main.go | 2 +- cmd/server/peer.go | 2 +- cmd/server/room.go | 2 +- cmd/vad/main.go | 2 +- doc/proto.texi | 2 +- go.mod | 2 +- internal/noise.go | 2 +- internal/version.go | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cmd/client/audio.go b/cmd/client/audio.go index 446162f..5401470 100644 --- a/cmd/client/audio.go +++ b/cmd/client/audio.go @@ -19,7 +19,7 @@ import ( "log" "go.stargrave.org/opus/v2" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" ) func newOpusEnc() *opus.Encoder { diff --git a/cmd/client/main.go b/cmd/client/main.go index 9be258b..fbc355c 100644 --- a/cmd/client/main.go +++ b/cmd/client/main.go @@ -36,7 +36,7 @@ import ( "github.com/flynn/noise" "github.com/jroimartin/gocui" "go.stargrave.org/opus/v2" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" "golang.org/x/crypto/blake2s" "golang.org/x/crypto/chacha20" ) diff --git a/cmd/client/stats.go b/cmd/client/stats.go index 28fe647..8a5169b 100644 --- a/cmd/client/stats.go +++ b/cmd/client/stats.go @@ -24,7 +24,7 @@ import ( "github.com/dustin/go-humanize" "github.com/jroimartin/gocui" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" ) type Stats struct { diff --git a/cmd/keygen/main.go b/cmd/keygen/main.go index d14f1f8..461de7d 100644 --- a/cmd/keygen/main.go +++ b/cmd/keygen/main.go @@ -10,7 +10,7 @@ import ( "os" "github.com/flynn/noise" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" ) func main() { diff --git a/cmd/server/main.go b/cmd/server/main.go index 7f475f0..c23055b 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -36,7 +36,7 @@ import ( "github.com/dchest/siphash" "github.com/flynn/noise" "github.com/jroimartin/gocui" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" "golang.org/x/crypto/blake2s" "golang.org/x/crypto/chacha20" ) diff --git a/cmd/server/peer.go b/cmd/server/peer.go index 82c569d..6edb9a7 100644 --- a/cmd/server/peer.go +++ b/cmd/server/peer.go @@ -8,7 +8,7 @@ import ( "time" "github.com/flynn/noise" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" ) var ( diff --git a/cmd/server/room.go b/cmd/server/room.go index 8d88406..2e60d02 100644 --- a/cmd/server/room.go +++ b/cmd/server/room.go @@ -7,7 +7,7 @@ import ( "time" "github.com/dustin/go-humanize" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" ) var ( diff --git a/cmd/vad/main.go b/cmd/vad/main.go index 16e0cdd..bde25ab 100644 --- a/cmd/vad/main.go +++ b/cmd/vad/main.go @@ -23,7 +23,7 @@ import ( "os" "strconv" - vors "go.stargrave.org/vors/internal" + vors "go.stargrave.org/vors/v3/internal" ) func usage() { diff --git a/doc/proto.texi b/doc/proto.texi index 9758938..1c7312b 100644 --- a/doc/proto.texi +++ b/doc/proto.texi @@ -25,7 +25,7 @@ curve25519, ChaCha20-Poly1305 and BLAKE2s algorithms. @itemize -@item Client sends @code{VoRS v2} to the socket. Just a magic number. +@item Client sends @code{VoRS v3} to the socket. Just a magic number. @item All next messages are prepended with 16-bit big-endian length. diff --git a/go.mod b/go.mod index 563ffc7..ebd7a2a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.stargrave.org/vors +module go.stargrave.org/vors/v3 go 1.21 diff --git a/internal/noise.go b/internal/noise.go index 365a39c..3528b2c 100644 --- a/internal/noise.go +++ b/internal/noise.go @@ -8,7 +8,7 @@ import ( "github.com/flynn/noise" ) -const NoisePrologue = "VoRS v2" +const NoisePrologue = "VoRS v3" var NoiseCipherSuite = noise.NewCipherSuite( noise.DH25519, diff --git a/internal/version.go b/internal/version.go index 741fb40..34bd719 100644 --- a/internal/version.go +++ b/internal/version.go @@ -3,7 +3,7 @@ package internal import "runtime" const ( - Version = "2.3.0" + Version = "3.0.0" Warranty = `Copyright (C) 2024 Sergey Matveev This program is free software: you can redistribute it and/or modify -- 2.44.0