Repository navigation
@rushdb/javascript-sdk@2.11.0
Minor Changes
-
111943d: Embedding index cold-start (
rushdb-core):POST /ai/indexesno longer requires the indexed property to exist in Neo4j before creating the index policy. When no property node exists (no records with that property have been created yet), type validation is skipped — the property will be created naturally when the first record carrying it is written. Previously the server threwNotFoundException.DBRecordInstance.scoregetter (@rushdb/javascript-sdk): Records returned byrecords.vectorSearch()now expose a typedscoregetter (number | undefined) that mirrorsdata.__score. Regularfind()/search()results returnundefined.records.createManyvectors overload (@rushdb/javascript-sdk): Thevectorsparameter now accepts bothVectorEntry[]andVectorEntry[][]. A flatVectorEntry[]list is auto-wrapped into per-record entries, so single-record batches can omit the outer array nesting.Import form label reset (
rushdb-dashboard): The label field in the import data page is now cleared whenever the user goes back to the method-selection step, uploads a new file, or switches to the CSV editor — preventing stale labels from persisting across import iterations.Docs updated (
docs):indexing.mdrevised to reflect that index creation no longer requires the property to already exist.write-with-vectors.mdxandbring-your-own-vectors.mdxdocument the flatVectorEntry[]overload.semantic-search.mdxmentions therecord.scoreconvenience getter. TS reference docs (RushDB.md,DBRecordInstance.md) describe the flatvectorsform and thescoregetter. Python reference docs (RushDB.md) mention the flatvectorsform. All tutorial code examples (15.mdxfiles) now prefer the.scoregetter over raw__scoreaccess.manage-indexes.mdxerror reference updated to remove the stale 404 row (property no longer needs to exist). All incorrectwhere: { __id: ... }filter patterns replaced withwhere: { $id: ... }across 12 tutorial files (TS, Python, and Shell code blocks). -
111943d: Loosen datetime detection on import:
YYYY-MM-DD(date-only) strings are now automatically typed asdatetime, not just full ISO 8601 timestamps. This means values like2026-07-23work the same as2026-07-23T12:00:00Z— they get datetime comparisons, time-based aggregations, and the correct__proptypesentry — without any extra configuration.