Skip to content

7.0.1

Latest
Compare
Choose a tag to compare
@M4xymm M4xymm released this 15 Jul 10:38
adc9ff0

What's Changed

  • RDBC-912 Add 7.1 to GHA RavenDB version matrix by @M4xymm in #480
  • RDBC-909 - Returning class instances in client causes issues in Next.js — responses should be plain objects by @M4xymm in #481
  • Bump undici from 6.21.1 to 6.21.2 by @dependabot[bot] in #478
  • RDBC-908 Node.js Client malfunction in SSR applications by @M4xymm in #482
  • RDBC-918 - Allow to query vector searching using a document id by @M4xymm in #484
  • Fixed build status badge in README by @M4xymm in #485

Breaking changes:

Vector Search API

  • New Feature:
    • Allow to query vector searching using a document id.
  • Usage Examples:
session.query<Dto>({collection: "Dtos"})
            .vectorSearch(field => field.withEmbedding("EmbeddingSingles"),
                factory => factory.forDocument("dtos/full-options"), {
                    similarity: 0.75,
                    numberOfCandidates: 100
                })

Return Plain Objects

  • New Feature:
    • Gets whether all values returned will be plain objects (not class instances as previous). This is useful for environments like Next.js.
  • Usage examples
const store: DocumentStore = new DocumentStore("http://127.0.0.1:8080/", "test-db");


store.conventions.returnPlainJsObjects = true;

store.initialize();

Full Changelog: 7.0.0...7.0.1