Skip to content

Commit

Permalink
Merge pull request #1194 from weaviate/changelog-470
Browse files Browse the repository at this point in the history
Add changelog for `v4.7.0` release
  • Loading branch information
tsmith023 committed Jul 23, 2024
2 parents 8930625 + 6234608 commit 33e35ba
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
Changelog
=========

Version 4.7.0
--------------

This minor version includes:

- The introduction of the ``WeaviateAsyncClient`` class to support I/O requests to Weaviate using the ``async/await`` syntax with `asyncio <https://docs.python.org/3/library/asyncio.html>`
- All methods that perform CRUD and search actions are now ``async def`` functions
- To instantiate a client quickly, use the ``weaviate.use_async_with_x`` methods in an async context manager pattern, e.g.:
.. code-block:: python
async with weaviate.use_async_with_local() as client:
# Your code
- Note, you cannot do ``await weaviate.use_async_with_x`` if not using the context manager pattern. You have to create the client first and then connect manually:
.. code-block:: python
client = weaviate.use_async_with_local()
await client.connect()
# Your code
await client.close()
- A refactoring of the underlying implementation of the ``WeaviateClient`` to use the ``WeaviateAsyncClient`` under-the-hood scheduling the necessary coroutines to run in a side-car event-loop thread
- Support for new core Weaviate features in both the sync and async clients:
- Multi-vector search in the ``.near_x`` and ``.hybrid`` methods within the ``.generate`` and ``.query`` collection namespaces
- Scalar Quantization (SQ) vector index configuration
- Async replication configuration for multi-node Weaviate deployments
- Tenant offloading to S3 cloud storage using the newly intrduced ``OFFLOADED`` tenant activity status
- Renaming of ``HOT`` to ``ACTIVE`` and ``COLD`` to ``INACTIVE`` for tenant activity statuses
- NOTE: To use these features, you must have Weaviate version 1.26.0 or higher


Version 4.6.7
--------------

Expand Down

0 comments on commit 33e35ba

Please sign in to comment.