@aigne/sqlite 0.4.6-beta → 0.4.6-beta.2

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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.6-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/sqlite-v0.4.6-beta.1...sqlite-v0.4.6-beta.2) (2025-11-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * **afs:** add basic AFS(AIGNE File System) support ([#505](https://github.com/AIGNE-io/aigne-framework/issues/505)) ([ac2a18a](https://github.com/AIGNE-io/aigne-framework/commit/ac2a18a82470a2f31c466f329386525eb1cdab6d))
9
+ * **memory:** support did space memory adapter ([#229](https://github.com/AIGNE-io/aigne-framework/issues/229)) ([6f69b64](https://github.com/AIGNE-io/aigne-framework/commit/6f69b64e98b963db9d6ab5357306b445385eaa68))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * bump version ([93a1c10](https://github.com/AIGNE-io/aigne-framework/commit/93a1c10cf35f88eaafe91092481f5d087bd5b3a9))
15
+ * **cli:** reduce memory usage of AIGNE CLI ([#411](https://github.com/AIGNE-io/aigne-framework/issues/411)) ([9c36969](https://github.com/AIGNE-io/aigne-framework/commit/9c369699d966d37abf2d6a1624eac3d2fda4123b))
16
+ * improve SQLite busy error handling and observability logging ([#545](https://github.com/AIGNE-io/aigne-framework/issues/545)) ([6dc8e06](https://github.com/AIGNE-io/aigne-framework/commit/6dc8e064231f3d6342036626591e89bff1ae5c08))
17
+ * **observability:** introduce TraceContext and improve delete UX ([#755](https://github.com/AIGNE-io/aigne-framework/issues/755)) ([dee54f1](https://github.com/AIGNE-io/aigne-framework/commit/dee54f1c548ed1046781e919f8c51a642b6b0dac))
18
+ * **sqlite:** auto-create parent directories for file-based databases ([#727](https://github.com/AIGNE-io/aigne-framework/issues/727)) ([581789f](https://github.com/AIGNE-io/aigne-framework/commit/581789f38d838f53396e9e41ce9367a486319c53))
19
+ * **sqlite:** improve WAL checkpoint and database cleanup ([#751](https://github.com/AIGNE-io/aigne-framework/issues/751)) ([85c7884](https://github.com/AIGNE-io/aigne-framework/commit/85c78849a8d2637349786c696d6eaa01f8c70fcf))
20
+
21
+ ## [0.4.6-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/sqlite-v0.4.6-beta...sqlite-v0.4.6-beta.1) (2025-11-18)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **observability:** introduce TraceContext and improve delete UX ([#755](https://github.com/AIGNE-io/aigne-framework/issues/755)) ([dee54f1](https://github.com/AIGNE-io/aigne-framework/commit/dee54f1c548ed1046781e919f8c51a642b6b0dac))
27
+
3
28
  ## [0.4.6-beta](https://github.com/AIGNE-io/aigne-framework/compare/sqlite-v0.4.5...sqlite-v0.4.6-beta) (2025-11-17)
4
29
 
5
30
 
@@ -36,13 +36,6 @@ PRAGMA synchronous = normal;
36
36
  PRAGMA wal_autocheckpoint = ${walAutocheckpoint};
37
37
  PRAGMA busy_timeout = 5000;
38
38
  `);
39
- try {
40
- await client.execute(`PRAGMA auto_vacuum = FULL;`);
41
- await client.execute(`VACUUM;`);
42
- }
43
- catch (e) {
44
- console.warn("auto_vacuum failed", e);
45
- }
46
39
  db = (0, libsql_1.drizzle)(client);
47
40
  }
48
41
  else {
@@ -59,13 +52,10 @@ PRAGMA busy_timeout = 5000;
59
52
  }
60
53
  db.clean = async () => {
61
54
  if (wal && client && typeof client.execute === "function") {
62
- try {
63
- await client.execute("PRAGMA wal_checkpoint(TRUNCATE);");
64
- await client.execute(`VACUUM;`);
65
- }
66
- catch (e) {
67
- console.error("wal checkpoint failed", e);
68
- }
55
+ await client.execute(`PRAGMA auto_vacuum = FULL;`);
56
+ await client.execute(`VACUUM;`);
57
+ await client.execute("PRAGMA wal_checkpoint(TRUNCATE);");
58
+ await client.execute(`VACUUM;`);
69
59
  }
70
60
  };
71
61
  return db;
@@ -19,13 +19,6 @@ PRAGMA synchronous = normal;
19
19
  PRAGMA wal_autocheckpoint = ${walAutocheckpoint};
20
20
  PRAGMA busy_timeout = 5000;
21
21
  `);
22
- try {
23
- await client.execute(`PRAGMA auto_vacuum = FULL;`);
24
- await client.execute(`VACUUM;`);
25
- }
26
- catch (e) {
27
- console.warn("auto_vacuum failed", e);
28
- }
29
22
  db = drizzle(client);
30
23
  }
31
24
  else {
@@ -42,13 +35,10 @@ PRAGMA busy_timeout = 5000;
42
35
  }
43
36
  db.clean = async () => {
44
37
  if (wal && client && typeof client.execute === "function") {
45
- try {
46
- await client.execute("PRAGMA wal_checkpoint(TRUNCATE);");
47
- await client.execute(`VACUUM;`);
48
- }
49
- catch (e) {
50
- console.error("wal checkpoint failed", e);
51
- }
38
+ await client.execute(`PRAGMA auto_vacuum = FULL;`);
39
+ await client.execute(`VACUUM;`);
40
+ await client.execute("PRAGMA wal_checkpoint(TRUNCATE);");
41
+ await client.execute(`VACUUM;`);
52
42
  }
53
43
  };
54
44
  return db;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/sqlite",
3
- "version": "0.4.6-beta",
3
+ "version": "0.4.6-beta.2",
4
4
  "description": "AIGNE SQLite database library for building AI-powered applications",
5
5
  "publishConfig": {
6
6
  "access": "public"