Repository navigation
v1.5.0 #303
v1.5.0
#303
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 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 — a drop-in upgrade.
✨ TypeScript bulk accessors (#298, #302)
Enumerate a whole TypeScript application set-at-a-time instead of paying per-entity reconstruction, on both backends (in-process and read-only Neo4j) and verified by a live dual-backend parity suite. On Neo4j each accessor is a single projected query.
get_callables_overview()— a lightweight projection of every callable (methods, functions, arrows, accessors, namespace and nested functions) with TypeScript-native facets: the analyzer'skind,is_exported/is_async/is_static,accessibility, decorator names, and anowner_signature/owner_kindpair. Namespace-owned, nested 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 such as 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, empty when it has none.Also in this release: the TypeScript test fixture is now tracked, so the suite runs from a clean clone; and 1.5.0 carries the 1.4.4 packaging fix.
Known limitation: getter/setter pairs share one signature in the analyzer's output, and the two backends collapse such pairs differently (#300, documented on
get_callables_overview).Upgrade
Links: GitHub release · CHANGELOG
All reactions