You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+55-2Lines changed: 55 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,13 @@
3
3
4
4
**Released**: March 15, 2026
5
5
6
-
This release improves async support with a new `arun()` helper and makes the Device Utilities module fully non-blocking.
6
+
This release improves async support with a new `arun()` helper, makes the Device Utilities module fully non-blocking, adds VT100 terminal emulation for screen-based commands, and introduces interactive SSH shell access for EX/SRX devices. (PR #16)
7
7
8
8
---
9
9
10
10
### 1. NEW FEATURES
11
11
12
-
#### **`mistapi.arun()`- Async Helper**
12
+
#### **`mistapi.arun()`— Async Helper**
13
13
New helper function to run any sync mistapi function without blocking the event loop. Wraps the function call in `asyncio.to_thread()` so blocking HTTP requests run in a thread pool.
New `topCommand()` function to stream `top` output from EX and SRX devices. Uses VT100 screen-buffer rendering for proper in-place display.
54
+
55
+
#### **VT100 Terminal Emulation**
56
+
Added ANSI escape stripping and a minimal VT100 screen-buffer renderer for device command output. Stream-mode commands (ping, traceroute) have ANSI codes stripped automatically. Screen-mode commands (top, monitor interface) are rendered through a virtual terminal buffer.
57
+
31
58
---
32
59
33
60
### 2. IMPROVEMENTS
@@ -63,6 +90,32 @@ for msg in response.receive():
63
90
await response
64
91
```
65
92
93
+
#### **Binary WebSocket Frame Support**
94
+
`_MistWebsocket._handle_message()` now handles binary frames (strips null bytes, decodes UTF-8 with replacement characters).
95
+
96
+
#### **Trigger-Only Commands Run Synchronously**
97
+
Fire-and-forget device commands (e.g., `clearMacTable`, `clearBpduError`, `clearHitCount`) that don't require a WebSocket stream now run the API trigger synchronously, ensuring `trigger_api_response` is immediately available on the returned `UtilResponse`.
98
+
99
+
#### **SRX Function Renames**
100
+
SRX and SSR OSPF/session functions renamed for clarity:
0 commit comments