You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR — new bulk Python query accessors, TypeScript call-graph improvements, and a faster Neo4j path. The headline change: CodeQL is gone — the Python analyzer (codeanalyzer-python) moved from CodeQL to PyCG for call graphs, and the use_codeql option is removed. If you set use_codeql anywhere, you need a one-line change.
ℹ️ 1.3.0 was never published to PyPI, so upgrading from 1.2.0 lands you on 1.4.0 — everything below is included.
⚠️ Breaking changes
use_codeql is removed.codeanalyzer-python 0.3.0 dropped CodeQL in favor of PyCG, so the flag no longer means anything. Remove it wherever you pass it:
PyCodeAnalyzerConfig(use_codeql=...) — drop the argument
CLDK(language="python").analysis(..., use_codeql=...) — drop the argument
PyCodeanalyzer(..., use_codeql=...) — drop the argument
CodeQL exception classes removed:CodeQLDatabaseBuildException and CodeQLQueryExecutionException no longer exist — remove any imports/handlers.
Behavior: Python call-graph results may differ slightly (PyCG vs the old CodeQL-augmented Jedi).
🚀 New features
Python — bulk, field-projected accessors on PythonAnalysis, for enumerating a whole application in one query instead of the per-entity reconstruction get_methods() does (tens of thousands of round-trips on the Neo4j backend):
get_callables_overview() → a list of the new lightweight PyCallableOverview
get_method_bodies(signatures)
get_decorated_callables(markers)
get_callsites_for(signatures)
TypeScript
tsc_only toggle via the new TSCodeAnalyzerConfig (passes --tsc-only), pinning the call graph to the resolver path and replacing the obsolete --call-graph-provider both.
Synthesized anonymous callables: new TSSynthesizedCallable model + get_synthesized_callables() surface the Jelly-resolved anonymous callbacks the symbol table never names, so anonymous call-graph edges no longer dangle.
⚡ Performance
The read-only Neo4j Python backend now reuses a single read session across queries instead of opening one per Cypher statement.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
cldk v1.4.0
TL;DR — new bulk Python query accessors, TypeScript call-graph improvements, and a faster Neo4j path. The headline change: CodeQL is gone — the Python analyzer (
codeanalyzer-python) moved from CodeQL to PyCG for call graphs, and theuse_codeqloption is removed. If you setuse_codeqlanywhere, you need a one-line change.use_codeqlis removed.codeanalyzer-python0.3.0 dropped CodeQL in favor of PyCG, so the flag no longer means anything. Remove it wherever you pass it:PyCodeAnalyzerConfig(use_codeql=...)— drop the argumentCLDK(language="python").analysis(..., use_codeql=...)— drop the argumentPyCodeanalyzer(..., use_codeql=...)— drop the argumentCodeQLDatabaseBuildExceptionandCodeQLQueryExecutionExceptionno longer exist — remove any imports/handlers.🚀 New features
Python — bulk, field-projected accessors on
PythonAnalysis, for enumerating a whole application in one query instead of the per-entity reconstructionget_methods()does (tens of thousands of round-trips on the Neo4j backend):get_callables_overview()→ a list of the new lightweightPyCallableOverviewget_method_bodies(signatures)get_decorated_callables(markers)get_callsites_for(signatures)TypeScript
tsc_onlytoggle via the newTSCodeAnalyzerConfig(passes--tsc-only), pinning the call graph to the resolver path and replacing the obsolete--call-graph-provider both.TSSynthesizedCallablemodel +get_synthesized_callables()surface the Jelly-resolved anonymous callbacks the symbol table never names, so anonymous call-graph edges no longer dangle.⚡ Performance
📦 Dependencies
codeanalyzer-python0.2.0 → 0.3.0 (CodeQL → PyCG)codeanalyzer-typescript0.4.0 → 0.4.3Upgrade
Beta Was this translation helpful? Give feedback.
All reactions