@functional-systems/lambdadb 0.8.1-dev.40308886780001 → 0.9.0-dev.40316159993001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -26
- package/README.md +3 -1
- package/RUNTIMES.md +2 -2
- package/dist/commonjs/client.d.ts +1 -1
- package/dist/commonjs/client.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/operations/querycollection.d.ts +1 -1
- package/dist/esm/client.d.ts +1 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/operations/querycollection.d.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/client.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/querycollection.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
and
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
publication.
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
- Raised native reranking output and candidate limits to 1000, matching the
|
|
6
|
+
server's Query size, dense KNN k, and Bayesian candidate limits. Fetch and List
|
|
7
|
+
also support 1000 on the pinned server contract; List's default remains 100.
|
|
8
|
+
- Added explicit null support for POST List size, pageToken, and filter, including
|
|
9
|
+
public list/listSafe routing and pagination. Existing GET inputs, defaults,
|
|
10
|
+
server-side validation, and error classification retain their behavior.
|
|
11
|
+
- Updated native embedding and reranking examples for unindexed stored string
|
|
12
|
+
paths, with coverage for nested JSON, partial updates, projection, and source
|
|
13
|
+
validation. Legacy indexed sources and managedEmbedding inputs remain supported.
|
|
14
|
+
- Documented query result spooling without an aggregate 64 MiB result limit,
|
|
15
|
+
Fetch's retained 64 MiB per-node JSON budget, and HTTP 503 on shared temporary
|
|
16
|
+
storage admission failure. Rerank text budgets and facet limits are unchanged.
|
|
17
|
+
- Updated contribution guidance for manual SDK maintenance and aligned CI with
|
|
18
|
+
the Node 24 publication runtime.
|
|
19
|
+
- Clarified that native embedding KNN fields require queryText and reject
|
|
20
|
+
queryVector, matching the corrected OpenAPI description and server behavior.
|
|
21
|
+
- Clarified write retries and uncertain outcomes. Default retries include all
|
|
22
|
+
HTTP 5xx responses, including 502/504. Callers that need to reconcile an
|
|
23
|
+
uncertain write before replay must explicitly disable retries.
|
|
24
|
+
- Pinned the current OpenAPI to docs `94a7b71613a3bf217a370d5117b3ff6ddfbae851`
|
|
25
|
+
and the read contract to backend `0a54b6ecb483ce7df9677ba2071a491f9f9879c9`.
|
|
26
|
+
Native stored string paths use backend `ff13daf3f4ed40487b2b13522a141265c2f459ab`.
|
|
27
|
+
Server-dependent capabilities require a supporting deployment; source pins and
|
|
28
|
+
SDK publication alone do not establish production rollout.
|
|
29
29
|
|
|
30
30
|
## 0.8.1
|
|
31
31
|
|
package/README.md
CHANGED
|
@@ -213,7 +213,9 @@ Query results and hydrated candidate bodies no longer have an aggregate 64 MiB
|
|
|
213
213
|
limit. Large results use the existing `docsUrl` download format; exhaustion of
|
|
214
214
|
the server's shared temporary storage budget returns HTTP 503 without partial results.
|
|
215
215
|
See [query size and byte limits](docs/native-reranking.md#query-size-and-byte-limits).
|
|
216
|
-
Facet buckets
|
|
216
|
+
Facet buckets retain their 100-item limit. Fetch and GET/POST List support up to
|
|
217
|
+
1000 IDs/documents; List defaults to 100. Fetch retains a 64 MiB per-node JSON
|
|
218
|
+
budget. See the [read contract](docs/OPENAPI_UPDATE.md#updating-fetch-and-list).
|
|
217
219
|
Source alignment does not establish deployment to your endpoint.
|
|
218
220
|
|
|
219
221
|
### Native reranking
|
package/RUNTIMES.md
CHANGED
|
@@ -14,8 +14,8 @@ This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2
|
|
|
14
14
|
Runtime environments that are explicitly supported are:
|
|
15
15
|
|
|
16
16
|
- Evergreen browsers which include: Chrome, Safari, Edge, Firefox
|
|
17
|
-
- Node.js active and maintenance LTS releases
|
|
18
|
-
-
|
|
17
|
+
- Node.js active and maintenance LTS releases; see the [official release schedule](https://nodejs.org/en/about/previous-releases).
|
|
18
|
+
- CI and package publication use Node 24. Node 18 and 20 are end-of-life.
|
|
19
19
|
- Bun v1 and above
|
|
20
20
|
- Deno v1.39
|
|
21
21
|
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])
|
|
@@ -210,7 +210,7 @@ export declare class CollectionDocs {
|
|
|
210
210
|
*/
|
|
211
211
|
deleteSafe(body: DeleteDocsInput, options?: RequestOptions): Promise<Result<MessageResponse, DeleteDocsError>>;
|
|
212
212
|
/**
|
|
213
|
-
* Fetch documents by IDs (max
|
|
213
|
+
* Fetch documents by IDs (max 1000 on the supporting server contract).
|
|
214
214
|
* When the API returns docs via docsUrl (isDocsInline false), documents are
|
|
215
215
|
* fetched from the presigned URL automatically so the response always has docs.
|
|
216
216
|
*/
|
package/dist/commonjs/client.js
CHANGED
|
@@ -512,7 +512,7 @@ class CollectionDocs {
|
|
|
512
512
|
return await (0, collectionsDocsDelete_js_1.collectionsDocsDelete)(this.client, { collectionName: this.collectionName, requestBody: body }, options);
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
|
-
* Fetch documents by IDs (max
|
|
515
|
+
* Fetch documents by IDs (max 1000 on the supporting server contract).
|
|
516
516
|
* When the API returns docs via docsUrl (isDocsInline false), documents are
|
|
517
517
|
* fetched from the presigned URL automatically so the response always has docs.
|
|
518
518
|
*/
|
|
@@ -37,8 +37,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
37
37
|
export declare const SDK_METADATA: {
|
|
38
38
|
readonly language: "typescript";
|
|
39
39
|
readonly openapiDocVersion: "1.1.1";
|
|
40
|
-
readonly sdkVersion: "0.
|
|
40
|
+
readonly sdkVersion: "0.9.0-dev.40316159993001";
|
|
41
41
|
readonly genVersion: "2.798.0";
|
|
42
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
42
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.0-dev.40316159993001 2.798.0 1.1.1 @functional-systems/lambdadb";
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -37,8 +37,8 @@ function serverURLFromOptions(options) {
|
|
|
37
37
|
exports.SDK_METADATA = {
|
|
38
38
|
language: "typescript",
|
|
39
39
|
openapiDocVersion: "1.1.1",
|
|
40
|
-
sdkVersion: "0.
|
|
40
|
+
sdkVersion: "0.9.0-dev.40316159993001",
|
|
41
41
|
genVersion: "2.798.0",
|
|
42
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
42
|
+
userAgent: "speakeasy-sdk/typescript 0.9.0-dev.40316159993001 2.798.0 1.1.1 @functional-systems/lambdadb",
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ export type QueryCollectionRequestBody = {
|
|
|
22
22
|
candidateSize?: number | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Query object. BayesianQuery provides an optional typed top-level hybrid query.
|
|
25
|
-
* For native embedding vector fields, use knn.queryText. For
|
|
25
|
+
* For native embedding vector fields, use knn.queryText; knn.queryVector is not supported. For caller-provided vector fields, use knn.queryVector. Each KNN query requires exactly one non-null query input.
|
|
26
26
|
*/
|
|
27
27
|
query?: {
|
|
28
28
|
[k: string]: any;
|
package/dist/esm/client.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ export declare class CollectionDocs {
|
|
|
210
210
|
*/
|
|
211
211
|
deleteSafe(body: DeleteDocsInput, options?: RequestOptions): Promise<Result<MessageResponse, DeleteDocsError>>;
|
|
212
212
|
/**
|
|
213
|
-
* Fetch documents by IDs (max
|
|
213
|
+
* Fetch documents by IDs (max 1000 on the supporting server contract).
|
|
214
214
|
* When the API returns docs via docsUrl (isDocsInline false), documents are
|
|
215
215
|
* fetched from the presigned URL automatically so the response always has docs.
|
|
216
216
|
*/
|
package/dist/esm/client.js
CHANGED
|
@@ -507,7 +507,7 @@ export class CollectionDocs {
|
|
|
507
507
|
return await collectionsDocsDelete(this.client, { collectionName: this.collectionName, requestBody: body }, options);
|
|
508
508
|
}
|
|
509
509
|
/**
|
|
510
|
-
* Fetch documents by IDs (max
|
|
510
|
+
* Fetch documents by IDs (max 1000 on the supporting server contract).
|
|
511
511
|
* When the API returns docs via docsUrl (isDocsInline false), documents are
|
|
512
512
|
* fetched from the presigned URL automatically so the response always has docs.
|
|
513
513
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
37
37
|
export declare const SDK_METADATA: {
|
|
38
38
|
readonly language: "typescript";
|
|
39
39
|
readonly openapiDocVersion: "1.1.1";
|
|
40
|
-
readonly sdkVersion: "0.
|
|
40
|
+
readonly sdkVersion: "0.9.0-dev.40316159993001";
|
|
41
41
|
readonly genVersion: "2.798.0";
|
|
42
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
42
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.0-dev.40316159993001 2.798.0 1.1.1 @functional-systems/lambdadb";
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -33,8 +33,8 @@ export function serverURLFromOptions(options) {
|
|
|
33
33
|
export const SDK_METADATA = {
|
|
34
34
|
language: "typescript",
|
|
35
35
|
openapiDocVersion: "1.1.1",
|
|
36
|
-
sdkVersion: "0.
|
|
36
|
+
sdkVersion: "0.9.0-dev.40316159993001",
|
|
37
37
|
genVersion: "2.798.0",
|
|
38
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
38
|
+
userAgent: "speakeasy-sdk/typescript 0.9.0-dev.40316159993001 2.798.0 1.1.1 @functional-systems/lambdadb",
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ export type QueryCollectionRequestBody = {
|
|
|
22
22
|
candidateSize?: number | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Query object. BayesianQuery provides an optional typed top-level hybrid query.
|
|
25
|
-
* For native embedding vector fields, use knn.queryText. For
|
|
25
|
+
* For native embedding vector fields, use knn.queryText; knn.queryVector is not supported. For caller-provided vector fields, use knn.queryVector. Each KNN query requires exactly one non-null query input.
|
|
26
26
|
*/
|
|
27
27
|
query?: {
|
|
28
28
|
[k: string]: any;
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functional-systems/lambdadb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0-dev.40316159993001",
|
|
4
4
|
"author": "Functional Systems, Inc.",
|
|
5
5
|
"homepage": "https://github.com/lambdadb/lambdadb-typescript-client#readme",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -169,5 +169,5 @@
|
|
|
169
169
|
"main": "./dist/commonjs/index.js",
|
|
170
170
|
"types": "./dist/commonjs/index.d.ts",
|
|
171
171
|
"module": "./dist/esm/index.js",
|
|
172
|
-
"lambdadbSourceCommit": "
|
|
172
|
+
"lambdadbSourceCommit": "2ba8e4669d3c2be1cff23b03d3fcdd29c681b654"
|
|
173
173
|
}
|
package/src/client.ts
CHANGED
|
@@ -831,7 +831,7 @@ export class CollectionDocs {
|
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
/**
|
|
834
|
-
* Fetch documents by IDs (max
|
|
834
|
+
* Fetch documents by IDs (max 1000 on the supporting server contract).
|
|
835
835
|
* When the API returns docs via docsUrl (isDocsInline false), documents are
|
|
836
836
|
* fetched from the presigned URL automatically so the response always has docs.
|
|
837
837
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "1.1.1",
|
|
76
|
-
sdkVersion: "0.
|
|
76
|
+
sdkVersion: "0.9.0-dev.40316159993001",
|
|
77
77
|
genVersion: "2.798.0",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 0.
|
|
79
|
+
"speakeasy-sdk/typescript 0.9.0-dev.40316159993001 2.798.0 1.1.1 @functional-systems/lambdadb",
|
|
80
80
|
} as const;
|
|
@@ -26,7 +26,7 @@ export type QueryCollectionRequestBody = {
|
|
|
26
26
|
candidateSize?: number | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Query object. BayesianQuery provides an optional typed top-level hybrid query.
|
|
29
|
-
* For native embedding vector fields, use knn.queryText. For
|
|
29
|
+
* For native embedding vector fields, use knn.queryText; knn.queryVector is not supported. For caller-provided vector fields, use knn.queryVector. Each KNN query requires exactly one non-null query input.
|
|
30
30
|
*/
|
|
31
31
|
query?: { [k: string]: any } | undefined;
|
|
32
32
|
facets?: Record<string, FacetRequest> | undefined;
|