Skip to content

Raise minimum supported version to 1.32.0 - #2250

Merged
dirkkul merged 1 commit into
dev/1.41from
min-weaviate-version-1.32
Nov 11, 2026
Merged

dirkkul merged 1 commit into
dev/1.41from
min-weaviate-version-1.32

Conversation

@dirkkul

@dirkkul dirkkul commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Superseedes #2197

@dirkkul
dirkkul requested a review from a team as a code owner November 11, 2026 06:46
Copilot AI balanced review requested due to automatic review settings November 11, 2026 06:46

@orca-security-eu orca-security-eu Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Several aggregate validation tests omit required search bounds, so they raise before reaching the intended argument validators and can pass even when those validators are broken.

1 open issue
What changed in this PR

Raises the Python client’s minimum supported Weaviate server version to 1.32.0, superseding #2197 and removing compatibility code for older servers.

Changes:

  • Enforces the new minimum for synchronous and asynchronous clients, with boundary tests.
  • Removes legacy GraphQL aggregation support and obsolete version-dependent fallbacks.
  • Updates tests, CI coverage, packaging, and documentation for the supported server range.
File Description
weaviate/​warnings.py Removes the obsolete server-upgrade warning.
weaviate/​util.py Removes obsolete version helpers and GraphQL sanitization.
weaviate/​gql/​filter.py Deletes legacy GraphQL filters.
weaviate/​gql/​aggregate.py Deletes the GraphQL aggregation builder.
weaviate/​gql/​__init__.py Removes the legacy package initializer.
weaviate/​error_msgs.py Deletes legacy warning messages.
weaviate/​connect/​v4.py Enforces server version 1.32.0 for both clients.
weaviate/​collections/​tenants/​executor.py Removes obsolete tenant API fallbacks.
weaviate/​collections/​queries/​hybrid/​query/​executor.py Removes outdated exception documentation.
weaviate/​collections/​queries/​hybrid/​generate/​executor.py Removes outdated exception documentation.
weaviate/​collections/​queries/​bm25/​query/​executor.py Removes outdated exception documentation.
weaviate/​collections/​queries/​bm25/​generate/​executor.py Removes outdated exception documentation.
weaviate/​collections/​queries/​base_executor.py Removes legacy query and generative-response handling.
weaviate/​collections/​grpc/​shared.py Simplifies vector encoding and adjusts the hybrid alpha gate.
weaviate/​collections/​grpc/​query.py Always uses supported query protocol fields.
weaviate/​collections/​filters.py Removes legacy REST filter conversion.
weaviate/​collections/​collections/​executor.py Updates unsupported-feature exception documentation.
weaviate/​collections/​classes/​internal.py Removes legacy generative request serialization.
weaviate/​collections/​classes/​grpc.py Removes obsolete serialization helpers and parameters.
weaviate/​collections/​classes/​aggregate.py Removes GraphQL metric serialization.
weaviate/​collections/​aggregations/​over_all/​executor.py Uses gRPC exclusively for overall aggregations.
weaviate/​collections/​aggregations/​near_vector/​executor.py Uses gRPC exclusively for vector aggregations.
weaviate/​collections/​aggregations/​near_text/​executor.py Uses gRPC exclusively for text aggregations.
weaviate/​collections/​aggregations/​near_object/​executor.py Uses gRPC exclusively for object aggregations.
weaviate/​collections/​aggregations/​near_image/​executor.py Uses gRPC exclusively for image aggregations.
weaviate/​collections/​aggregations/​hybrid/​executor.py Uses gRPC exclusively for hybrid aggregations.
weaviate/​collections/​aggregations/​base_executor.py Removes GraphQL request and response handling.
weaviate/​client.py Documents the new minimum server version.
weaviate/​backup/​executor.py Removes obsolete backup-location version checks.
weaviate/​aliases/​executor.py Removes redundant alias version checks.
weaviate/​__init__.py Removes broken legacy GraphQL exports.
test/​test_util.py Removes tests for deleted helpers.
test/​collection/​test_target_vectors.py Tests target vectors against the new baseline.
test/​collection/​test_hybrid_diversity.py Updates query-builder construction.
test/​collection/​test_bm25_operator.py Updates query-builder construction.
test/​collection/​test_aggregates.py Updates negative tests for gRPC validation.
setup.cfg Removes the deleted GraphQL package from distribution.
mock_tests/​test_collection.py Tests the version boundary for both clients.
integration/​test_vectors.py Removes obsolete vector compatibility cases and skips.
integration/​test_users.py Removes obsolete user-management version skips.
integration/​test_tenants.py Simplifies tests around supported tenant APIs.
integration/​test_replicate.py Removes the redundant replication version skip.
integration/​test_rbac.py Removes obsolete permission-test version gates.
integration/​test_groups.py Removes redundant group-management version skips.
integration/​test_collection.py Removes legacy collection expectations and skips.
integration/​test_collection_rerank.py Removes unsupported-server reranking cases.
integration/​test_collection_openai.py Simplifies supported generative-search expectations.
integration/​test_collection_near_vector.py Removes obsolete named-vector skips.
integration/​test_collection_hybrid.py Removes obsolete hybrid compatibility branches.
integration/​test_collection_config.py Simplifies configuration expectations for supported servers.
integration/​test_collection_aggregate.py Removes GraphQL-specific aggregation expectations.
integration/​test_backup_v4.py Removes obsolete backup feature skips.
integration/​test_alias.py Removes redundant alias version skips.
docs/​weaviate.rst Removes the GraphQL documentation index entry.
docs/​weaviate.gql.rst Deletes legacy GraphQL API documentation.
docs/​changelog.rst Documents the minimum-version change and removals.
.github/​workflows/​main.yaml Removes server versions below 1.32 from CI.

Review effort: Balanced

await _test_aggregate(lambda: aggregate.over_all(total_count="wrong"))
await _test_aggregate(lambda: aggregate.over_all(return_metrics="wrong"))

aggregate = _AggregateCollectionAsync(connection, "dummy", None, None, True)
@codecov-commenter

codecov-commenter commented Nov 11, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 83.95722% with 30 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (dev/1.41@6c129b2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
integration/test_collection_openai.py 0.00% 23 Missing ⚠️
...te/collections/aggregations/near_image/executor.py 25.00% 3 Missing ⚠️
weaviate/collections/classes/internal.py 76.92% 3 Missing ⚠️
integration/test_collection_config.py 97.22% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             dev/1.41    #2250   +/-   ##
===========================================
  Coverage            ?   92.32%           
===========================================
  Files               ?      309           
  Lines               ?    23444           
  Branches            ?        0           
===========================================
  Hits                ?    21645           
  Misses              ?     1799           
  Partials            ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dirkkul
dirkkul force-pushed the min-weaviate-version-1.32 branch from 14e6de2 to 0f30737 Compare November 11, 2026 07:55
@dirkkul
dirkkul merged commit d8146e5 into dev/1.41 Nov 11, 2026
121 checks passed
@dirkkul
dirkkul deleted the min-weaviate-version-1.32 branch November 11, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants