-
Notifications
You must be signed in to change notification settings - Fork 112
Comparing changes
Open a pull request
base repository: tmux-python/libtmux
base: v0.50.1
head repository: tmux-python/libtmux
compare: v0.51.0
- 8 commits
- 24 files changed
- 1 contributor
Commits on Dec 6, 2025
-
deprecations(refactor): Replace DeprecationWarning with DeprecatedError
why: Legacy APIs deprecated in 0.16-0.33 should now raise hard errors instead of soft warnings to encourage migration to new APIs. what: - Add DeprecatedError exception class in exc.py - Server: kill_server, get_by_id, where, find_where, list_sessions, etc. - Session: attach_session, kill_session, attached_window/pane, etc. - Window: split_window, select_window, kill_window, attached_pane, etc. - Pane: resize_pane, select_pane, split_window, dict access - Keep 0.50 deprecations (g param, window options) as soft warnings
Configuration menu - View commit details
-
Copy full SHA for c779ffc - Browse repository at this point
Copy the full SHA c779ffcView commit details -
tests(refactor): Update tests for DeprecatedError behavior
why: Tests need to verify DeprecatedError is raised for legacy APIs. what: - Update legacy_api tests to use pytest.raises(DeprecatedError) - Update other tests to use new APIs instead of deprecated ones - Use namespace imports for exception classes
Configuration menu - View commit details
-
Copy full SHA for 56547e7 - Browse repository at this point
Copy the full SHA 56547e7View commit details -
docs(MIGRATION): Add comprehensive deprecation reference table
why: Users need a single reference for all deprecated APIs. what: - Add method renamings table with Since/Raises columns - Add property renamings table - Add parameter changes table - Add query/filter API changes table - Add attribute access changes table - Add removed items table - Add default behavior changes table
Configuration menu - View commit details
-
Copy full SHA for 137a267 - Browse repository at this point
Copy the full SHA 137a267View commit details -
docs(CHANGES): Document deprecated API changes
why: Changelog needs to document breaking changes. what: - Add APIs deprecated section listing all affected methods - Reference MIGRATION for full context - Note 0.50 deprecations remain as soft warnings
Configuration menu - View commit details
-
Copy full SHA for d87f185 - Browse repository at this point
Copy the full SHA d87f185View commit details -
refactor!: Deprecate legacy APIs with
DeprecatedError(#611)Convert deprecated APIs to raise DeprecatedError instead of DeprecationWarning Breaking change: Legacy APIs deprecated in 0.16-0.33 now raise hard errors instead of soft warnings to encourage migration to new APIs. Changes: - Add DeprecatedError exception class in exc.py - Server: kill_server, get_by_id, where, find_where, list_sessions raise errors - Session: attach_session, kill_session, attached_window/pane raise errors - Window: split_window, select_window, kill_window, attached_pane raise errors - Pane: resize_pane, select_pane, split_window, dict access raise errors - Keep 0.50 deprecations (g param, window options) as soft warnings - Update all tests to expect DeprecatedError or use new APIs - Add comprehensive deprecation reference tables in MIGRATION - Document breaking changes in CHANGES
Configuration menu - View commit details
-
Copy full SHA for 4cad449 - Browse repository at this point
Copy the full SHA 4cad449View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1fffe6 - Browse repository at this point
Copy the full SHA e1fffe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d96ec68 - Browse repository at this point
Copy the full SHA d96ec68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 535624d - Browse repository at this point
Copy the full SHA 535624dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.50.1...v0.51.0