Repository navigation
Deprecate graphql_raw_query - #2215
Merged
Merged
Conversation
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused changes follow existing warning conventions, preserve query execution, and have no identified blocking issues.
No open issues 🎉
What changed in this PR
Deprecates graphql_raw_query() ahead of GraphQL retirement, with removal planned for a release after May 1, 2027.
Changes:
- Emits Dep031 with replacement APIs and a migration guide.
- Documents the deprecation in the method docstring and changelog.
| File | Description |
|---|---|
weaviate/warnings.py |
Defines the Dep031 deprecation warning. |
weaviate/client_executor.py |
Emits the warning and documents the deprecation. |
docs/changelog.rst |
Announces deprecation and replacement APIs. |
Review effort: Balanced
dirkkul
force-pushed
the
feat/deprecate-graphql-raw-query
branch
from
October 23, 2026 08:20
52e604b to
e1728bd
Compare
dirkkul
approved these changes
Oct 23, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2215 +/- ##
==========================================
+ Coverage 88.98% 89.03% +0.04%
==========================================
Files 308 309 +1
Lines 24396 24551 +155
==========================================
+ Hits 21709 21858 +149
- Misses 2687 2693 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emits a deprecation warning (Dep031) when
graphql_raw_queryis called. We're retiring GraphQL, so the method will be removed in a release after May 1, 2027. The warning points to the collection query methods, the REST Search API and the migration guide.