From 35f032f12f1c9afce7f5d88541e29e2bc15b3984 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 08:19:37 +0000 Subject: [PATCH] chore: version packages --- .../read-primitives-and-populate-embedding.md | 16 ---------------- CHANGELOG.md | 12 ++++++++++++ adapters/cf/CHANGELOG.md | 12 ++++++++++++ adapters/cf/package.json | 2 +- adapters/mongodb/CHANGELOG.md | 12 ++++++++++++ adapters/mongodb/package.json | 2 +- adapters/pg/CHANGELOG.md | 12 ++++++++++++ adapters/pg/package.json | 2 +- package.json | 2 +- 9 files changed, 52 insertions(+), 20 deletions(-) delete mode 100644 .changeset/read-primitives-and-populate-embedding.md diff --git a/.changeset/read-primitives-and-populate-embedding.md b/.changeset/read-primitives-and-populate-embedding.md deleted file mode 100644 index 2ca556c..0000000 --- a/.changeset/read-primitives-and-populate-embedding.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"payloadcms-vectorize": minor -"@payloadcms-vectorize/pg": minor -"@payloadcms-vectorize/cf": minor -"@payloadcms-vectorize/mongodb": minor ---- - -Add vector read primitives and the ability to retrieve stored embedding vectors. - -- **`vectorizedPayload.findByIds({ knowledgePool, ids, populateEmbedding })`** — batch-fetch embedding records by id, returning `Record` (misses map to `undefined`). Implemented across the pg, cf, and mongodb adapters. -- **`vectorizedPayload.searchByEmbedding({ knowledgePool, embedding, where, limit, populateEmbedding })`** — run a vector search directly from a raw embedding vector, skipping the query-embedding step. This is the "more like this" primitive: feed it the `embedding` returned by `findByIds({ populateEmbedding: true })` to find similar content. Result shape and `where` filtering match `search()`. Unlike `search()`, it does not run reranking even on a pool configured with `rerank`, since rerankers operate on the original query text. Local API only. -- **`populateEmbedding?: boolean`** option (default `false`) on `search()` and `searchByEmbedding()` — when `true`, each result includes its stored embedding vector. `VectorSearchResult` and `EmbeddingRecord` now expose `embedding?: number[]`. - -Fix: - -- **mongodb adapter** `search()` now returns all stored fields (including extension fields) on each result, matching the pg and cf adapters for cross-adapter parity. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d85929..4b3e3d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 1.1.0 + +### Minor Changes + +- [#71](https://github.com/techiejd/payloadcms-vectorize/pull/71) [`98bc41b`](https://github.com/techiejd/payloadcms-vectorize/commit/98bc41b696dbb7f5762ee16589f208ad0d97ec9b) Thanks [@techiejd](https://github.com/techiejd)! - Add vector read primitives and the ability to retrieve stored embedding vectors. + - **`vectorizedPayload.findByIds({ knowledgePool, ids, populateEmbedding })`** — batch-fetch embedding records by id, returning `Record` (misses map to `undefined`). Implemented across the pg, cf, and mongodb adapters. + - **`vectorizedPayload.searchByEmbedding({ knowledgePool, embedding, where, limit, populateEmbedding })`** — run a vector search directly from a raw embedding vector, skipping the query-embedding step. This is the "more like this" primitive: feed it the `embedding` returned by `findByIds({ populateEmbedding: true })` to find similar content. Result shape and `where` filtering match `search()`. Unlike `search()`, it does not run reranking even on a pool configured with `rerank`, since rerankers operate on the original query text. Local API only. + - **`populateEmbedding?: boolean`** option (default `false`) on `search()` and `searchByEmbedding()` — when `true`, each result includes its stored embedding vector. `VectorSearchResult` and `EmbeddingRecord` now expose `embedding?: number[]`. + + Fix: + - **mongodb adapter** `search()` now returns all stored fields (including extension fields) on each result, matching the pg and cf adapters for cross-adapter parity. + ## 1.0.1 ### Patch Changes diff --git a/adapters/cf/CHANGELOG.md b/adapters/cf/CHANGELOG.md index a91a469..86dd412 100644 --- a/adapters/cf/CHANGELOG.md +++ b/adapters/cf/CHANGELOG.md @@ -1,5 +1,17 @@ # @payloadcms-vectorize/cf +## 1.1.0 + +### Minor Changes + +- [#71](https://github.com/techiejd/payloadcms-vectorize/pull/71) [`98bc41b`](https://github.com/techiejd/payloadcms-vectorize/commit/98bc41b696dbb7f5762ee16589f208ad0d97ec9b) Thanks [@techiejd](https://github.com/techiejd)! - Add vector read primitives and the ability to retrieve stored embedding vectors. + - **`vectorizedPayload.findByIds({ knowledgePool, ids, populateEmbedding })`** — batch-fetch embedding records by id, returning `Record` (misses map to `undefined`). Implemented across the pg, cf, and mongodb adapters. + - **`vectorizedPayload.searchByEmbedding({ knowledgePool, embedding, where, limit, populateEmbedding })`** — run a vector search directly from a raw embedding vector, skipping the query-embedding step. This is the "more like this" primitive: feed it the `embedding` returned by `findByIds({ populateEmbedding: true })` to find similar content. Result shape and `where` filtering match `search()`. Unlike `search()`, it does not run reranking even on a pool configured with `rerank`, since rerankers operate on the original query text. Local API only. + - **`populateEmbedding?: boolean`** option (default `false`) on `search()` and `searchByEmbedding()` — when `true`, each result includes its stored embedding vector. `VectorSearchResult` and `EmbeddingRecord` now expose `embedding?: number[]`. + + Fix: + - **mongodb adapter** `search()` now returns all stored fields (including extension fields) on each result, matching the pg and cf adapters for cross-adapter parity. + ## 1.0.1 ### Patch Changes diff --git a/adapters/cf/package.json b/adapters/cf/package.json index 4ed7b2d..bc22acd 100644 --- a/adapters/cf/package.json +++ b/adapters/cf/package.json @@ -1,6 +1,6 @@ { "name": "@payloadcms-vectorize/cf", - "version": "1.0.1", + "version": "1.1.0", "description": "Cloudflare Vectorize adapter for payloadcms-vectorize", "license": "MIT", "repository": { diff --git a/adapters/mongodb/CHANGELOG.md b/adapters/mongodb/CHANGELOG.md index 3c80afd..294dd3c 100644 --- a/adapters/mongodb/CHANGELOG.md +++ b/adapters/mongodb/CHANGELOG.md @@ -1,5 +1,17 @@ # @payloadcms-vectorize/mongodb +## 1.1.0 + +### Minor Changes + +- [#71](https://github.com/techiejd/payloadcms-vectorize/pull/71) [`98bc41b`](https://github.com/techiejd/payloadcms-vectorize/commit/98bc41b696dbb7f5762ee16589f208ad0d97ec9b) Thanks [@techiejd](https://github.com/techiejd)! - Add vector read primitives and the ability to retrieve stored embedding vectors. + - **`vectorizedPayload.findByIds({ knowledgePool, ids, populateEmbedding })`** — batch-fetch embedding records by id, returning `Record` (misses map to `undefined`). Implemented across the pg, cf, and mongodb adapters. + - **`vectorizedPayload.searchByEmbedding({ knowledgePool, embedding, where, limit, populateEmbedding })`** — run a vector search directly from a raw embedding vector, skipping the query-embedding step. This is the "more like this" primitive: feed it the `embedding` returned by `findByIds({ populateEmbedding: true })` to find similar content. Result shape and `where` filtering match `search()`. Unlike `search()`, it does not run reranking even on a pool configured with `rerank`, since rerankers operate on the original query text. Local API only. + - **`populateEmbedding?: boolean`** option (default `false`) on `search()` and `searchByEmbedding()` — when `true`, each result includes its stored embedding vector. `VectorSearchResult` and `EmbeddingRecord` now expose `embedding?: number[]`. + + Fix: + - **mongodb adapter** `search()` now returns all stored fields (including extension fields) on each result, matching the pg and cf adapters for cross-adapter parity. + ## 1.0.1 ### Patch Changes diff --git a/adapters/mongodb/package.json b/adapters/mongodb/package.json index cc66736..744d65a 100644 --- a/adapters/mongodb/package.json +++ b/adapters/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@payloadcms-vectorize/mongodb", - "version": "1.0.1", + "version": "1.1.0", "description": "MongoDB Atlas + self-hosted vectorSearch adapter for payloadcms-vectorize", "license": "MIT", "repository": { diff --git a/adapters/pg/CHANGELOG.md b/adapters/pg/CHANGELOG.md index f8ab9af..ffdca5b 100644 --- a/adapters/pg/CHANGELOG.md +++ b/adapters/pg/CHANGELOG.md @@ -1,5 +1,17 @@ # @payloadcms-vectorize/pg +## 1.1.0 + +### Minor Changes + +- [#71](https://github.com/techiejd/payloadcms-vectorize/pull/71) [`98bc41b`](https://github.com/techiejd/payloadcms-vectorize/commit/98bc41b696dbb7f5762ee16589f208ad0d97ec9b) Thanks [@techiejd](https://github.com/techiejd)! - Add vector read primitives and the ability to retrieve stored embedding vectors. + - **`vectorizedPayload.findByIds({ knowledgePool, ids, populateEmbedding })`** — batch-fetch embedding records by id, returning `Record` (misses map to `undefined`). Implemented across the pg, cf, and mongodb adapters. + - **`vectorizedPayload.searchByEmbedding({ knowledgePool, embedding, where, limit, populateEmbedding })`** — run a vector search directly from a raw embedding vector, skipping the query-embedding step. This is the "more like this" primitive: feed it the `embedding` returned by `findByIds({ populateEmbedding: true })` to find similar content. Result shape and `where` filtering match `search()`. Unlike `search()`, it does not run reranking even on a pool configured with `rerank`, since rerankers operate on the original query text. Local API only. + - **`populateEmbedding?: boolean`** option (default `false`) on `search()` and `searchByEmbedding()` — when `true`, each result includes its stored embedding vector. `VectorSearchResult` and `EmbeddingRecord` now expose `embedding?: number[]`. + + Fix: + - **mongodb adapter** `search()` now returns all stored fields (including extension fields) on each result, matching the pg and cf adapters for cross-adapter parity. + ## 1.0.1 ### Patch Changes diff --git a/adapters/pg/package.json b/adapters/pg/package.json index ee2805e..ca9bf5e 100644 --- a/adapters/pg/package.json +++ b/adapters/pg/package.json @@ -1,6 +1,6 @@ { "name": "@payloadcms-vectorize/pg", - "version": "1.0.1", + "version": "1.1.0", "description": "PostgreSQL adapter for payloadcms-vectorize", "license": "MIT", "repository": { diff --git a/package.json b/package.json index e0bf6fc..837cce0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "payloadcms-vectorize", - "version": "1.0.1", + "version": "1.1.0", "description": "A plugin to vectorize collections for RAG in Payload 3.0", "license": "MIT", "repository": {