# Release v0.18.0 — Windows Stabilization, Audio Refinement & Lifecycle Hooks
Release v0.18.0 — Windows Stabilization, Audio Refinement & Lifecycle Hooks
- Scope: This release focuses on updating the service cross-platform robustness, specifically targeting Windows stabilization (COM initialization, PowerShell tooling), a new audio synthesis fallback architecture, and the introduction of lifecycle hooks for better extensibility.
🪟 Windows & Cross-Platform Robustness
- Native Search Tooling: Added
search_rules.ps1, a native PowerShell port of the rules search tool, ensuring developers on Windows have the same fuzzy-search capabilities as Linux users without needing a Bash environment. - Audio Fallback (
speak_fallback): Implemented a dedicated fallback mechanism for Windows OS across standard action plugins (e.g.,count_loud), ensuring reliable voice output even when primary TTS engines are unavailable. - Microphone & COM Stability: Stabilized Windows microphone control and fixed critical COM initialization issues that previously affected audio feedback reliability on Windows.
🔊 Audio & Sound Synthesis
- optimize Windows interaction latency
- Eliminated the delay when muting or playing beeps by avoiding repeated initialization.
- Triple Fallback System: Refactored the audio engine to implement a robust triple-fallback architecture, ensuring sound synthesis continues even under hardware or driver failures.
- Smooth Synthesis: Enhanced sound synthesis logic for smoother transitions and more natural audio feedback.
- Log Management: Silenced heavy C++ initialization logs from Vosk/Kaldi via
SetLogLevel(-1)to keep the console clean for developers.
🛠 Features & Developer Experience (DX)
- Lifecycle Hooks: Implemented system-wide lifecycle hooks, allowing developers to trigger custom logic at specific stages of the service execution.
- Regex Annotations: Added
EXAMPLEtags to all regex commands to improve readability and provide immediate usage context for rule creators. - CopyQ Enhancements: Significant updates to CopyQ export functionality, now featuring folder-based tags and advanced filtering.
- Robust Translator Hijacking: Updated the
check_translator_hijacklogic with better path handling and improved regex for increased security and reliability.
🐛 Bug Fixes & Internal Cleanup
- Dependency Management: Updated
psutilrequirements to>=7.0.0and removedgitfromREQUIRED_COMMANDSto simplify environment setup. - Linux Updater: The Linux updater now automatically triggers
pip install -r requirements.txtto ensure dependencies stay in sync. - Path Escaping: Resolved various Windows-specific path escaping and f-string syntax errors across the codebase.
- Typo Fixes: Corrected several typos in the
suse_setup.shand general documentation.
Changes (notable commits)
- Feat: Implement lifecycle hooks for better service extensibility.
- Feat: Add native
search_rules.ps1for Windows developers. - Refactor: Audio engine "triple fallback" and smooth synthesis.
- Refactor: Stabilize Windows COM and microphone feedback loops.
- Fix: Resolve IP exposure in logs and address multiple Windows pathing bugs.
- Misc: Enhanced CopyQ filtering, regex example annotations, and
REQUIRED_COMMANDScleanup.
A huge thank you to all contributors who helped test, translate, and report issues for this release!
