Skip to content

# Release v0.18.0 — Windows Stabilization, Audio Refinement & Lifecycle Hooks

Choose a tag to compare

@sl5net sl5net released this 24 Dec 17:48

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 EXAMPLE tags 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_hijack logic with better path handling and improved regex for increased security and reliability.

🐛 Bug Fixes & Internal Cleanup

  • Dependency Management: Updated psutil requirements to >=7.0.0 and removed git from REQUIRED_COMMANDS to simplify environment setup.
  • Linux Updater: The Linux updater now automatically triggers pip install -r requirements.txt to 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.sh and general documentation.

Changes (notable commits)

  • Feat: Implement lifecycle hooks for better service extensibility.
  • Feat: Add native search_rules.ps1 for 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_COMMANDS cleanup.

A huge thank you to all contributors who helped test, translate, and report issues for this release!

ko-fi