ts-v3.0.12

tremorlabs/tremorts-v3.0.12Jun 27, 2026by whysosaket

AI Summary

Mem0 Node SDK v3.0.12 introduces new LLM providers (MiniMax, LiteLLM), adds expiration date support for memory management, and improves PostgreSQL vector store connections.

Key Highlights

  • New MiniMaxLLM provider with OpenAI-compatible API
  • New LiteLLM provider for proxy routing
  • Added expirationDate and showExpired options to search and memory interfaces
  • Added connection string support to PGVector config

New Features

  • expirationDate support in AddMemoryOptions
  • showExpired option in SearchMemoryOptions
  • MiniMaxLLM provider
  • LiteLLM provider
  • PGVector connection string and SSL options

Full Release Notes

## Mem0 Node SDK (v3.0.12)

**New Features:**
- **Client:** Add `expirationDate` to `AddMemoryOptions`, `update()`, and the `Memory` interface; add `showExpired` to `SearchMemoryOptions` and `GetAllMemoryOptions` ([#5874](https://github.com/mem0ai/mem0/pull/5874))
- **LLMs:** Add `MiniMaxLLM` provider backed by the OpenAI-compatible MiniMax API (`api.minimax.io/v1`, default model `MiniMax-M2.7`) ([#5858](https://github.com/mem0ai/mem0/pull/5858))
- **LLMs:** Add `LiteLLM` provider for routing requests through a local or hosted LiteLLM proxy ([#5830](https://github.com/mem0ai/mem0/pull/5830))
- **Vector Stores:** Add `connectionString` and `ssl` options to the PGVector config, allowing connection via URI instead of individual host/user/password/port fields ([#5789](https://github.com/mem0ai/mem0/pull/5789))

**Bug Fixes:**
- **Memory (OSS):** Validate and trim entity IDs (`userId`, `agentId`, `runId`) in `deleteAll()` via `validateAndTrimEntityId` ([#5735](https://github.com/mem0ai/mem0/pull/5735))
- **Vector Stores:** Use nullish coalescing for `hash` and timestamps in the Redis `insert()` and `update()` paths so entity payloads that omit those fields no longer crash ([#5860](https://github.com/mem0ai/mem0/pull/5860))

**Security:**
- **Dependencies:** Bump `undici` to `>=6.27.0` via pnpm override to remediate CVE-2026-12151 ([#5861](https://github.com/mem0ai/mem0/pull/5861))