ts-v3.0.3

mem0ai/mem0ts-v3.0.3May 7, 2026by whysosaket

AI Summary

Bug fixes in Node SDK including telemetry identity stitching, PGVector vector distance fix, security hardening, and new decay configuration option.

Key Highlights

  • Telemetry: Stitch OSS and platform PostHog identities on MemoryClient init so $identify events fire
  • Vector Stores: Fix inverted vector distance in PGVector implementation
  • Security: Harden against SQL injection and prompt injection
  • SDK: Expose `decay` on `project.update`

New Features

  • Expose decay on project.update

Full Release Notes

## Mem0 Node SDK (v3.0.3)

**Bug Fixes:**
- **Telemetry:** Stitch OSS and platform PostHog identities on `MemoryClient` init so `$identify` events fire and a single user is no longer tracked as two or three disconnected personas ([#5040](https://github.com/mem0ai/mem0/pull/5040))
- **Vector Stores:** Fix inverted vector distance in PGVector implementation ([#4944](https://github.com/mem0ai/mem0/pull/4944))
- **Security:** Harden against SQL injection and prompt injection ([#4997](https://github.com/mem0ai/mem0/pull/4997))

**New Features:**
- **SDK:** Expose `decay` on `project.update` ([#5062](https://github.com/mem0ai/mem0/pull/5062))