Sourced from weaviate-client's releases.
v4.4.0
What's Changed
- A new and improved client has been developed that:
- Streamlines the API and improves the UX when working with Weaviate
- Fully connects to Weaviate's new gRPC API for faster queries
- Ships with a fully autonomous dynamic batching algorithm for ease of data uploading
- Introduces strong typing of inputs and ouputs for Python-native safety
- Allows for the use of full typing hinting and generics to get the most out of your vectorised data
- See the documentation on the new features in the v4 client
- See the migration guide on how to upgrade from previous pre-release versions to this full release
- If you have troubles upgrading from v3 to v4 or find that your codebase no longer works upon the bump then please raise an issue on the board and we will see to it!
New Contributors
@halilbilgin
made their first contribution in weaviate/weaviate-python-client#422@trengrj
made their first contribution in weaviate/weaviate-python-client#468@mikewyer
made their first contribution in weaviate/weaviate-python-client#627@SavvasMohito
made their first contribution in weaviate/weaviate-python-client#705@jfrancoa
made their first contribution in weaviate/weaviate-python-client#763@daveatweaviate
made their first contribution in weaviate/weaviate-python-client#800Full Changelog: https://github.com/weaviate/weaviate-python-client/compare/v3.26.2...v4.4.0
Sourced from weaviate-client's changelog.
Version 4.4.0
This version is the first full release for the Python v4 client and requires weaviate versions >= 1.23.7.
Since the previous RC, there have been a number of improvements and final bug fixes.
- The type of
object.vector
has changed fromOptional[Dict[str, List[float]]]
toDict[str, List[float]]
so thatobject.vector
is neverNone
.- Exporting and importing of collections has been tidied up and improved.
- A number of methods have had input validation added to them.
- Most exceptions are now unified under a few common classes.
For more information around the new client, see here: https://weaviate.io/developers/weaviate/client-libraries/python
Version 4.4.rc1
This version is a release candidate for the python v4 client.
There is a significant breaking change in this version in anticipation of the named vectors functionality of future Weaviate versions.
- The
vector
property ofObject
has had its type changed fromOptional[List[float]]
toOptional[Dict[str, List[float]]]
.- Accessing of the vector property has changed from
object.vector
toobject.vector["default"]
.- When using the client with future releases, other named vectors will be accessible as
object.vector["name"]
.Newly created (as of 15:00UTC 01/30/24) WCS sandbox instances are now capable of handling gRPC connections and so the client has been updated accordingly in its
connect_to_wcs
method. If you are using an old sandbox, make a new one and use the new one instead.Minor bugfixes are also included.
Version 4.4.rc0
This version is a release candidate for the python v4 client.
All backward compatibility code is being removed and requires weaviate versions >= 1.23.5.
All deprecated code has been removed. Check the migration guide (https://www.weaviate.io/developers/weaviate/client-libraries/python#migration-guides) how to update your code.
Improvements include:
- Input validation
- Embedded weaviate shows an error when the chosen port(s) are already occupied
Fixes include:
- Filter chained references by reference count
- Various bug with filtered aggregation
- Aggregation with move to/away_from objects
- Timeouts also apply to GRPC calls
... (truncated)
8fa0241
Merge pull request #838
from weaviate/improve-coverage-106173cbc
remove needless pop39dc552
Merge pull request #837
from weaviate/v4-changelog6275ce4
reverse boolean logic for clarity1613066
remove try-finally354bed1
fix keyerrora59ca44
fix exporting config object into weaviate-compat dict1b9b18a
remove more code7012f9d
remove unused validation code1b5f86d
Add minimum version