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
deprecations(fix): Revert 0.50 deprecations to soft warnings
why: The window option methods (set_window_option, show_window_options,
show_window_option) and the g parameter were only soft-deprecated in
v0.50.0 (2025-11-30). Converting to hard errors in v0.51.0 is too
aggressive - users need more time to migrate.
what:
- Revert window option methods from DeprecatedError to DeprecationWarning
- Revert g parameter on options/hooks methods to DeprecationWarning
- Fix docstring versions from 0.26 to 0.50 (typo in original commit)
- Update CHANGES and MIGRATION tables to reflect soft deprecation
- Update tests to expect DeprecationWarning instead of DeprecatedError
Copy file name to clipboardExpand all lines: CHANGES
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ _Upcoming changes will be written here._
46
46
47
47
#### APIs deprecated (#611)
48
48
49
-
Legacy API methods now raise {exc}`~libtmux.exc.DeprecatedError` (hard error) instead of emitting {class}`DeprecationWarning`.
49
+
Legacy API methods (deprecated in 0.16-0.33) now raise {exc}`~libtmux.exc.DeprecatedError` (hard error) instead of emitting {class}`DeprecationWarning`.
50
50
51
51
See {doc}`migration` for full context and examples.
52
52
@@ -58,9 +58,14 @@ See {doc}`migration` for full context and examples.
0 commit comments