Repository navigation
Conversation
Remove deprecated AST, API-graph, data-flow, type-tracking, and security aliases, plus the old FileOpen module and renamed fluent-context helper. Retain experimental queries and their supporting libraries. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7be1d7da-9061-47a8-bf98-b3169476add9
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Removing public Python QL modules, aliases, and location predicates breaks downstream custom-query contracts, requiring human review of compatibility and migration impact beyond in-repository callers.
No open issues 🎉
What changed in this PR
Removes deprecated APIs from the Python CodeQL libraries and query helpers while retaining experimental queries and their supporting libraries.
Changes:
- Removes obsolete AST, API-graph, data-flow, type-tracking, and security aliases and predicates.
- Deletes
Resources.FileOpenand the renamedInsecureContextConfigurationalias. - Adds breaking-change notes for both library and query packs.
| File | Description |
|---|---|
python/ql/src/Security/CWE-327/FluentApiModel.qll |
Removes the deprecated configuration alias. |
python/ql/src/Resources/FileOpen.qll |
Deletes the deprecated file-resource module. |
python/ql/src/change-notes/2026-11-18-outdated-deprecations.md |
Documents query-pack removals and replacements. |
python/ql/lib/semmle/python/security/dataflow/XpathInjectionCustomizations.qll |
Removes the deprecated source alias. |
python/ql/lib/semmle/python/security/dataflow/UrlRedirectCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/UnsafeDeserializationCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/SqlInjectionCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/ServerSideRequestForgeryCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/RegexInjectionCustomizations.qll |
Removes the deprecated source alias. |
python/ql/lib/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/PolynomialReDoSCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/PathInjectionCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/PamAuthorizationCustomizations.qll |
Removes the deprecated source alias. |
python/ql/lib/semmle/python/security/dataflow/LogInjectionCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/LdapInjectionCustomizations.qll |
Removes deprecated source and both sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/HttpHeaderInjectionCustomizations.qll |
Removes the deprecated source alias. |
python/ql/lib/semmle/python/security/dataflow/CookieInjectionCustomizations.qll |
Removes the deprecated source alias. |
python/ql/lib/semmle/python/security/dataflow/CommandInjectionCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/security/dataflow/CodeInjectionCustomizations.qll |
Removes deprecated source and sanitizer aliases. |
python/ql/lib/semmle/python/Exprs.qll |
Removes Str and StrConst aliases. |
python/ql/lib/semmle/python/dataflow/new/TypeTracking.qll |
Removes the AttributeName alias. |
python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll |
Removes deprecated Node.hasLocationInfo. |
python/ql/lib/semmle/python/dataflow/new/FlowSummary.qll |
Removes deprecated summary-component aliases. |
python/ql/lib/semmle/python/dataflow/new/BarrierGuards.qll |
Removes the StringConstCompareBarrier alias. |
python/ql/lib/semmle/python/ApiGraphs.qll |
Removes deprecated API-node hasLocationInfo. |
python/ql/lib/change-notes/2026-11-18-outdated-deprecations.md |
Documents library-pack API removals. |
Review effort: Balanced (adaptive)
This branch has not been deployed
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.
Remove deprecated AST, API-graph, data-flow, type-tracking, and security aliases, plus the old FileOpen module and renamed fluent-context helper. Retain experimental queries and their supporting libraries.