# Release Notes - v0.1.121

## Programmatic Dialog Close API 

msger can now close message boxes programmatically from the parent process!

### What's New

**1. Handle-Based API**
```javascript
const handle = showMessageBoxEx({ message: 'Processing...' });
setTimeout(() => handle.close(), 5000);
await handle.result; // {button: 'closed', closed: true}
```

**2. Close by PID**
```javascript
closeMessageBox(pid);
```

**3. Backward Compatible**
- `showMessageBox()` still works as before
- Returns promise directly

### Use Cases
- Progress dialogs that auto-close when task completes
- Timeout-based notifications
- Multi-dialog management
- Remote control of detached dialogs

### Files Added
- `CLOSE-API.md` - Complete API documentation
- `tests/test-handle-api.mjs` - Handle API tests
- `tests/test-close-by-pid.mjs` - PID close tests

### API Reference
See [CLOSE-API.md](CLOSE-API.md) for complete documentation.

---
**Version:** 0.1.121  
**Date:** 2025-11-16  
**Platform Support:** Windows, Linux (x64), Linux (ARM64/Pi)
