Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: remove redudannt ipc wait + doc update and version bump

Gabriel Steina9dcbbc257ae
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 906604805..efba4709e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [1.4.2] - 2026-02-07
+
+### Fixed
+- **AssemblyAI Streaming Reliability**: Fixed real-time WebSocket going silent after idle periods by adding keep-alive pings, readyState validation, re-warm recovery, and connection death handling
+
+## [1.4.1] - 2026-02-07
+
+### Added
+- **Runtime .env Configuration**: Environment variables now reload at runtime without requiring app restart
+- **Settings Retention on Pro**: Pro subscribers retain their settings when managing their subscription
+
+### Fixed
+- **macOS Microphone Permission**: Resolved hardened-runtime mic permission prompt by routing through main-process IPC and unifying API key cache invalidation with event-based AudioManager sync
+- **AudioWorklet ASAR Loading**: Inlined AudioWorklet as blob URL to fix module loading failure in packaged ASAR builds
+- **Google OAuth Flow**: OAuth now opens in the system browser with deep link callback instead of navigating the Electron window
+- **Auth Security Hardening**: Safe JSON parsing, guarded URL constructor, and fixed error information leaks in auth code
+- **Deep Link Focus**: Control panel now correctly receives focus when opened via deep link
+- **Neon Auth Electron Compatibility**: Routed auth flows through API proxy and fixed Origin header rejection for desktop app
+- **Billing Error Visibility**: Checkout and billing errors now surface as toast notifications instead of failing silently
+- **Hotkey Persistence**: Added file-based hotkey storage for reliable startup persistence (#181)
+- **Email Verification**: Disabled Neon Auth email verification step for smoother onboarding
+
+### Changed
+- **Build Optimization**: Binary dependencies are now cached during build for faster CI
+- **UI Polish**: Fixed scrollbar styling, provider button styling, and voice recorder icon fill
+
## [1.4.0] - 2026-02-06
### Added
diff --git a/README.md b/README.md
index 8557d4f4b..d6b046c9b 100644
--- a/README.md
+++ b/README.md
@@ -628,7 +628,7 @@ A: OpenWhispr supports 58 languages including English, Spanish, French, German,
## Project Status
-OpenWhispr is actively maintained and ready for production use. Current version: 1.4.0
+OpenWhispr is actively maintained and ready for production use. Current version: 1.4.2
- ✅ Core functionality complete
- ✅ Cross-platform support (macOS, Windows, Linux)
diff --git a/package-lock.json b/package-lock.json
index 1d4763513..c83ee40f7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "open-whispr",
- "version": "1.4.1",
+ "version": "1.4.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "open-whispr",
- "version": "1.4.1",
+ "version": "1.4.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
diff --git a/package.json b/package.json
index 53da7b351..a58619514 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-whispr",
- "version": "1.4.1",
+ "version": "1.4.2",
"description": "A desktop dictation application using whisper.cpp for speech-to-text transcription",
"main": "main.js",
"private": true,
diff --git a/src/helpers/assemblyAiStreaming.js b/src/helpers/assemblyAiStreaming.js
index c21d9c247..ce629fb47 100644
--- a/src/helpers/assemblyAiStreaming.js
+++ b/src/helpers/assemblyAiStreaming.js
@@ -155,9 +155,7 @@ class AssemblyAiStreaming {
clearTimeout(warmupTimeout);
this.stopKeepAlive();
const wasReady = this.warmConnectionReady;
- const savedOptions = this.warmConnectionOptions
- ? { ...this.warmConnectionOptions }
- : null;
+ const savedOptions = this.warmConnectionOptions ? { ...this.warmConnectionOptions } : null;
debugLogger.debug("AssemblyAI warm connection closed", {
wasReady,
code,
@@ -174,9 +172,7 @@ class AssemblyAiStreaming {
scheduleRewarm() {
if (this.rewarmAttempts >= MAX_REWARM_ATTEMPTS) {
- debugLogger.debug(
- "AssemblyAI max re-warm attempts reached, will cold-start next recording"
- );
+ debugLogger.debug("AssemblyAI max re-warm attempts reached, will cold-start next recording");
return;
}
if (this.isConnected) {
diff --git a/src/helpers/audioManager.js b/src/helpers/audioManager.js
index 70ecf5776..1bd1f2406 100644
--- a/src/helpers/audioManager.js
+++ b/src/helpers/audioManager.js
@@ -1873,7 +1873,11 @@ registerProcessor("pcm-streaming-processor", PCMStreamingProcessor);
if (this.isStreaming) {
logger.warn("Connection lost during streaming, auto-stopping", {}, "streaming");
this.stopStreamingRecording().catch((e) => {
- logger.error("Auto-stop after connection loss failed", { error: e.message }, "streaming");
+ logger.error(
+ "Auto-stop after connection loss failed",
+ { error: e.message },
+ "streaming"
+ );
});
}
});
@@ -1972,9 +1976,6 @@ registerProcessor("pcm-streaming-processor", PCMStreamingProcessor);
});
const tTerminate = performance.now();
- // 5. Brief wait for any in-transit IPC Turn events to reach the renderer.
- await new Promise((resolve) => setTimeout(resolve, 200));
-
finalText = this.streamingFinalText || "";
if (!finalText && this.streamingPartialText) {
@@ -1984,7 +1985,11 @@ registerProcessor("pcm-streaming-processor", PCMStreamingProcessor);
if (!finalText && stopResult?.text) {
finalText = stopResult.text;
- logger.debug("Using disconnect result text as fallback", { textLength: finalText.length }, "streaming");
+ logger.debug(
+ "Using disconnect result text as fallback",
+ { textLength: finalText.length },
+ "streaming"
+ );
}
this.cleanupStreamingListeners();
diff --git a/src/helpers/ipcHandlers.js b/src/helpers/ipcHandlers.js
index 49f168d1d..04f22d672 100644
--- a/src/helpers/ipcHandlers.js
+++ b/src/helpers/ipcHandlers.js
@@ -1018,9 +1018,16 @@ class IPCHandlers {
})();
const getApiUrl = () =>
- process.env.OPENWHISPR_API_URL || process.env.VITE_OPENWHISPR_API_URL || runtimeEnv.VITE_OPENWHISPR_API_URL || "";
-
- const getAuthUrl = () => process.env.NEON_AUTH_URL || process.env.VITE_NEON_AUTH_URL || runtimeEnv.VITE_NEON_AUTH_URL || "";
+ process.env.OPENWHISPR_API_URL ||
+ process.env.VITE_OPENWHISPR_API_URL ||
+ runtimeEnv.VITE_OPENWHISPR_API_URL ||
+ "";
+
+ const getAuthUrl = () =>
+ process.env.NEON_AUTH_URL ||
+ process.env.VITE_NEON_AUTH_URL ||
+ runtimeEnv.VITE_NEON_AUTH_URL ||
+ "";
const getSessionCookies = async (event) => {
const win = BrowserWindow.fromWebContents(event.sender);