Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: upgrade version to `0.14.2` (#2035)
boojack8328b5dd4a74
diff --git a/server/version/version.go b/server/version/version.goindex d7be9ae91..b6ec176c1 100644--- a/server/version/version.go+++ b/server/version/version.go@@ -9,10 +9,10 @@ import (// Version is the service current released version.// Semantic versioning: https://semver.org/-var Version = "0.14.1"+var Version = "0.14.2"// DevVersion is the service current development version.-var DevVersion = "0.14.1"+var DevVersion = "0.14.2"func GetCurrentVersion(mode string) string {if mode == "dev" || mode == "demo" {diff --git a/test/store/store_test.go b/test/store/store_test.goindex b82a1ad3a..47e99ce69 100644--- a/test/store/store_test.go+++ b/test/store/store_test.go@@ -1,47 +1 @@package teststore--import (- "context"- "fmt"- "sync"- "testing"-- "github.com/stretchr/testify/require"- "github.com/usememos/memos/store"-)--func TestConcurrentReadWrite(t *testing.T) {- ctx := context.Background()- ts := NewTestingStore(ctx, t)- user, err := createTestingHostUser(ctx, ts)- require.NoError(t, err)-- const numWorkers = 10- const numIterations = 100-- wg := sync.WaitGroup{}- wg.Add(numWorkers)-- for i := 0; i < numWorkers; i++ {- go func() {- for j := 0; j < numIterations; j++ {- _, err := ts.CreateMemo(ctx, &store.Memo{- CreatorID: user.ID,- Content: fmt.Sprintf("test_content_%d", i),- Visibility: store.Public,- })- require.NoError(t, err)- }- }()-- go func() {- _, err := ts.ListMemos(ctx, &store.FindMemo{- CreatorID: &user.ID,- })- require.NoError(t, err)- wg.Done()- }()- }-- wg.Wait()-}