Description
1 Upgrade the typescript client library from v2 to v3, does the previous v2 code still work?
2 Upgrade the python client library from v3 to v4, does the previous v3 code still work?
1 Upgrade the typescript client library from v2 to v3, does the previous v2 code still work?
2 Upgrade the python client library from v3 to v4, does the previous v3 code still work?
Hello @alisha_liu,
We are always working on features and improvements in our clients to best developer experience.
You probably come across that the Weaviate Python client to an extensively re-written (and improved) v4
API around six months ago. Up until now, the v4
client versions had included the older v3
API in order to ease the transition.
Starting in December 2024, the v4
client will no longer include the v3
API (i.e. the weaviate.Client
class). This will help us to provide the best developer experience for you, support for the latest features, and clearly separate the two.
The v3
client will continue to get critical security updates and bugfixes for the foreseeable future, but it will not support any new features.
To take advantage of the latest developments on the Weaviate core database, we recommend migrating your codebase to use the v4
API.
If you have an existing codebase and Weaviate core database that you expect to remain static, we recommend pinning the version in your requirements file (e.g. requirements.txt
), like so:
weaviate-client>=3.26.7,<4.0.0
I hope this helps
Have a lovely weekend!