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

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **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))
9
+
3
10
  ## [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
11
 
5
12
 
@@ -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.1",
4
4
  "description": "AIGNE SQLite database library for building AI-powered applications",
5
5
  "publishConfig": {
6
6
  "access": "public"