Repository navigation
Releases
Releases · FoxxoOwO/walite
WaLite v1.0.8
What's New in WaLite v1.0.8
Security
- WebSocket Bridge Auth & Path Containment: Added per-session token authentication (
warust/bridge.token) andOriginheader rejection (403 Forbidden/401 Unauthorizedviaaccept_hdr_async+authorize_handshake) insrc/ws_bridge.rsandgui/lib/bridge.dart, blocking cross-site WebSocket hijacking (CSWSH) and unauthorized local clients; restrictedopen_fileandshow_in_folderto canonicalized paths under the media and export directories (is_allowed_local_path). - Updater Path Sanitization & Shell Quoting: Sanitized the downloaded update filename via
Path::file_name()insrc/updater.rsand escaped shell-quoted variables inunix_update_script.
Fixed
- Audio Transcode Races: Added playback generation tracking (
PLAY_GEN) and generation-scoped temp WAV filenames insrc/audio.rsso rapid track switches never clobber or double-start playback. - Mentions, Export Paths, Notifications & Fallbacks: Updated
message_mentions_me(src/backend.rs) to strip:devicesuffixes and match mappedlid_to_pnaliases; switchedopen_in_file_manager(src/export.rs) to.raw_arg()for paths containing spaces; clearedpending_read_receiptson disconnect; capped concurrent Windows toast activation listener threads at16; replaced unsafecurrent_dir().unwrap()and.chars().next().unwrap()fallbacks; cleaned up deprecatedegui::Id::newcalls and unused imports.
Performance
- Idle Snapshot Skipping & Streaming WAV: Added
snapshot_fingerprint()insrc/ws_bridge.rsto skip full JSON snapshot serialization on idle 200 ms ticks; streamed PCM WAV writes viaBufWriterinsrc/recorder.rs; cleared_msgKeyson chat switch ingui/lib/widgets/conversation_view.dart.
WaLite v1.0.7
What's New in WaLite v1.0.7
Fixed
- Read Receipts & Unread Counts When Window Is Closed/Unfocused: Stopped
handle_incoming_messagefrom unconditionally sending<receipt type=read>(client.mark_as_read) on arrival when the window is hidden in the system tray, minimized, unfocused, or viewing a different chat; ensured incoming messages to the last-selected chat still incrementunread_countwhile the window is unfocused/closed; queued unread message IDs inpending_read_receiptsand flushed read receipts only when the chat is actively viewed in a focused window; made native Win32 visibility/foreground state (_nativeWindowFocused) authoritative over FlutterAppLifecycleState.resumedwhen hidden to tray (SW_HIDE).
WaLite v1.0.6
What's New in WaLite v1.0.6
Added
- Monochrome System Tray Icon (Windows Style): Added a
monochrome_tray_iconpreference in Settings → System & startup → System Tray (Monochromatická ikona v oznamovací oblasti (Windows styl)) that renders a 4×4 supersampled single-color speech-bubble + phone silhouette on a transparent background, automatically adapts to dark (#FFFFFF) or light (#181818) Windows taskbars (SystemUsesLightTheme/WM_SETTINGCHANGE), and preserves the unread badge indicator.
WaLite v1.0.5
What's New in WaLite v1.0.5
Fixed
- Duplicate Unread Badge Counts: Removed the duplicate
BotBuilder::on_messageregistration insrc/backend.rs(incoming messages were already dispatched throughEvent::Messages(batch)inhandle_event), and updatedAppState::add_messageto return whether a message was newly inserted so duplicate deliveries or reaction-only text never incrementunread_countor trigger duplicate notifications. - WhatsApp Stories / Status Filtering: Ignored incoming WhatsApp Status/Story updates (
status@broadcast, group status / status mention / notification wrappers, andContextInfo.is_group_status) in both live message handling and history sync so they never create chats, unread badges, notifications, or read receipts, and pruned any already-persistedstatus@broadcastentries on load.
WaLite v1.0.4
What's New in WaLite v1.0.4
Fixed
- Windows Runner & Process Handling: Switched
IsBridgePortOpen()to a non-blocking socket check with a 100 ms timeout, fixedHICONhandle leaks in the tray and taskbar overlay updater, null-guardedWM_FONTCHANGE, hid console windows (CREATE_NO_WINDOW) forffmpeg/ffprobe/regsubprocesses, ensured COM MTA initialization before capture/playback, and fixedshow_in_folderpaths containing spaces. - State, Storage & Notifications: Merged
unread_count,is_archived,drafts,pinned, andephemeralfrom LID to canonical PN inconsolidate_canonical_chats; fixedClearChat,DeleteChat, andDisconnectcleanup (data_dir/messages+ cache clearing); addedplay_sound_if_unfocused()respecting focus and the rate limiter; resolvedSearchScope::CurrentChatcanonical JIDs and localSearchDateRange::Todaydates; fixedstart_chatcanonicalization/dirtymarking,select(null),clean_mediafreed-byte accounting, andexport_chaterror reporting. - Flutter GUI & Lifecycle: Ignored
:devicesuffixes viasameJidUser()in group admin checks, mentions, and participant lists; addedBridge._disposedand malformed-frame guards; completed cross-windowjumpToMessagescrolling when older snapshots arrive; cancelled active timers/recording/poll drafts on chat switch; prevented stale draft wipes when cancelingScheduleMessageDialogorExportChatDialog; fixed the 24 pxRenderFlexoverflow inScheduleMessageDialog,TapGestureRecognizerleaks in rich text, and async/init disposal safety in video players.
Performance
- Backend & Persistence: Serialized
Store::persistthroughPERSIST_LOCKwith borrowed message snapshots andspawn_blockingJSON encoding; avoided idle write locks in the scheduled dispatcher; indexedadd_messages_batchdeduplication; added zero-alloc ASCII link matching; offloaded blocking WebSocket bridge handlers (clipboard,audio,recorder,export,media_stats,clean_media, notifications) off the async loop; cached sticker listings (including empty directories), 5-second media file existence checks, and thumbnail base64 strings; switched snapshots to typedSerializestructs. - Flutter Rendering: Eliminated synchronous
existsSync()and repeatedbase64Decode()calls from bubble/avatar/wallpaper/gallery builds via cachedMsg.thumbBytesandcacheWidth/errorBuilder; addedO(1)lookup maps onSnapshot; hoistedRegExppatterns; isolated wallpaper doodles in aRepaintBoundary; scoped composer updates withValueListenableBuilder; switchedChatListPaneltoListView.builderwith 120 ms search debouncing; deferredrequestMediaStats()until opening the storage tab.
WaLite v1.0.3
What's New in WaLite v1.0.3
Fixed
- Ctrl+V Text Paste: Replaced
CallbackShortcutsin the message composer with aFocus.onKeyEventhandler that letsTextFieldhandle normal text paste alongside clipboard image paste. - Windows COM MTA Stability: Pinned the Windows COM Multi-Threaded Apartment refcount via
CoIncrementMTAUsage(ensure_com_mta) at startup, before toast notifications, and before WASAPI audio playback so exiting audio threads never unload cached WinRT DLLs (Windows.Data.Xml.Dom.dll). - Backend Auto-Restart Watchdog: Added a 3-second watchdog in the Flutter GUI (
ensureBackend) and dead-process cleanup inFlutterWindow::EnsureBackendRunning()to automatically relaunchwarust.exeif the backend disconnects or exits unexpectedly. - Windows Auto-Updater Process Cleanup: Updated the PowerShell self-updater script to terminate both
warust_guiandwarustin the install folder before extracting and replacing files.
WaLite v1.0.2
What's New in WaLite v1.0.2
Fixed
- Windows Auto-Updater: Replaced the .cmd\ batch updater with a UTF-8 BOM PowerShell script (\warust-update.ps1) and enabled \JOB_OBJECT_LIMIT_BREAKAWAY_OK\ / \CREATE_BREAKAWAY_FROM_JOB, fixing non-ASCII folder paths (e.g. \Stažené soubory), properly closing and updating \warust_gui.exe\ + all runtime assets, and relaunching \warust_gui.exe.
- Notification Sound Clicks: Replaced abrupt note cut-offs with a 48 kHz raised-cosine attack/release envelope and a 50 ms sink drain delay, eliminating audible pops/crackles at the end of notification tones.
WaLite v1.0.1
What's New in WaLite v1.0.1
Added
- Customizable Notification Sounds: Choose between built-in notification sound presets (Default, Chime, Pop, Ping, Bell, Silent) or pick a custom audio file from Settings → Notifications, with live preview playback.
- Windows Installer: Now shipping \WaLite-v1.0.1-windows-x86_64-setup.exe\ (Inno Setup, English & Czech) alongside the portable ZIP archive.
Fixed
- Stale Chat Drafts After Sending: Fixed a race condition where sending a message within 350 ms of the last keystroke could leave the sent text behind as a chat draft; sending media with a caption also clears any active draft.
WaLite v1.0.0
WaLite v1.0.0
First 1.0.0 release under the WaLite brand — a lightweight WhatsApp desktop client combining a Flutter Desktop front end with an asynchronous Rust (whatsapp-rust) backend over a local WebSocket bridge.
Highlights
- Single-Launcher Auto-Backend (Windows):
warust_gui.exeautomatically starts headlesswarust.exe --ui wswith zero console window (CREATE_NO_WINDOW) and binds it to a Windows Job Object (JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE), plus--tray/--minimizedstartup support. - Interactive Windows Notifications & Badges: Clicking a message or call toast restores WaLite from the system tray straight to that conversation; taskbar (
ITaskbarList3) and tray icons show unread counts. - Profile Photo & "About" Status Editing: Update display name, About / Status text, and profile picture (center-cropped and resized to
640×640JPEG) from Settings → Account & profile. - Drag & Drop Attachments: Drop single or multiple files directly into a chat with preview and captions.
- Starred Messages: Star/unstar messages from the bubble menu, inspect per-chat starred items in Chat Info, or browse all starred messages from the navigation rail.
- Built-in Video & MP4-GIF Playback: Powered by
media_kit(libmpv) with an in-appVideoLightboxDialogand automatic silent looping for WhatsApp GIFs. - Search Match Highlighting & Filters: Added Polls, With reactions, and Starred filters plus in-message search match highlighting.
- Interactive vCards & Custom Chat Wallpapers: Contact cards include one-click Message (Start chat) and copy actions; Settings → Appearance supports custom background colors, wallpaper images, and toggleable doodles.
- Documentation: Rewritten English
README.mdandCHANGELOG.md.
Windows Installation
- Download
WaLite-v1.0.0-windows-x86_64.zip. - Extract the archive and run
warust_gui.exe(existing%APPDATA%\warustsessions and chat history carry over automatically).