Repository navigation
What's Changed
Adds support for Weaviate 1.41. Requires Python 3.11+ and Weaviate 1.32.0+.
This minor version includes:
- Support for Weaviate 1.41:
- Set
user_expires_atinclient.users.db.create()to expire a DB user's access. Useclient.users.db.update_user_expiration()to change the expiration or clear it withNone. Expiration requires a Weaviate license key on the server - Set
rescore_factorwhen creating or updating PQ, BQ, SQ and RQ quantizers. PQ also acceptsrescore_limit. Both settings are available when reading the collection configuration - Add
Configure.Reranker.typesafeai()andConfigure.Reranker.openai()to rerank objects by the probability that they satisfy the query condition
- Set
- Add
client.cluster.replications.generate_scale_plan()to preview and edit per-shard replica changes before submitting them withapply_scale_plan(). Replica movement must be enabled on the server - Remove support for Weaviate versions < 1.32.0. Connecting to an older server now raises
WeaviateStartUpErroreven withskip_init_checks=True. Please update your Weaviate instances - Support
protobuf7 and raise thegrpcioupper bound from<1.80.0to<2.0.0 - Remove support for Python 3.10, which reached its end of life in October 2026. The client now requires Python 3.11 or newer
- Support Python 3.15
- Remove the legacy GraphQL aggregation path together with the
weaviate.gqlandweaviate.error_msgsmodules,weaviate.util.is_weaviate_too_oldandweaviate.util.MINIMUM_NO_WARNING_VERSION, and theweaviate.AdditionalPropertiesandweaviate.LinkToattributes (which already pointed at names that did not exist). Aggregations always use gRPC now.client.graphql_raw_query()is unchanged - Remove the deprecated
palm(),text2vec_palm()andmulti2vec_palm()configuration methods. Use the corresponding Google factories instead. Google vectorizers now writetext2vec-googleandmulti2vec-google; the client can still read the old PaLM names - Add
WeaviateGenerativeQueryErrorfor gRPC search errors on generative requests. ExistingWeaviateQueryErrorhandlers still catch it - Minor bug fixes and improvements:
- Honor the connection's proxy and
trust_envsettings for OIDC requests and stop leaking sessions when refreshing client-credentials tokens - Preserve the user type when revoking roles so a DB user and an OIDC user with the same ID can be managed independently
- Return
Noneinstead of a year-one timestamp for unset DB user creation times and unset backup or export completion times - Accept non-list sequences such as tuples as filter values, and preserve single-component array and tensor vectors as lists instead of converting them to scalars
- Request top occurrences in text aggregations when
top_occurrences_value=True, even if occurrence counts were not requested - Stop leaving references queued behind a failed object in streaming batches
- Warn when a property sets
skip_vectorizationwithvector_config, where it has no effect. Use the vector'ssource_propertiesinstead - Include the existing data path in embedded startup timeout errors when reusing data created on another HTTP port may be the cause
- Honor the connection's proxy and
New Contributors
- @karthiksenv made their first contribution in #2210
- @shadowmodder made their first contribution in #2244
- @DiadkoShmek made their first contribution in #2229
- @ColtonRobak made their first contribution in #2227
- @feiiiiii5 made their first contribution in #2239
- @RaphaelFakhri made their first contribution in #2217
- @joaquinhuigomez made their first contribution in #2169
Full Changelog: v4.24.1...v4.25.0