Skip to content

Version Packages - #16

Merged
1pxone merged 1 commit into
mainfrom
changeset-release/main
Nov 7, 2026
Merged

1pxone merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

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.3.1

Patch Changes

  • 444b09a: Bind transactions, records and models to the client that owns them. tx.commit() and tx.rollback(), the methods of a record instance or result set (update, set, attach, detach, delete, deleteAll, setProperties, next) and Model operations used to go through the most recently created RushDB client, so with two clients in one process (Cloud and a standalone engine, or two engines or tenants) they reached the wrong backend. They now go through the client that began the transaction or read the record. A Model takes its client from the new client option (new Model(label, schema, { client: db })), else from the transaction it is given; without either, it still uses the most recently created client, so single-client code is unchanged. Transaction, DBRecordInstance and DBRecordsArrayInstance accept the owning client as a new optional last constructor argument.

    Types: similarityFunction accepts 'dot' (new exported SimilarityFunction = 'cosine' | 'dot' | 'euclidean') on embedding index creation, EmbeddingIndex, inline vector entries and vectorSearch. A standalone engine supports all three; RushDB Cloud accepts cosine and euclidean.

@1pxone
1pxone merged commit 9c87e85 into main Nov 7, 2026
@1pxone
1pxone deleted the changeset-release/main branch November 7, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant