chore: Flip default in BaseCache

This commit is contained in:
William Fu-Hinthorn
2025-12-09 15:06:38 -08:00
parent 4d01e69b82
commit 84c00a0da3
6 changed files with 463 additions and 364 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ wheels = [
[[package]]
name = "langgraph-checkpoint"
version = "3.0.1"
version = "4.0.0"
source = { editable = "../checkpoint" }
dependencies = [
{ name = "langchain-core" },
+1 -1
View File
@@ -246,7 +246,7 @@ wheels = [
[[package]]
name = "langgraph-checkpoint"
version = "3.0.1"
version = "4.0.0"
source = { editable = "../checkpoint" }
dependencies = [
{ name = "langchain-core" },
+1 -1
View File
@@ -15,7 +15,7 @@ FullKey = tuple[Namespace, str]
class BaseCache(ABC, Generic[ValueT]):
"""Base class for a cache."""
serde: SerializerProtocol = JsonPlusSerializer(pickle_fallback=True)
serde: SerializerProtocol = JsonPlusSerializer(pickle_fallback=False)
def __init__(self, *, serde: SerializerProtocol | None = None) -> None:
"""Initialize the cache with a serializer."""
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "langgraph-checkpoint"
version = "3.0.1"
version = "4.0.0"
description = "Library with base interfaces for LangGraph checkpoint savers."
authors = []
requires-python = ">=3.10"
+458 -359
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -355,7 +355,7 @@ test = [
[[package]]
name = "langgraph-checkpoint"
version = "3.0.1"
version = "4.0.0"
source = { editable = "../checkpoint" }
dependencies = [
{ name = "langchain-core" },