unstale

pypi / opensearch-py

opensearch-py

What changed in opensearch-py 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-02.

3 breaking4 new APIs and options1 behavior and defaults5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

opensearch-py 311 changes

Breaking changes 2

  • Repurposes the Elasticsearch dense_vector field for knn_vector.

    3.1.0release notes

  • Raises the minimum supported Python version from 3.8 to 3.10.

    3.1.0release notes

New APIs and options 4

  • Adds explicit proxy support to RequestsHttpConnection.

    3.1.0release notes

  • Adds a transport-grpc client library.

    3.1.0release notes

  • Custom headers are now available to the async AWS signer.

    3.0.0release notes

  • Search now supports the search_after parameter.

    3.0.0release notes

Fixes and other changes 5

  • The signer now passes headers to AWSRequest when signing.

    3.2.0release notes

  • The client was updated to reflect the latest OpenSearch API spec, changing the API surface available to developers.

    3.2.0release notes

  • The signer now includes X-Amz-Content-SHA256 in SignedHeaders.

    3.2.0release notes

  • Fixes the async request signer.

    3.1.0release notes

  • Fixed double-writes.

    3.0.0release notes

opensearch-py 22 changes

Breaking changes 1

Behavior and default changes 1

  • requests is moved to install_requires, so it is installed as a required dependency when installing opensearch-py.

    2.0.0release notes