Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tmux-python/libtmux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.50.1
Choose a base ref
...
head repository: tmux-python/libtmux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.51.0
Choose a head ref
  • 8 commits
  • 24 files changed
  • 1 contributor

Commits on Dec 6, 2025

  1. 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
    tony committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    c779ffc View commit details
    Browse the repository at this point in the history
  2. 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
    tony committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    56547e7 View commit details
    Browse the repository at this point in the history
  3. 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
    tony committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    137a267 View commit details
    Browse the repository at this point in the history
  4. 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
    tony committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    d87f185 View commit details
    Browse the repository at this point in the history
  5. 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
    tony authored Dec 6, 2025
    Configuration menu
    Copy the full SHA
    4cad449 View commit details
    Browse the repository at this point in the history
  6. py(deps[dev]) Bump dev packages

    tony committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    e1fffe6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d96ec68 View commit details
    Browse the repository at this point in the history
  8. Tag v0.51.0 (API deprecations)

    tony committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    535624d View commit details
    Browse the repository at this point in the history
Loading