Skip to content

Commit 292c922

Browse files
committed
chore: release v3.3.2
1 parent 64a4cb9 commit 292c922

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,74 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10+
## [3.3.2] — 2026-05-21
11+
12+
Daemon Isolation & Windows Deadlock Fixes
13+
14+
## 🚀 What's New in v3.3.2
15+
16+
This is a critical hotfix release that completely resolves environment leakage issues in the daemon worker (especially for complex packages like TensorFlow) and patches severe deadlocks during heavy I/O streaming on Windows.
17+
18+
* **Strict Daemon Environment Isolation:** Fixed an issue where the daemon worker would leak `site-packages` (like `numpy`) from the main environment. We now aggressively clear the daemon's `sys.path` (matching the loader's behavior), which completely resolves loading failures for packages like TensorFlow 2.20.
19+
* **Windows Streaming Deadlocks:** Bypassed the daemon entirely for certain interactive and streaming commands on Windows (such as the stress test). This prevents nasty edge-case deadlocks where the Windows daemon would hang during heavy stdout streaming.
20+
* **Cache Decode Errors:** Fixed a JSON decode error during stress testing by properly initializing the `_dep_cache_built_at` timestamp.
21+
* **Docs Formatting:** Pinned `pymdown-extensions>=10.21.2` to resolve a layout breakage caused by Pygments 2.20.0.
22+
23+
* **Windows Native Dispatcher POC (Ghost-Spawn):** We merged a working Proof-of-Concept for a native C dispatcher on Windows! While it successfully compiles, safely overwriting the locked `8pkg.exe` entrypoint is still actively being ironed out. For now, Windows will continue to safely fall back to the Python dispatcher while we perfect the atomic swapping logic.
24+
25+
* **Stable ABI3 Wheels (`cp37-abi3`):** Consolidated CPython wheel builds to enforce the `cp37-abi3` tag. This drastically reduces wheel bloat, bundles the compiled C dispatcher (for Unix) directly into the wheel, and guarantees forward compatibility with Python 3.14+.
26+
* **Nuclear Worker Shutdown (Windows):** Upgraded the daemon pool's shutdown sequence on Windows. It now utilizes a recursive tree kill (`taskkill /F /T`) to ensure zero orphaned child processes are left behind when the daemon exits.
27+
* **WebAssembly (WASM) Support:** Added safety rails and Emscripten exclusion markers to cleanly skip C-extension compilation and use `cryptography-wasm` when running in browser environments.
28+
29+
---
30+
31+
**📝 Code Changes:**
32+
- UPDATE: build_hooks.py (22 lines changed)
33+
- UPDATE: setup.py (147 lines changed)
34+
- UPDATE: src/omnipkg/cli.py (13 lines changed)
35+
- UPDATE: src/omnipkg/common_utils.py (16 lines changed)
36+
- UPDATE: src/omnipkg/dispatcher.c
37+
- UPDATE: src/omnipkg/dispatcher.py (319 lines changed)
38+
- UPDATE: src/omnipkg/isolation/worker_daemon.py (88 lines changed)
39+
- UPDATE: src/omnipkg/loader.py (14 lines changed)
40+
41+
**⚙️ Configuration:**
42+
- pyproject.toml (17 lines)
43+
44+
**Additional Changes:**
45+
- Update configuration
46+
- feat: add windows_bootstrap ghost-spawn PoC
47+
- Update 1 code files
48+
- 2
49+
- fix: fix build causing crash on install
50+
- fix(dispatcher): remove tools dispatcher bin entirely
51+
- fix(win): add debug logging for missing msvc
52+
- fix(win): improve detection of msvc on windows for dispatcher.c pip installs
53+
- fix: make loader dependency cache loading python 3.7 compatible
54+
- fix: add debug logging for daemon shutdown failures
55+
- Update 2 code files
56+
- refactor: build: bundle C dispatcher and enable cp37-abi3 stable wheels
57+
- ci: adding debugging for tests dir
58+
- fix: resolve TESTS_DIR path absolutely for CI compatibility
59+
60+
**New Features:**
61+
- feat: sync worker_daemon, loader, readme from development
62+
- feat: sync core.py improvements from development
63+
- feat: add windows_bootstrap from development
64+
65+
**Bug Fixes:**
66+
- fix: universal2 dispatcher arch flags + WASM skip guards
67+
68+
**Updates:**
69+
- Update workflow to specify OS and architecture types
70+
- Update manylinux images to use manylinux2014
71+
- Update publish-wheels.yml
72+
- Update test path in old_rich_test.yml
73+
- Update publish condition in workflow
74+
- Update publish conditions in workflow
75+
76+
_26 files changed, 928 insertions(+), 1459 deletions(-)_
77+
1078
## [3.3.1] — 2026-05-08
1179

1280
prevent interpreter corruption on second TF load in same process

0 commit comments

Comments
 (0)