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
| 9.x client|❌ Not compatible with {{es}} 8.x |✅ Compatible with {{es}} 9.x |✅ Compatible with {{es}} 10.x |
64
+
| 9.x client|❌ Not compatible with {{es}} 8.x |✅ Compatible with {{es}} 9.x |✅ Compatible with {{es}} 10.x |
65
65
| 8.x client |✅ Compatible with {{es}} 8.x |✅ Compatible with {{es}} 9.x |❌ Not compatible with {{es}} 10.x |
66
66
67
67
Compatibility does not imply feature parity. New {{es}} features are supported only in equivalent client versions. For example, an 8.12 client fully supports {{es}} 8.12 features and works with 8.13 without breaking, but it does not support new {{es}} 8.13 features. An 8.13 client fully supports {{es}} 8.13 features.
68
68
69
-
{{es}} language clients are also **backward compatible** across minor versions— with default distributions and without guarantees.
69
+
{{es}} language clients are also **backward compatible** across minor versions, with default distributions and without guarantees.
70
70
71
71
### Major version upgrades
72
72
73
73
:::{important}
74
74
To upgrade to a new major version, first [upgrade {{es}}](docs-content://deploy-manage/upgrade.md), then upgrade the Python client.
75
75
:::
76
76
77
-
As of version 8.0, {{es}} offers a compatibility mode for smoother upgrades. In compatibility mode, you can upgrade your {{es}} cluster to the next major version while continuing to use your existing client during the transition.
77
+
As of version 8.0, {{es}} offers a [compatibility mode](elasticsearch://reference/elasticsearch/rest-apis/compatibility.md) for smoother upgrades. In compatibility mode, you can upgrade your {{es}} cluster to the next major version while continuing to use your existing client during the transition.
78
78
79
-
For example, if you're upgrading {{es}} 8.x to {{es}} 9.x, you can continue to use the 8.x Python {{es}} client during and after the server upgrade, with the exception of [breaking changes](../release-notes/breaking-changes.md).
79
+
For example, if you're upgrading {{es}} from 8.x to 9.x, you can continue to use the 8.x Python client during and after the {{es}} server upgrade, with the exception of [breaking changes](../release-notes/breaking-changes.md).
80
80
81
-
To enable compatibility mode, set the environment variable `ELASTIC_CLIENT_APIVERSIONING` to `true`. For more details, refer to [{{es}} API compatibility](elasticsearch://reference/elasticsearch/rest-apis/compatibility.md).
81
+
In the Python client, compatibility mode is always enabled.
82
82
83
83
:::{tip}
84
84
To support working with multiple client versions, the Python client is also released under the package names `elasticsearch8` and `elasticsearch9` (to prevent name collisions).
0 commit comments