Skip to content

chore: version packages - #5

Merged
SergeevDmitry merged 1 commit into
masterfrom
changeset-release/master
Aug 28, 2026
Merged

chore: version packages#5
SergeevDmitry merged 1 commit into
masterfrom
changeset-release/master

Conversation

@github-actions

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 master, this PR will be updated.

Releases

vec-cache@1.1.0

Minor Changes

  • cf49574: getOrCreate now checks an explicit dimensions request against what embed
    actually returns, and passes the requested width to the callback as
    request.dimensions. A callback that ignores it and returns another width
    throws EMBED_DIMENSION_MISMATCH before anything is written, instead of
    storing a row keyed as the requested width and stored at another — which made
    every later identical call demote the row and pay for the same embedding
    again.
  • a1b0c2f: Add getOrCreate's maxEmbedBatchSize option: a cap on how many texts go to
    embed in one call, so a cold cache over a large corpus no longer hands the
    callback more inputs than the provider accepts. Sub-batches run in order and
    each is cached as it succeeds — a later failure leaves the completed ones
    cached and throws — and report.embedCallCount is the number of calls
    actually made. Omitting it keeps the previous behavior: one call for every
    unique miss.

Patch Changes

  • 09f228c: Honor busyTimeoutMs while the database is being opened. It was applied only
    after the header probe, the migration reads and the WAL switch, so until then
    the driver's own 5 s default was in force and a larger configured timeout was
    silently capped — losing the race against another process checkpointing its
    WAL on close().

@SergeevDmitry
SergeevDmitry merged commit 50c33b3 into master Aug 28, 2026
5 checks passed
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