Uh oh!
There was an error while loading. Please reload this page.
v1.5.0 #303
v1.5.0
#303
Replies: 0 comments
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
There was an error while loading. Please reload this page.
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 1.5.0
A feature release on the v1 line: the four bulk/projected accessors arrive on the TypeScript surface, matching what Python has had since 1.3.0. No breaking changes — drop-in upgrade.
✨ TypeScript bulk accessors (#298)
Enumerate a whole TypeScript application set-at-a-time instead of paying per-entity reconstruction — on both backends (in-process and read-only Neo4j), verified by a live dual-backend parity suite:
get_callables_overview()— a lightweight projection of every callable (methods, functions, arrows, accessors, namespace and nested functions) with TypeScript-native facets: the analyzer'skindvocabulary,is_exported/is_async/is_static,accessibility, decorator names, and anowner_signature/owner_kindpair ("class"or"interface"; namespace-owned and module-level callables are ownerless — their dotted signature carries the namespace path). Overviews deliberately exclude source text.get_method_bodies(signatures)— source bodies keyed by signature; unknown signatures and code-less callables (e.g. implicit constructors) are omitted, so every value is a realstr.get_decorated_callables(markers)— overviews of callables carrying any of the given decorator names.get_callsites_for(signatures)— call sites per callable; every existing signature gets an entry, even when empty.On the Neo4j backend each accessor is a single projected Cypher query.
Known limitation: getter/setter pairs share one signature in the analyzer's output, and the two backends currently collapse such pairs differently — tracked in #300 and noted on the
get_callables_overviewdocstring.Also in this release: the TypeScript test fixture is now committed, so the test suite runs from a clean clone; and 1.5.0 includes the 1.4.4 packaging fix (the bundled codeanalyzer-java JAR).
Upgrade
Links: GitHub release · CHANGELOG
All reactions