February 2026 deprecation wave
This page covers four deprecation categories that take effect in February 2026.
V2 SDK deprecation
The V2 SDK is being deprecated in favor of the V3 SDK. This involves several naming and architectural changes to make the API clearer and more consistent.
Key changes
Sessions → Threads
In V2, you worked with sessions to manage conversation history. In V3, these are now called threads.
Groups → Standalone Graphs
V2’s groups have been replaced with graphs in V3. The name “groups” was confusing, as these were actually arbitrary knowledge graphs that could hold any kind of knowledge. Using these to hold knowledge/context for a group of users was just one possible use case.
In V3, there are two types of graphs:
- User graphs: Automatically created for each user to store their personal knowledge
- Standalone graphs: Created explicitly via
graph.create(), functionally equivalent to V2 group graphs, used as arbitrary knowledge graphs for any purpose
Message role structure changes
The message role structure has been updated:
role_typeis now calledroleroleis now calledname
Removed session features
The following session-related methods have been removed:
session.end/sessions.end- No replacement needed, not necessary to end threads in Zepsession.classify- Feature removed, no replacementsession.extract- Feature removed, use external structured output servicessession.synthesize_question- Feature removed, no replacementsession.search/sessions.search/memory.search- Use the default context block or search the graph directly
Migration table
Python
TypeScript
Go
Fact rating deprecation
Fact ratings are being deprecated entirely. This includes:
- The
minRatingquery parameter - The
fact_rating_instructionfield on users, sessions, groups, and graphs - The
min_fact_ratingfield in graph search queries - Methods for retrieving facts directly by rating
What to use instead
For customizing what facts are extracted
Use custom ontology and/or custom user summary instructions to guide fact extraction. These provide more precise control over what information Zep extracts and stores.
For retrieving relevant facts
Use the default Zep context block via getUserContext / get_user_context, or create custom context templates. These methods return the most relevant facts based on semantic similarity, full text search, and graph-based search methods rather than an arbitrary rating threshold. Custom context templates allow filtering to the most relevant custom entity or edge types for your domain. See Retrieving Context for details.
Migration table
Mode parameter deprecation
The mode parameter on getUserContext / get_user_context is being deprecated. Previously this parameter could be set to “summary” or “basic” to control how context was returned. The summarization logic has been removed in favor of a fast, structured context format.
What to do
Remove the mode parameter from your getUserContext calls. The context block now returns a structured format with user summary and structured facts. See Retrieving Context for details on the new format.
Migration table
Python
TypeScript
Go
Min score parameter deprecation
The min_score parameter in graph search queries is being deprecated. This parameter was used to filter search results by a minimum relevance score threshold.
What to do
Remove the min_score parameter from your graph.search() calls. Zep returns a re-ranker score with search results that you can use to manually filter results if needed. However, there is no minimum re-ranker score parameter because the interpretation of the re-ranker score can vary dramatically depending on which re-ranker is used. For more information about re-ranker scores, see Searching the Graph - Reranker Score.
You should rely on the default relevance ranking rather than filtering by an arbitrary score threshold.