Repository navigation
wavemelo v0.3.0
wavemelo v0.3.0
Highlights
- Completed the English-only localization milestone: every bot-controlled
string insrc/is now professional English. External track titles, artist
names, playlist names, and user queries keep their original language. - Fixed a Unicode truncation defect where very small limits returned a string
longer than the requested maximum.
Added
- Deterministic regression test that scans
src/**/*.rsfor Thai Unicode
characters (U+0E00–U+0E7F). - Tests for truncation at small limits and across Unicode character boundaries.
Changed
- Command responses, embeds, error messages, framework errors, and their tests
now use consistent English terminology. README.mddocuments the English-only reply policy and Unicode input support.truncate()never exceeds the requested character limit.
Removed
- All Thai-language literals from
src/and their obsolete test expectations.
Testing and validation
| Gate | Command | Result |
|---|---|---|
| Format | cargo fmt --all -- --check |
passed |
| Check | cargo check --all-targets --locked |
passed |
| Clippy | cargo clippy --all-targets --locked -- -D warnings |
passed |
| Tests | cargo test --locked |
32 passed, 0 failed |
| Release build | cargo build --release --locked |
passed |
| Compose | docker compose config --quiet |
passed |
| Localization scan | Thai Unicode U+0E00–U+0E7F in src/ |
0 matches |
Upgrade instructions
No configuration changes are required. Pull the new release and restart the bot;
docker compose up --build -d rebuilds the image from the tagged source.
Known limitations
- Live Discord gateway, voice handshake, and YouTube playback require a running
bot and Lavalink node and were not exercised in this release's automated tests. - This release contains no new slash commands beyond the existing v0.2.0 set.
Commits
Implementation: English localization, English-only regression coverage, and
Unicode truncation fix. Release: version bump and changelog.