What's New in v8.3.3
🛠️ Patch Release: Archived Chats Filter, Link Metadata Fix, DB_URI Quote Handling & History Sync Improvement
This release adds archived chat filtering, fixes anti-bot blocking on link metadata fetching, resolves a DB_URI parsing issue with quoted values, prevents incorrect sender JIDs in group history sync, and updates dependencies and CI workflows.
✨ New Features
Chat: Archived Chats Filtering (#600, fixes #598)
- New: Added
archivedboolean field to thechatstable via backward-compatible schema migration - Filter:
GET /chatsnow supports?archived=true/falsequery parameter to isolate archived chats - Event Sync: Added event listener for
events.Archivewhich whatsmeow handles natively in AppStateSync and live updates - Domain: Included
Archivedfield indomainChatStorage.Chatand optionalIsArchivedpointer filter inChatFilter - Backward Compatible: Existing SQLite stores are upgraded automatically via
ALTER TABLE
Utils: Browser-Like Headers for Link Metadata (#602, closes #592)
- Fix:
GetMetaDataFromURL()now sends browser-like User-Agent and Accept headers to avoid 403/429 blocks from anti-bot protections when scraping link preview metadata for/send/link - New Helper:
newBrowserRequest()with Chrome UA and standard browser headers - Applied To: Both page fetch and image download requests
- Tests: Added
TestGetMetaDataFromURLSendsBrowserHeaderstest
🐛 Bug Fixes
Database: Handle Quoted DB_URI Values (#613)
- Fix: Strip surrounding quotes from
DB_URIbefore detecting database type, fixing the "unknown database type" error when.envvalues are quoted (e.g.,DB_URI="file:data.db?_pragma=foreign_keys(1)") - Docs: Updated
.env.exampleto remove unnecessary quotes fromDB_URI/DB_KEYS_URI
History Sync: Skip Senderless Group Messages (#609)
- Fix: Group messages without participant info during history sync are now skipped, preventing the group JID from being incorrectly stored as
sender_jid
🔧 Technical Improvements
Dependency Updates
- go.mau.fi/whatsmeow: Updated to latest version
- All Go dependencies kept up-to-date
Build & CI
- ARM Runner: Switched ARM build runner from self-hosted
[ARM64]toubuntu-24.04-arm - Workflow Cleanup: Normalized YAML quotes, trimmed trailing whitespace in goreleaser configs
What's Changed
- feat: Add archived chats filtering (#598) by @aldinokemal in #600
- feat(utils): add browser-like headers to metadata fetch by @aldinokemal in #602
- fix: handle quoted DB_URI and skip senderless group history messages by @aldinokemal
- chore: update whatsmeow to latest by @aldinokemal
- ci: update workflows with ARM runner and formatting fixes by @aldinokemal
Full Changelog: v8.3.2...v8.3.3