@mastra/libsql 0.11.3-alpha.1 → 0.12.0

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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/libsql@0.11.3-alpha.1 build /home/runner/work/mastra/mastra/stores/libsql
2
+ > @mastra/libsql@0.12.0-alpha.2 build /home/runner/work/mastra/mastra/stores/libsql
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.5.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 10968ms
9
+ TSC ⚡️ Build success in 11299ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/libsql/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/stores/libsql/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 13655ms
16
+ DTS ⚡️ Build success in 13925ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- CJS dist/index.cjs 90.83 KB
21
- CJS ⚡️ Build success in 2374ms
22
20
  ESM dist/index.js 89.73 KB
23
- ESM ⚡️ Build success in 2376ms
21
+ ESM ⚡️ Build success in 2269ms
22
+ CJS dist/index.cjs 90.83 KB
23
+ CJS ⚡️ Build success in 2269ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,64 @@
1
1
  # @mastra/libsql
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f42c4c2: update peer deps for packages to latest core range
8
+
9
+ ### Patch Changes
10
+
11
+ - 24ac5ff: dependencies updates:
12
+ - Updated dependency [`@libsql/client@^0.15.10` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.10) (from `^0.15.9`, in `dependencies`)
13
+ - ff9c125: enhance thread retrieval with sorting options in libsql and pg
14
+ - a3ca14c: `LibSQLVector.doUpsert`: check if transaction is open before attempting rollback
15
+ - b8efbb9: feat: add flexible deleteMessages method to memory API
16
+ - Added `memory.deleteMessages(input)` method that accepts multiple input types:
17
+ - Single message ID as string: `deleteMessages('msg-123')`
18
+ - Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
19
+ - Message object with id property: `deleteMessages({ id: 'msg-123' })`
20
+ - Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
21
+ - Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
22
+ - Added REST API endpoint: `POST /api/memory/messages/delete`
23
+ - Updated client SDK: `thread.deleteMessages()` accepts all input types
24
+ - Updates thread timestamps when messages are deleted
25
+ - Added comprehensive test coverage and documentation
26
+
27
+ - Updated dependencies [510e2c8]
28
+ - Updated dependencies [2f72fb2]
29
+ - Updated dependencies [27cc97a]
30
+ - Updated dependencies [3f89307]
31
+ - Updated dependencies [9eda7d4]
32
+ - Updated dependencies [9d49408]
33
+ - Updated dependencies [41daa63]
34
+ - Updated dependencies [ad0a58b]
35
+ - Updated dependencies [254a36b]
36
+ - Updated dependencies [2ecf658]
37
+ - Updated dependencies [7a7754f]
38
+ - Updated dependencies [fc92d80]
39
+ - Updated dependencies [e0f73c6]
40
+ - Updated dependencies [0b89602]
41
+ - Updated dependencies [4d37822]
42
+ - Updated dependencies [23a6a7c]
43
+ - Updated dependencies [cda801d]
44
+ - Updated dependencies [a77c823]
45
+ - Updated dependencies [ff9c125]
46
+ - Updated dependencies [09bca64]
47
+ - Updated dependencies [b8efbb9]
48
+ - Updated dependencies [71466e7]
49
+ - Updated dependencies [0c99fbe]
50
+ - @mastra/core@0.12.0
51
+
52
+ ## 0.12.0-alpha.2
53
+
54
+ ### Minor Changes
55
+
56
+ - f42c4c2: update peer deps for packages to latest core range
57
+
58
+ ### Patch Changes
59
+
60
+ - @mastra/core@0.12.0-alpha.5
61
+
3
62
  ## 0.11.3-alpha.1
4
63
 
5
64
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/libsql",
3
- "version": "0.11.3-alpha.1",
3
+ "version": "0.12.0",
4
4
  "description": "Libsql provider for Mastra - includes both vector and db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,12 +29,12 @@
29
29
  "tsup": "^8.5.0",
30
30
  "typescript": "^5.8.3",
31
31
  "vitest": "^3.2.4",
32
- "@internal/lint": "0.0.23",
33
- "@mastra/core": "0.12.0-alpha.2",
34
- "@internal/storage-test-utils": "0.0.19"
32
+ "@internal/lint": "0.0.24",
33
+ "@internal/storage-test-utils": "0.0.20",
34
+ "@mastra/core": "0.12.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@mastra/core": ">=0.10.7-0 <0.12.0-0"
37
+ "@mastra/core": ">=0.12.0-0 <0.13.0-0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",