@mastra/mongodb 1.12.0-alpha.0 → 1.12.0-alpha.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,14 @@
1
1
  # @mastra/mongodb
2
2
 
3
+ ## 1.12.0-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed `createExperiment` in the MongoDB store persisting `agentVersion` as `null` regardless of the input. `listExperiments` already accepts an `agentVersion` filter, but rows created by this backend would never match it. New experiments now round-trip `agentVersion` end-to-end. ([#18769](https://github.com/mastra-ai/mastra/pull/18769))
8
+
9
+ - Updated dependencies [[`6a61846`](https://github.com/mastra-ai/mastra/commit/6a61846eeda29fb714549b70f1bee2bf6b141c44)]:
10
+ - @mastra/core@1.49.0-alpha.4
11
+
3
12
  ## 1.12.0-alpha.0
4
13
 
5
14
  ### Minor Changes
@@ -3,7 +3,7 @@ name: mastra-mongodb
3
3
  description: Documentation for @mastra/mongodb. Use when working with @mastra/mongodb APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mongodb"
6
- version: "1.12.0-alpha.0"
6
+ version: "1.12.0-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.12.0-alpha.0",
2
+ "version": "1.12.0-alpha.1",
3
3
  "package": "@mastra/mongodb",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -15,7 +15,7 @@ var skills = require('@mastra/core/storage/domains/skills');
15
15
 
16
16
  // package.json
17
17
  var package_default = {
18
- version: "1.12.0-alpha.0"};
18
+ version: "1.12.0-alpha.1"};
19
19
  var MongoDBFilterTranslator = class extends filter.BaseFilterTranslator {
20
20
  getSupportedOperators() {
21
21
  return {
@@ -3362,7 +3362,7 @@ var MongoDBExperimentsStorage = class _MongoDBExperimentsStorage extends storage
3362
3362
  succeededCount: 0,
3363
3363
  failedCount: 0,
3364
3364
  skippedCount: 0,
3365
- agentVersion: null,
3365
+ agentVersion: input.agentVersion ?? null,
3366
3366
  startedAt: null,
3367
3367
  completedAt: null,
3368
3368
  createdAt: now,
@@ -3387,7 +3387,7 @@ var MongoDBExperimentsStorage = class _MongoDBExperimentsStorage extends storage
3387
3387
  succeededCount: 0,
3388
3388
  failedCount: 0,
3389
3389
  skippedCount: 0,
3390
- agentVersion: null,
3390
+ agentVersion: input.agentVersion ?? null,
3391
3391
  startedAt: null,
3392
3392
  completedAt: null,
3393
3393
  createdAt: now,