Weaviate-client

Latest version: v4.10.2

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 21

3.15.0

--------------
This minor version includes:

- GraphQL Multiple queries and aliases support
.. code-block:: python

client.query.multi_get(
[
client.query.get("Ship", ["name"]).with_alias("one"),
client.query.get("Ship", ["size"]).with_alias("two"),
client.query.get("Person", ["name"])
]
- Adds support for embedded weaviate version
.. code-block:: python

from weaviate import Client
from weaviate.embedded import EmbeddedOptions

Create the embedded client which automatically launches a Weaviate database in the background
client = Client(embedded_options=EmbeddedOptions())

3.14.0

Not secure
--------------
This minor version includes:

- Support for API-Keys
.. code-block:: python

client = weaviate.Client(url, auth_client_secret=AuthApiKey(api_key="my-secret-key"))

3.13.0

Not secure
--------------
This minor version includes:

- Extend CRUD operations for single data objects and reference with consistency level.

- Extend batch operations with consistency level.

- Add Cursor api.

- Add support for azure backup module.

3.12.0

Not secure
--------------
This minor version includes:

- Adds with_generate in :meth:`~weaviate.gql.get.GetBuilder` which allows to use the generative openai module. Needs Weaviate with version >=v1.17.3.

- Fix for empty OIDC scopes

- New startup_period parameter in :meth:`~weaviate.client.Client`. The client will wait for the given timeout for
Weaviate to start. By default 5 seconds.

- Improved error messages for where filters and authentication.

3.11.0

Not secure
--------------
This minor version includes:

- New status code attribute for :class:`~weaviate.exceptions.UnexpectedStatusCodeException` that can be accessed like this:

.. code-block:: python

try:
your code
except weaviate.UnexpectedStatusCodeException as err:
print(err.status_code)

- Fix for :meth:`~weaviate.client.Client.get_meta`.

- Caches server version at :class:`~weaviate.client.Client` initialization. This improves batch reference creation performance.

- Changes accepted data types for arguments ``from_object_uuid`` and ``to_object_uuid`` of the method :meth:`~weaviate.batch.Batch.add_reference` to ``str`` and ``uuid.UUID``.

- |
Adds automatic retry for failed objects. It can be configured using the ``weaviate_error_retries`` argument for the :meth:`~weaviate.batch.Batch.configure` or
:meth:`~weaviate.batch.Batch.__call__`, and should be an instance of :class:`~weaviate.WeaviateErrorRetryConf`. It can be used like this:

- All errors:

.. code-block:: python

from weaviate import WeaviateErrorRetryConf

with client.batch(
weaviate_error_retries=WeaviateErrorRetryConf(number_retries=3),
) as batch:
Your code

- Exclude errors, all the other errors will be retried:

.. code-block:: python

from weaviate import WeaviateErrorRetryConf

with client.batch(
weaviate_error_retries=WeaviateErrorRetryConf(number_retries=3, errors_to_exclude=["Ignore me", "other error to ignore"]),
) as batch:
Your code

- Include errors, all the other errors will be ignored:

.. code-block:: python

from weaviate import WeaviateErrorRetryConf

with client.batch(
weaviate_error_retries=WeaviateErrorRetryConf(number_retries=3, errors_to_include=["error to retry", "other error to test again"]),
) as batch:
Your code

- Adds new arguments ``sort`` and ``offset`` for :meth:`~weaviate.data.DataObject.get`.

3.10.0

Not secure
--------------
This minor version includes:

- Improves error message for error ``"413: Payload Too Large"``
- |
Adds new :class:`~weaviate.client.Client` credential OIDC flow method:

.. code-block:: python

client_credentials_config = weaviate.AuthClientCredentials(
client_secret = "client_secret",
scope = "scope1 scope2" optional, depends on the configuration of your identity provider
)
client = weaviate.Client("https://localhost:8080", auth_client_secret=client_credentials_config)
- Improves size of batches on dynamic batching.
- New ``limit`` argument to :meth:`~weaviate.data.DataObject.get` method of the :class:`~weaviate.data.DataObject` client attribute.
- Bump minimum version of request to ``2.28.0``
- |
Adds support for ``node_name`` and ``consistency_level`` for both :meth:`~weaviate.data.DataObject.get` and :meth:`~weaviate.data.DataObject.get_by_id`
of the :class:`~weaviate.data.DataObject` client attribute.
This can be used `ONLY` with Weaviate Server ``v1.17.0`` or later.
- |
Adds support for replication factor in schema. This can be used `ONLY` with Weaviate Server ``v1.17.0`` or later. This can be configured in class schema like this:

.. code-block:: python

my_class = {
"class": "MyClass",
...,
"replicationConfig": {
"factor": 1
}
}
- Adds support for ``Bm25`` for ``Get`` queries, :meth:`~weaviate.gql.get.GetBuilder.with_bm25`. This can be used `ONLY` with Weaviate Server ``v1.17.0`` or later.
- Adds support for ``with_hybrid`` for ``Get`` queries, :meth:`~weaviate.gql.get.GetBuilder.with_hybrid`. This can be used `ONLY` with Weaviate Server ``v1.17.0`` or later.

Page 17 of 21

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.