chore: prepare 0.6.2 unreleased
This commit is contained in:
parent
b387ed2d6f
commit
ca817db4f5
10
CHANGELOG.md
10
CHANGELOG.md
@ -2,12 +2,18 @@
|
||||
|
||||
All notable changes to `discrawl` will be documented in this file.
|
||||
|
||||
## 0.6.2 - Unreleased
|
||||
|
||||
### Fixes
|
||||
|
||||
- `discrawl sync` now serializes concurrent runs with a local lock, preventing two refreshes from writing the archive at the same time.
|
||||
- Git snapshot imports now recover from corrupt local FTS tables by dropping and rebuilding search indexes, and repair missing guild IDs from channel metadata so shared archive reports stay fresh.
|
||||
- Channel-history sync now falls back to the channel guild when Discord omits `message.guild_id`, keeping messages, attachments, mentions, and FTS rows correctly scoped.
|
||||
|
||||
## 0.6.1 - 2026-04-28
|
||||
|
||||
### Fixes
|
||||
|
||||
- Git snapshot imports now recover from corrupt local FTS tables by dropping and rebuilding search indexes, and repair missing guild IDs from channel metadata so shared archive reports stay fresh.
|
||||
- Channel-history sync now falls back to the channel guild when Discord omits `message.guild_id`, keeping messages, attachments, mentions, and FTS rows correctly scoped.
|
||||
- Repeated `sync --source wiretap` runs now skip unchanged Discord Desktop cache files and report unchanged file counts, making steady-state local-cache refreshes much faster.
|
||||
- `sync --full --skip-members` now also skips member crawls when resuming incomplete stored channels, so backfills do not unexpectedly refresh the full guild member list.
|
||||
|
||||
|
||||
@ -34,7 +34,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.6.1")
|
||||
require.Contains(t, out.String(), "0.6.2")
|
||||
|
||||
err := Run(context.Background(), []string{"bogus"}, &out, &bytes.Buffer{})
|
||||
require.Equal(t, 2, ExitCode(err))
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
package cli
|
||||
|
||||
var version = "0.6.1"
|
||||
var version = "0.6.2"
|
||||
|
||||
@ -67,7 +67,7 @@ docker run --rm \
|
||||
cd /src
|
||||
go install ./cmd/discrawl
|
||||
discrawl=/work/bin/discrawl
|
||||
"$discrawl" --version | grep -q "0.6.1"
|
||||
"$discrawl" --version | grep -q "0.6.2"
|
||||
"$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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user