Repository navigation
Version Packages - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@rushdb/javascript-sdk@3.0.0
Major Changes
Minor Changes
98c2647: Add direct mode for the standalone RushDB engine, including record replacement, deletion by ID, and single-record lookups.
98c2647: Direct mode (a standalone engine) and RushDB Cloud are one SDK with one code path.
findwithorderBy,selectandgroupBy,upsert,set,findOne/findUniq,findByIdof severalids), relationships, labels, properties, JSON and CSV import, CSV export, text indexes and keyword
search, external vector indexes, vector and hybrid search with a
queryVector, raw openCypher, theschema and transactions. Nothing is ever sent to RushDB Cloud: before, a method without direct
support sent the engine token to
api.rushdb.com.ai.search,relationships.patterns.*,settings.get) throwCloudOnlyErrorbefore sending anything.CLOUD_ONLY_METHODS,CLOUD_ONLY_FORMSandisCloudOnlyMethodlist them.update,set,deleteById,attach,importJsonandimportCsv(records are named by id; the engine resolves them inside thetransaction). Writes the engine cannot stage (bulk deletes,
detach, upserts and merge imports,inline vectors) throw
DirectModeErrorinstead of running outside the transaction; the enginerefuses a merge import or inline vectors in a staged import.
records.detachwithouttypeOrTypesremoves relationships of every type, and withoutdirectionremoves them both ways, as RushDB 2.x on Neo4j did.records.attachandrelationships.createManywithout a type create__RUSHDB__RELATION__DEFAULT__relationships,as before, instead of
RELATED_TO.direct: truewithoutengineUrlthrows instead of falling back to RushDB Cloud. Newscopeoption for a multitenant engine; the unused
engineTokenoption is gone.records.findById([...ids])posted to the create endpoint; it now searchesby id.
exports: under Node,importgets an ES module build (dist/index.node.mjs)whose default export is the
RushDBclass; before, an ESMimport RushDB fromreceived theCommonJS module object.
98c2647: Hybrid search fusion controls.
fusion: 'dbsf'fuses each leg's scores normalized by its owndistribution (mean ± 3σ, as Qdrant defines DBSF) instead of ranks (
rrf, the default, withrrfK). Each leg takes aweight(its share of the fused score) and aprefetchLimit(hits itranks before fusion, 1–10,000). On
vectorSearch, the top-levelweight/prefetchLimitare thevector leg's and
text.weight/text.prefetchLimitthe text leg's; the result reportsfusion.98c2647: Embedding indexes have names. A name is unique within a project, defaults to
<label>.<property>.<model>.<dimensions>.<similarity>, and is returned when indexes are listed.Search (
index), inline vectors (index), stats, vector upsert and delete accept an index's nameas well as its id. The dashboard asks for the name in a second step when creating an index,
prefilled with the default.
98c2647: Keyword (BM25) search. Text indexes cover one property of a label, or every string of it (
*),and are declared, listed and dropped through
/text-indexes(db.textIndexes, MCPcreateTextIndex/listTextIndexes/deleteTextIndex), with a default name of<label>.<property>.text.POST /search/text(db.records.textSearch, MCPtextSearch) ranksmatching records among those
labelsandwhereselect, andtotalcounts every match. Avector search with a
textleg becomes a hybrid search the engine fuses. The dashboard lists andcreates text indexes on the Search Indexes page and adds a Keyword search mode to Records.
Patch Changes
98c2647: The RushDB engine is the only data store; what remained of the Neo4j-backed platform is removed.
customDb(bring-your-own Neo4j) connection: theprojects.custom_dbcolumn is dropped (migration
0010_drop_project_custom_db),GET /sdk/settingsno longerreturns
customDb,DELETE /projects/:idno longer takesshouldStoreCustomDbData, and thedashboard drops the "External Instance" badge. Every project is metered the same way.
POST /query/rawreturns{ records }(the always-emptysummaryis gone). Raw queries areopenCypher run by the engine, which must have the
cypherlanguage enabled.x-transaction-iddefers its side effects (recount, schema refresh,relationship automation) to
POST /tx/:txId/commit, and a failed request inside a transactionrolls the transaction back. Both checks keyed off a Neo4j transaction object that was no longer
attached, so neither ran.
RUSHDB_TRANSACTION_TIMEOUT_MSno longer falls back toNEO4J_TRANSACTION_TIMEOUT_MS.db-restorecommand now recounts the project after the restore; it never ran before.--multitenant --languages cypher,which Core requires: it scopes every request to its project. Heroku's
app.jsonsetsRUST_ENGINE_URL/RUST_ENGINE_TOKEN, the variables Core reads.serverSettingsdropscustomDB/managedDB; doc comments no longer mention Neo4j.