@infino-ai/infino 0.11.24 → 0.11.26

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.
Files changed (2) hide show
  1. package/infino/native.d.ts +11 -2
  2. package/package.json +7 -7
@@ -274,7 +274,16 @@ export declare class IndexSpec {
274
274
  */
275
275
  vector(column: string, dim: number, metric: string): IndexSpec
276
276
  }
277
- /** A catalog connection. `const db = connect(uri)`. */
277
+ /**
278
+ * A catalog connection. `const db = connect(uri)`.
279
+ *
280
+ * The engine connection is freed when V8 collects this object, and V8
281
+ * schedules collections by the memory it can see: the native size is
282
+ * reported to it on creation and released on finalize, so dropped handles
283
+ * are collected as their native memory grows, not only when the JS heap
284
+ * does. Node runs the finalizer from the event loop, so a loop that never
285
+ * yields holds every handle it dropped until it does.
286
+ */
278
287
  export declare class Connection {
279
288
  /**
280
289
  * Provision the database this connection targets. For a hosted target it
@@ -316,7 +325,7 @@ export declare class Connection {
316
325
  */
317
326
  querySql(sql: string): Buffer
318
327
  }
319
- /** A single-table handle. */
328
+ /** A single-table handle. Reports its native size to V8 like [`Connection`]. */
320
329
  export declare class Table {
321
330
  /**
322
331
  * Append data, sent as an Arrow IPC `Buffer` (`tableToIPC` on the JS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infino-ai/infino",
3
- "version": "0.11.24",
3
+ "version": "0.11.26",
4
4
  "description": "Fast search on object storage — SQL, full-text, and vector search.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -82,12 +82,12 @@
82
82
  "apache-arrow": "^17"
83
83
  },
84
84
  "optionalDependencies": {
85
- "infx-darwin-x64": "0.11.24",
86
- "infx-darwin-arm64": "0.11.24",
87
- "infx-linux-x64-gnu": "0.11.24",
88
- "infx-linux-arm64-gnu": "0.11.24",
89
- "infx-linux-x64-musl": "0.11.24",
90
- "infx-linux-arm64-musl": "0.11.24"
85
+ "infx-darwin-x64": "0.11.26",
86
+ "infx-darwin-arm64": "0.11.26",
87
+ "infx-linux-x64-gnu": "0.11.26",
88
+ "infx-linux-arm64-gnu": "0.11.26",
89
+ "infx-linux-x64-musl": "0.11.26",
90
+ "infx-linux-arm64-musl": "0.11.26"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@napi-rs/cli": "^2.18.0",