@mastra/cloudflare 1.3.3 → 1.4.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @mastra/cloudflare
2
2
 
3
+ ## 1.4.0-alpha.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added favorites support to storage adapters so callers can favorite/unfavorite stored agents and skills, query favorite state alongside list results, and filter listings by visibility. ([#16580](https://github.com/mastra-ai/mastra/pull/16580))
8
+
9
+ **Example**
10
+
11
+ ```ts
12
+ const storage = new LibSQLStore({
13
+ /* config */
14
+ });
15
+ const favorites = await storage.getStore('favorites');
16
+
17
+ await favorites?.favorite({
18
+ userId: 'user-1',
19
+ entityType: 'agent',
20
+ entityId: 'agent-42',
21
+ });
22
+ ```
23
+
24
+ ### Patch Changes
25
+
26
+ - Bumped `@mastra/core` peer dependency floor to `>=1.34.0-0` so the new `@mastra/core/storage/domains/favorites` subpath is available. Older `@mastra/core` versions don't ship the `FavoritesStorage` base class these adapters now extend. ([#16580](https://github.com/mastra-ai/mastra/pull/16580))
27
+
28
+ - Updated dependencies [[`816b974`](https://github.com/mastra-ai/mastra/commit/816b974b424e4a1bfae3af30cc41263b6f1c0344), [`816b974`](https://github.com/mastra-ai/mastra/commit/816b974b424e4a1bfae3af30cc41263b6f1c0344), [`b32ba5f`](https://github.com/mastra-ai/mastra/commit/b32ba5fde524b46a4ff1bdf38e30d62a2bb29b04)]:
29
+ - @mastra/core@1.35.0-alpha.2
30
+
3
31
  ## 1.3.3
4
32
 
5
33
  ### Patch Changes
@@ -2416,5 +2416,5 @@ exports.CloudflareStore = CloudflareStore;
2416
2416
  exports.MemoryStorageCloudflare = MemoryStorageCloudflare;
2417
2417
  exports.ScoresStorageCloudflare = ScoresStorageCloudflare;
2418
2418
  exports.WorkflowsStorageCloudflare = WorkflowsStorageCloudflare;
2419
- //# sourceMappingURL=chunk-EQABRF2C.cjs.map
2420
- //# sourceMappingURL=chunk-EQABRF2C.cjs.map
2419
+ //# sourceMappingURL=chunk-FKPQX2PY.cjs.map
2420
+ //# sourceMappingURL=chunk-FKPQX2PY.cjs.map