Public API¶
What Is Public¶
Every module documented under API Reference is public API. This includes:
Core Library¶
Module |
Import Path |
|---|---|
Server |
|
Session |
|
Window |
|
Pane |
|
Common |
|
Neo |
|
Options |
|
Hooks |
|
Constants |
|
Exceptions |
|
Test Utilities¶
Module |
Import Path |
|---|---|
Test helpers |
|
Pytest plugin |
|
What Is Internal¶
Modules under libtmux._internal and libtmux._vendor are not public.
They may change or be removed without notice between any release.
Do not import from:
libtmux._internal.*libtmux._vendor.*
Pre-1.0 Stability Policy¶
libtmux is pre-1.0. This means:
Minor versions (0.x -> 0.y) may include breaking API changes
Patch versions (0.x.y -> 0.x.z) are bug fixes only
Pin your dependency: use
libtmux>=0.55,<0.56orlibtmux~=0.55.0
Breaking changes are documented in the changelog and the deprecations page before removal.
Deprecation Process¶
Before removing or changing public API:
A deprecation warning is added for at least one minor release
The change is documented in deprecations
Migration guidance is provided
The old API is removed in a subsequent minor release