libtmux 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e121eada829f9816c2d77a1910ae0ff9c473bb10539250a80a732156d7cf2804
4
- data.tar.gz: 725a646a69288b57ec37d9ded5f02444d40ac8968419bf0470706d2d3ec5505d
3
+ metadata.gz: 82b7f1a458a6a7b43a8b6520e292aeea8bd750587101b29ecf0d2c94cb9ee333
4
+ data.tar.gz: 38637e53ffc48f2ea65e30f621c1720d3fcfb924a17ce793f7626dc66b72b110
5
5
  SHA512:
6
- metadata.gz: 062be2f34e7a702808bc822350dca3bca1ef456957aab5f0885b069c518ce68b3bcfb3914b758ff1607ed98b25edef72c560e6c28ce79a5ef09ca566389261bd
7
- data.tar.gz: 0f2434316cd39f28f75618aa47b5fe3bb122f1dcec91017d256df182fcd564801602be30c7d84d803a3d4fa829a4af632fab3b5ff315f45f6ba3f29399788236
6
+ metadata.gz: fb757ca2ed5253502fa97c767f18a10f09ccba0841cd7710cce3706650ee3cea5ca834267b6730772525504b8acec9623c86071f07154108ab6e1d3408146862
7
+ data.tar.gz: 780145d196842bab9657e9bca3946594cb475f08fd45b4ceb3cb40018a30fd4f5e4198298275bfc88de241d47e1de88800539c7222e358afdb386167ad2a45d9
data/CHANGELOG.md ADDED
@@ -0,0 +1,108 @@
1
+ # Changelog
2
+
3
+ Notable changes to `libtmux`.
4
+
5
+ Releases are numbered `0.1.N`, and each release increments `N`. The API is not
6
+ settled: pin an exact version to avoid a break.
7
+
8
+ The gems are released together at one version, so every release has a section
9
+ here. Changes that span gems, such as documentation, CI and release tooling, are
10
+ in the [main changelog](../../CHANGELOG.md).
11
+
12
+ ## 0.1.4 (unreleased)
13
+
14
+ ## 0.1.3 (2026-12-05)
15
+
16
+ - `CommandError` includes the command and the first printable line of tmux's
17
+ error. The exception still carries the full native result. (#173)
18
+ - Typed option reads and writes accept dotted or colon-separated user keys on
19
+ tmux 3.7. The session guide shows how to read the name stored by the daemon.
20
+ (#181)
21
+ - Option reads preserve literal asterisks and spaces in user option names
22
+ while reporting whether the value is inherited. (#182)
23
+ - OptionCatalog exposes the built-in option and hook definitions from tmux
24
+ 3.8, including option types, ranges, choices and scopes. (#191)
25
+ - `Server#write_buffer` raises `UnsupportedFeatureError` for an empty payload
26
+ before sending it to tmux. Nonempty writes keep their existing behavior.
27
+ (#172)
28
+ - Session, window and pane creation can run the daemon's configured command or
29
+ shell. Omit the session or window name to let tmux choose it. (#186)
30
+ - `Server#list_windows` and `Server#list_panes` return empty collections when
31
+ their bound daemon is running without sessions. (#174)
32
+
33
+ ## 0.1.2 (2026-11-04)
34
+
35
+ No entries for `libtmux`.
36
+
37
+ ## 0.1.1 (2026-10-31)
38
+
39
+ - `Window#select_layout` accepts a JSON layout only on tmux 3.8 or newer, and
40
+ raw `select-layout`, including control lines, now refuses one below tmux 3.8
41
+ instead of sending it. The `UnsupportedFeatureError` names tmux 3.8 as the
42
+ minimum; upgrade tmux, or apply a checksummed layout. (#67)
43
+ - **Behavior change:** `Endpoint.new`, `Server.new` and `Server.open` no longer
44
+ need a socket. With no `socket_path:` or `socket_name:`, they pick the socket
45
+ tmux picks when it is given none: the path in `LIBTMUX_SOCKET_PATH`, else the
46
+ name in `LIBTMUX_SOCKET`, else the socket `TMUX` names inside tmux, else
47
+ tmux's default socket. They raised `ArgumentError` before. A program started
48
+ inside tmux that names no socket now reaches that tmux's server; pass
49
+ `socket_name:` or `socket_path:` to keep it off, as a test suite should.
50
+ `Endpoint.from_env` still follows `TMUX` alone. Two edge cases now match
51
+ tmux: an empty `TMUX_TMPDIR` means `/tmp`, where `Endpoint.new(socket_name:)`
52
+ raised, and `Endpoint.from_env` reads `TMUX_TMPDIR` only from the hash it is
53
+ given and ignores a `TMUX` that starts with a comma, where it raised. (#71)
54
+
55
+ ## 0.1.0 (2026-10-25)
56
+
57
+ No entries for `libtmux`.
58
+
59
+ ## 0.1.0.alpha.3 (2026-10-24)
60
+
61
+ ### libtmux
62
+
63
+ - Refuse commands that misbehave on one tmux release before they run: named
64
+ buffer deletion and rename below 3.4, raw `break-pane` and colon or period
65
+ names on exact 3.7, raw `split-window -p` on 3.4, and malformed layouts below
66
+ 3.4. `Pane#break_out` now works on exact 3.7 and for a sole pane. Refusals
67
+ raise `UnsupportedFeatureError`. (#37)
68
+ - Raw `refresh-client -l`, in `Server#run` or a control line, raises
69
+ `UnsupportedFeatureError` below tmux 3.6a. On 3.3a, asking an attached
70
+ terminal for its clipboard stops the server, and on 3.4 through 3.6 the
71
+ server stops when that client leaves before its terminal answers. (#37)
72
+ - Snapshots and the daemon identity check no longer fire `after-display-message`
73
+ hooks. (#37)
74
+ - Record every tmux release gate in one internal registry and emit it as the
75
+ root `capabilities.json` manifest, which the docs site reads for its
76
+ capability pages. `Window#select_layout` raises `UnsupportedFeatureError`,
77
+ not `ArgumentError`, for a JSON layout below tmux 3.8-rc2. (#37)
78
+
79
+ ## 0.1.0.alpha.2 (2026-10-18)
80
+
81
+ ### libtmux
82
+
83
+ - Run on tmux 3.8 and tmux master (`next-3.9`). Snapshots decode metadata
84
+ with line feeds, `select_layout` accepts the JSON layouts that 3.8-rc2 and
85
+ later report, and owned servers start on releases that log more at startup.
86
+ (#36)
87
+ - **Breaking:** `Server.new` now reads the daemon's tmux release and blocks
88
+ for up to `version_timeout:` seconds (default five), so a socket with no
89
+ daemon raises `TargetNotFoundError` at construction instead of at the first
90
+ command. Read the result with the new `Server#tmux_version`. (#36)
91
+
92
+ ## 0.1.0.alpha.1 (2026-09-20)
93
+
94
+ ### libtmux
95
+
96
+ - Create sessions, windows and panes; arrange layouts, send text or keys, and
97
+ capture output through Ruby handles. Manage options, hooks, environment
98
+ values and binary buffers. [Quick start](../../README.md#quick-start).
99
+ - Start a private tmux server with `LibTmux::Server.start`, or borrow an
100
+ existing socket with `Server.open`. Block exit cleans up owned clients;
101
+ borrowed daemons stay running. [Ownership](../../docs/ownership-errors.md).
102
+ - Query immutable snapshots with `where`, `select`, `one`, `one_or_nil` and
103
+ `Enumerable`, without further tmux calls. `WindowLink` addresses a window's
104
+ placement in a session, including repeated links to the same window.
105
+ [Queries](../../examples/list_filter.rb) · [Linked windows](../../examples/window_links.rb).
106
+ - Use command deadlines and cancellation tokens, or subscribe to bounded
107
+ control-mode events with explicit overflow and gap reporting.
108
+ [Execution modes](../../docs/modes.md).