]> Sergey Matveev's repositories - vors.git/commitdiff
Prepare for next version
authorSergey Matveev <stargrave@stargrave.org>
Sun, 28 Apr 2024 09:29:26 +0000 (12:29 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 28 Apr 2024 20:40:36 +0000 (23:40 +0300)
12 files changed:
cmd/client/audio.go
cmd/client/main.go
cmd/client/stats.go
cmd/keygen/main.go
cmd/server/main.go
cmd/server/peer.go
cmd/server/room.go
cmd/vad/main.go
doc/proto.texi
go.mod
internal/noise.go
internal/version.go

index 446162ffd13ad06408698891ee1ed5b6c073bc9165f384c36da5f900ce0ec303..540147008ad3b2764e74bb51387ca69ef7b51ec876f6795d51fcc64e8c7630b0 100644 (file)
@@ -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 {
index 9be258b61e7ec03d2bbc4ae1d5401af14ad217d65ab91c438d52e5d6962d3905..fbc355c47d79e506cb95a9df76d3771ee94d07eded53bad9286f8363ab4bf35e 100644 (file)
@@ -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"
 )
index 28fe6477bbc07f6d40e4c5a1d10e8d06fe7abf08522bda16fe1274d6bc08f95b..8a5169bedad4f3c510e65d646c78878f7097c7b01c2af755491c6f6f01250af5 100644 (file)
@@ -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 {
index d14f1f821fb91632ada403bc044835b220f6cf8ff2c17fe4d48a6ad7c96e0e3c..461de7d14a297086b10072604a2eb71b20a8d629853d754bd386ff6cfe82493f 100644 (file)
@@ -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() {
index 7f475f0e9b6bc201b780a25dce35c32b0cc42a78fd2872d040d09a488fc2bd19..c23055b82e09d31d4089d49f8dafa90a3d7b06483bcf5518abf08cb227ab2596 100644 (file)
@@ -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"
 )
index 82c569df65155da64be4d930b3d37dba3b478c467d40ed409b4f9a867fbc6f85..6edb9a740bc44eeb776befddc280e953f8235a2db10a25823dc26600f62fe283 100644 (file)
@@ -8,7 +8,7 @@ import (
        "time"
 
        "github.com/flynn/noise"
-       vors "go.stargrave.org/vors/internal"
+       vors "go.stargrave.org/vors/v3/internal"
 )
 
 var (
index 8d88406137ba741bab55fd830d89cf6285f51600dcaa43a7147452a2ecf8961f..2e60d02c978a13b9641794b5029f25cbe27448f42f9c73b3ca06315ff98f7ca5 100644 (file)
@@ -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 (
index 16e0cddac52284dbbc3703fc36fdbb03f1b0ff7975f9e9b875aa8cad3afaf214..bde25abcd0010a52ff18761ca1c21b6514366b0a03aa700cfc7d888395287b4a 100644 (file)
@@ -23,7 +23,7 @@ import (
        "os"
        "strconv"
 
-       vors "go.stargrave.org/vors/internal"
+       vors "go.stargrave.org/vors/v3/internal"
 )
 
 func usage() {
index 9758938e7c481b6e68597f189ccf6ed291f33f726187af55a91d89fa6c3a6943..1c7312b0e502a476ee62e0e592eab3cf1bbad438b52d54f470609404865e24ce 100644 (file)
@@ -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 563ffc7c424648d3d4a0ab62ce68d2f92d12d9492d99798a19a5e9f8147323a8..ebd7a2a4d0a9e7ec8ff5eb6880e20b4f12bde149f27963bf1856979a0a83e43f 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module go.stargrave.org/vors
+module go.stargrave.org/vors/v3
 
 go 1.21
 
index 365a39c1f41c1635456e363865faa7a7ca223f7c0b5b6ac9b13092434dc7c045..3528b2c218418fa662f2cd22dd599a7f7eae06ce93a8316334d115e73a84cda1 100644 (file)
@@ -8,7 +8,7 @@ import (
        "github.com/flynn/noise"
 )
 
-const NoisePrologue = "VoRS v2"
+const NoisePrologue = "VoRS v3"
 
 var NoiseCipherSuite = noise.NewCipherSuite(
        noise.DH25519,
index 741fb4075e057196380210174d67c361a4021be5e0d374512b3a0b6240673927..34bd719fe03e639831ffbad405571708456598fecc6aa80352e57de047d9dacb 100644 (file)
@@ -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