release: v0.5.1

This commit is contained in:
Peter Steinberger 2026-04-24 17:22:12 +01:00
parent b86490acad
commit 69f7671ed5
No known key found for this signature in database
4 changed files with 10 additions and 3 deletions

View File

@ -2,6 +2,13 @@
All notable changes to `discrawl` will be documented in this file.
## 0.5.1 - 2026-04-24
### Fixes
- Git snapshot export/import now keeps wiretap DMs strictly local: `@me` rows, wiretap sync state, and DM vectors are excluded from published snapshots while existing local DM rows are preserved on import.
- Publishing without `--with-embeddings` now omits old embedding manifests instead of carrying forward a stale vector bundle.
## 0.5.0 - 2026-04-24
### Changes

View File

@ -33,7 +33,7 @@ func TestHelpAndVersion(t *testing.T) {
out.Reset()
require.NoError(t, Run(context.Background(), []string{"--version"}, &out, &bytes.Buffer{}))
require.Contains(t, out.String(), "0.5.0")
require.Contains(t, out.String(), "0.5.1")
err := Run(context.Background(), []string{"bogus"}, &out, &bytes.Buffer{})
require.Equal(t, 2, ExitCode(err))

View File

@ -1,3 +1,3 @@
package cli
var version = "0.5.0"
var version = "0.5.1"

View File

@ -67,7 +67,7 @@ docker run --rm \
cd /src
go install ./cmd/discrawl
discrawl=/work/bin/discrawl
"$discrawl" --version | grep -q "0.5.0"
"$discrawl" --version | grep -q "0.5.1"
"$discrawl" --config /work/config.toml subscribe --repo /work/share --with-embeddings file:///backup > /work/subscribe.out
grep -q "embeddings=\\[" /work/subscribe.out
"$discrawl" --config /work/config.toml --plain sql "select provider, model, count(*) as total from message_embeddings group by provider, model" | tee /work/embeddings.out