Skip to content

Commit 44007d8

Browse files
committed
docs(CHANGES): Update for command options change
1 parent dbcc116 commit 44007d8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

CHANGES

+27
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,33 @@
6767

6868
- Fix loading of `.yml` files with `tmuxp convert`, thank you @kalixi! (#725)
6969

70+
#### Internal API
71+
72+
- #752: Command structure (internal API)
73+
74+
To make way for per-command options such as `enter: false` (#52), commands are now a different format:
75+
76+
Before, [`str`](str):
77+
78+
```python
79+
"echo hello"
80+
```
81+
82+
After, [`dict`](dict):
83+
84+
```python
85+
{
86+
"cmd": "echo hello"
87+
}
88+
```
89+
90+
This is purely internal. Normal usage should be the same since the
91+
configuration emits the equivalent result.
92+
93+
This will permit commands to pass additional options, e.g. `enter: false` where it wasn't possible before.
94+
95+
- #752: Configuration parsing refactorings
96+
7097
#### Development
7198

7299
- Run through black + isort with string normalization (#738). This way we can

0 commit comments

Comments
 (0)