Skip to content

Commit 26660ba

Browse files
committed
chore: release v2.3.0
1 parent 120255e commit 26660ba

2 files changed

Lines changed: 140 additions & 1 deletion

File tree

CHANGELOG.md

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

88
---
99

10+
## [2.3.0] — 2026-02-18
11+
12+
Windows Daemon Stability, Strict Python Isolation & Swap Refactor
13+
14+
🚀 Major Improvements
15+
16+
🪟 Windows Daemon — Reliable Headless Operation
17+
18+
The daemon now runs correctly in headless Windows environments (SSH, CI, non-interactive shells).
19+
20+
Key fixes:
21+
• Corrected detached process stdio handling
22+
• Eliminated silent spawn failures
23+
• Stabilized restart sequencing to avoid half-initialized daemon states
24+
25+
8pkg daemon restart now performs deterministic stop/start behavior without race conditions.
26+
27+
28+
29+
🐍 Strict Cross-Interpreter Isolation
30+
31+
Resolved a critical edge case where workers spawned for one Python interpreter could resolve packages from another interpreter’s site-packages.
32+
33+
Isolation is now strictly enforced:
34+
• Worker path resolution is interpreter-pinned
35+
• PID → Python version detection improved
36+
• Interpreter version extraction hardened
37+
• Shim validation ensures environment authenticity
38+
39+
This guarantees:
40+
• No cross-version leakage
41+
• Correct ABI boundaries for C-extensions
42+
• Deterministic dependency resolution
43+
44+
45+
46+
🔀 Swap System Refactor — Single Source of Truth
47+
48+
All interactive swap logic has been consolidated into dispatcher.py.
49+
50+
Previously split across CLI and dispatcher layers, swap handling now:
51+
• Centralizes PATH injection
52+
• Manages shim creation consistently
53+
• Handles Windows .bat generation
54+
• Uses --rcfile strategy on Unix
55+
• Strips stale .omnipkg shims cleanly
56+
• Preserves user aliases correctly
57+
58+
This eliminates duplication and improves maintainability.
59+
60+
61+
62+
🧠 Interpreter Adoption & Shim Improvements
63+
64+
Interpreter adoption flow significantly hardened:
65+
• Dependency checks before adoption
66+
• Automatic shim creation for adopted interpreters
67+
• Live output streaming during adoption
68+
• Registry polling for confirmation
69+
• Unified subprocess execution via _run_info_python
70+
71+
This improves transparency and reliability when integrating external interpreters.
72+
73+
74+
75+
📊 Resource Monitor Enhancements
76+
77+
Resource monitor was refactored for clarity and efficiency:
78+
• Improved PID → Python version detection
79+
• Better GPU usage reporting
80+
• Streamlined psutil-based process collection
81+
• Idle worker replenishment logic refined
82+
• Cleaner performance metric calculations
83+
84+
Worker accounting and version reporting are now more robust.
85+
86+
87+
88+
🔐 Knowledge Base Lock Handling
89+
90+
Refactored rebuild logic to properly handle stale locks and prevent deadlock conditions during concurrent operations.
91+
92+
93+
94+
🌍 Internationalization Surge
95+
96+
Massive expansion of Arabic (Egyptian) localization:
97+
• Coverage increased from ~10% to 95%+
98+
• Automated translation pipeline with validation and formatting repair
99+
• .mo binaries regenerated
100+
• Significant improvements to Standard Arabic and Japanese
101+
102+
103+
104+
🔧 Internal Quality Improvements
105+
• Refactored _extract_python_version for more reliable version detection
106+
• Improved PATH hygiene logic
107+
• Consolidated subprocess execution patterns
108+
• Reduced architectural duplication between CLI and dispatcher layers
109+
110+
111+
112+
📈 Commit Summary
113+
114+
15 commits since v2.2.3
115+
Major themes:
116+
• Daemon lifecycle stabilization
117+
• Strict interpreter isolation
118+
• Swap system architecture cleanup
119+
• Resource monitor modernization
120+
• Internationalization expansion
121+
122+
123+
124+
What This Release Represents
125+
126+
v2.3.0 is a stability and architecture hardening release.
127+
128+
It moves omnipkg from “feature-rich” to “operationally reliable,” particularly on Windows — the most hostile environment for process orchestration and path manipulation.
129+
130+
---
131+
132+
**📝 Code Changes:**
133+
- UPDATE: src/omnipkg/cli.py (198 lines changed)
134+
- UPDATE: src/omnipkg/dispatcher.py (392 lines changed)
135+
136+
**Additional Changes:**
137+
- fix: Print debug to shell for users on swaps.
138+
- refactor(core): consolidate swap shell logic into dispatcher
139+
- i18n(ar_eg): massive translation surge from ~10% to 95%+ via global chain + .mo compile
140+
141+
**Bug Fixes:**
142+
- fix: daemon restart uses stop/start directly, clean up restart logic
143+
144+
**Updates:**
145+
- Update dispatcher.py
146+
147+
_28 files changed, 3402 insertions(+), 2391 deletions(-)_
148+
10149
## [2.2.3] — 2026-02-17
11150

12151
Windows Stability, Daemon Overhaul & Concurrency Fixes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "omnipkg"
8-
version = "2.2.3"
8+
version = "2.3.0"
99
authors = [
1010
{ name = "1minds3t", email = "1minds3t@proton.me" },
1111
]

0 commit comments

Comments
 (0)