Changelog
@mastra/core@1.0.0-beta.18
Patch Changes
-
Fixed semantic recall fetching all thread messages instead of only matched ones. (#11435)
When using
semanticRecallwithscope: 'thread', the processor was incorrectly fetching all messages from the thread instead of just the semantically matched messages with their context. This caused memory to return far more messages than expected whentopKandmessageRangewere set to small values.Fixes #11428
@mastra/observability@1.0.0-beta.9
Patch Changes
-
Fix SensitiveDataFilter destroying Date objects (#11437)
The
deepFiltermethod now correctly preservesDateobjects instead of converting them to empty objects{}. This fixes issues with downstream exporters likeBraintrustExporterthat rely onDatemethods likegetTime().Previously,
Object.keys(new Date())returned[], causing Date objects to be incorrectly converted to{}. The fix adds an explicit check forDateinstances before generic object processing.
Full Changelog: 3d9c9fb