📣 New Release: python-sdk v1.4.0 #7
rahlk
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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