fix(core): set deprecation since to 1.3.3 to match release (#37200)

This commit is contained in:
Nick Hollon
2026-05-05 14:59:47 -04:00
committed by GitHub
parent c979c6187b
commit 55a7707837
3 changed files with 6 additions and 6 deletions

View File

@@ -398,7 +398,7 @@ class Reviver:
""" """
if allowed_objects is None: if allowed_objects is None:
warn_deprecated( warn_deprecated(
since="1.4.0", since="1.3.3",
message=( message=(
"The default value of `allowed_objects` will change in a future " "The default value of `allowed_objects` will change in a future "
"version. Pass an explicit value (e.g., " "version. Pass an explicit value (e.g., "
@@ -648,7 +648,7 @@ def loads(
""" """
if allowed_objects is None: if allowed_objects is None:
warn_deprecated( warn_deprecated(
since="1.4.0", since="1.3.3",
message=( message=(
"The default value of `allowed_objects` will change in a future " "The default value of `allowed_objects` will change in a future "
"version. Pass an explicit list of allowed classes (or " "version. Pass an explicit list of allowed classes (or "
@@ -781,7 +781,7 @@ def load(
""" """
if allowed_objects is None: if allowed_objects is None:
warn_deprecated( warn_deprecated(
since="1.4.0", since="1.3.3",
message=( message=(
"The default value of `allowed_objects` will change in a future " "The default value of `allowed_objects` will change in a future "
"version. Pass an explicit list of allowed classes (or " "version. Pass an explicit list of allowed classes (or "

View File

@@ -1291,7 +1291,7 @@ class Runnable(ABC, Generic[Input, Output]):
""" """
warn_deprecated( warn_deprecated(
since="1.4.0", since="1.3.3",
message=("astream_log is deprecated. Use astream instead."), message=("astream_log is deprecated. Use astream instead."),
removal="2.0.0", removal="2.0.0",
) )
@@ -1545,7 +1545,7 @@ class Runnable(ABC, Generic[Input, Output]):
) )
elif version == "v1": elif version == "v1":
warn_deprecated( warn_deprecated(
since="1.4.0", since="1.3.3",
message=( message=(
"astream_events version='v1' is deprecated. " "astream_events version='v1' is deprecated. "
"Use version='v2' or astream instead." "Use version='v2' or astream instead."

View File

@@ -322,7 +322,7 @@ class RunnableWithMessageHistory(RunnableBindingBase): # type: ignore[no-redef]
""" """
warn_deprecated( warn_deprecated(
since="1.4.0", since="1.3.3",
message=( message=(
"RunnableWithMessageHistory is deprecated. " "RunnableWithMessageHistory is deprecated. "
"Use LangGraph's built-in persistence instead." "Use LangGraph's built-in persistence instead."